tasks:scheduled-maintenance
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tasks:scheduled-maintenance [2017/12/21 21:06] – [Frequency/Timing] djgalloway | tasks:scheduled-maintenance [2018/04/03 21:30] (current) – djgalloway | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Frequency/ | ===== Frequency/ | ||
| - | The PnT Labs team has scheduled monthly maintenance on the second Friday of every month. | + | The PnT Labs team has scheduled monthly maintenance on the second Friday of every month. |
| Maintenance should not disrupt testing cycles when an upstream release is imminent. | Maintenance should not disrupt testing cycles when an upstream release is imminent. | ||
| Line 13: | Line 13: | ||
| ===== Maintenance Matrix ===== | ===== Maintenance Matrix ===== | ||
| - | ^ Service ^ Disrupts Community ^ Disrupts Developers ^ Backups ^ Ansible ^ HA ^ Failover ^ Risk ^ Stakeholders ^ Applications ^ SME ^ Other Notes ^ | + | ^ Service |
| - | |www.ceph.com | Yes | No | Yes | Some | OVH | No | Medium | Wordpress | lvaz, Age of Peers | | | + | | www.ceph.com |
| - | |download.ceph.com | Yes | Yes | Yes | Most | OVH | No | Medium | All | Nginx | dgalloway | | | + | | download.ceph.com |
| - | |tracker.ceph.com | Yes | Yes | Yes | No | OVH | No | High | All | Redmine | dgalloway, | + | | tracker.ceph.com |
| - | |docs.ceph.com | Yes | No | Yes | Some | OVH | No | Low | Nginx | dgalloway | | | + | | docs.ceph.com |
| - | |chacra.ceph.com | No | Yes | Yes | Yes | OVH | No | Low | Release team, Core devs? | chacra, celery, postgres, nginx | dgalloway, | + | | chacra.ceph.com |
| - | |chacra dev instances | No | Yes | No | Yes | OVH | Yes | Low | Devs | chacra, celery, postgres, nginx | dgalloway, | + | | chacra dev instances |
| - | |shaman | No | Yes | No | Yes | OVH | Yes | Medium | Devs | shaman, ? | dgalloway, | + | | shaman |
| - | |{apt-mirror, | + | | {apt-mirror, |
| - | |jenkins{2}.ceph.com | Yes | Yes | Some | Yes | OVH | No | Medium | Devs | Jenkins, mita, celery, nginx | dgalloway, | + | | jenkins{2}.ceph.com |
| - | |prado.ceph.com | Could | Could | No | Yes | OVH | No | Low | Devs | prado, nginx | dgalloway, | + | | prado.ceph.com |
| - | |git.ceph.com | Yes? | Yes | No | Yes | RHEV | No | Medium | Devs, others? | git, git-daemon, apache | dgalloway, | + | | git.ceph.com |
| - | |teuthology VM | No | Yes | Some | Most | RHEV | No | Low | Devs | Teuthology | dgalloway, | + | | teuthology VM |
| - | |pulpito.front | No | Not really | No | Yes | No | No | Medium | QE? | pulpito | zack | Relies on paddles. | + | | pulpito.front |
| - | |paddles.front | No | Yes | Yes | Yes | No | No | Medium | Devs | paddles | dgalloway, | + | | paddles.front |
| - | |Cobbler | No | No | No | Yes | RHEV | No | Low | dgalloway | Cobbler, apache | dgalloway | Really only needed for creating FOG images | | + | | Cobbler |
| - | |conserver.front | No | Yes? | Some | No | RHEV | No | Low | Devs | conserver | dgalloway | | | + | | conserver.front |
| - | |DHCP (store01) | No | Yes | Yes | No | No | No | Medium | Devs | dhcpd | dgalloway | | | + | | DHCP (store01) |
| - | |DNS | Could | Yes | N/A | Yes | RHEV/OVH | Not currently | + | | DNS |
| - | |FOG | No | Yes | No | Little | + | | FOG |
| - | |LRC | No | Could | No | No | Yes | Ish | Medium | Devs | ceph | dgalloway, | + | | LRC |
| - | |gw.sepia.ceph.com | Could | Yes | Yes | Yes | RHEV | No | Medium | All | openvpn, nginx | dgalloway | | | + | | gw.sepia.ceph.com |
| - | |RHEV | No | Could | Yes | No | Yes | Ish | Medium | All | RHEV, gluster | dgalloway | Packages are a mix between CentOS gluster and RHGS | | + | | RHEV | No | Could | Yes | No | Yes |
| - | |Gluster | No | Could | No | No | Yes | Ish | Medium | All | Gluster | dgalloway | RHGS compatibility must remain aligned with RHEV version | | + | | Gluster |
| + | ===== Scheduled Maintenance Plans ===== | ||
| + | ==== CI Infrastructure Procedure ==== | ||
| + | Updating the dev chacra nodes ({1..5}.chacra.ceph.com) has little chance to affect upstream teuthology testing except while the chacra service is redeployed or a host is rebooted. | ||
| + | |||
| + | - Notify ceph-devel@ | ||
| + | - Log into each Jenkins instance, **Manage Jenkins** -> **Prepare for Shutdown** | ||
| + | - Again in Jenkins, go to **Manage Jenkins** -> **Manage Plugins** | ||
| + | - Select **All** at the bottom and click **Download now and install after restart** | ||
| + | - Wait for all jobs to finish and make sure plugins are downloaded | ||
| + | - Once all jobs are completed, ssh to each Jenkins instance | ||
| + | - Updating the jenkins package or rebooting will restart the service so: | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - Reboot the host so you're running the latest kernel | ||
| + | - **Update Slaves** | ||
| + | - ssh to each static smithi slave (smithi{119..128} | ||
| + | - ssh to each slave-{centos, | ||
| + | - Put each irvingi node in Maintenance mode under the **Hosts** tab in the [[https:// | ||
| + | - In the RHEV Web UI, highlight each irvingi host and click **Update** | ||
| + | - Bring slave-{centos, | ||
| + | - Make sure all static slaves reconnect to Jenkins | ||
| + | - **Update chacra, mita, shaman, prado** | ||
| + | - If no service redeploy is needed for chacra, shaman, or mita, just ssh to each of those hosts and '' | ||
| + | - If a redeploy is needed, see each service' | ||
| + | - Once all the other CI hosts are up to date, update each Jenkins instance: '' | ||
| + | - This should restart Jenkins but if it doesn' | ||
| + | - '' | ||
| + | - Spot check a few jobs to make sure all plugins are working properly | ||
| + | - You can check this by commenting '' | ||
| + | - Make sure the Github hooks are working (Was a job triggered? When the job finishes, does it update the status in the PR?) | ||
| + | - Make sure postbuild scripts are running when they' | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Public Facing Sites Procedure ==== | ||
| + | === tracker.ceph.com and www.ceph.com === | ||
| + | For the most part, these hosts' packages can be updated and hosts rebooted whenever. | ||
| + | |||
| + | == Post-update Tasks == | ||
| + | * Log in to tracker.ceph.com and modify a bug | ||
| + | * Spot check a few pages on www.ceph.com | ||
| + | * Log in to www.ceph.com if you have a login to wordpress | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === docs.ceph.com === | ||
| + | As long as there isn't a [[https:// | ||
| + | |||
| + | == Post-update Tasks == | ||
| + | * Does http:// | ||
| + | * Is the host reattached as a slave in [[https:// | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === download.ceph.com === | ||
| + | Rebooting this host is disruptive to upstream testing and should be part of a planned pre-announced outage to the ceph-users and ceph-devel mailing lists. | ||
| + | |||
| + | == Post-update Tasks == | ||
| + | * Does https:// | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== Sepia Lab Procedure ==== | ||
| + | - Send a planned outage notice to sepia at lists dot ceph.com | ||
| + | - [[services: | ||
| + | - Wait for there to be no jobs running. | ||
| + | - If you don't want to wait: | ||
| + | - Ask Yuri if '' | ||
| + | - Ask individual devs if their runs can be killed | ||
| + | - Kill idle workers< | ||
| + | ssh teuthology.front.sepia.ceph.com | ||
| + | sudo su - teuthworker | ||
| + | bin/ | ||
| + | </ | ||
| + | - Once there are no jobs running and no workers ('' | ||
| + | - Update packages on teuthology.front.sepia.ceph.com | ||
| + | - '' | ||
| + | - Update and reboot: | ||
| + | - labdashboard.front.sepia.ceph.com | ||
| + | - circle.front.sepia.ceph.com | ||
| + | - cobbler.front.sepia.ceph.com | ||
| + | - conserver.front.sepia.ceph.com | ||
| + | - drop.ceph.com | ||
| + | - git.ceph.com | ||
| + | - fog.front.sepia.ceph.com | ||
| + | - ns1.front.sepia.ceph.com | ||
| + | - ns2.front.sepia.ceph.com | ||
| + | - nsupdate.front.sepia.ceph.com | ||
| + | - vpn-pub.ovh.sepia.ceph.com | ||
| + | - satellite.front.sepia.ceph.com | ||
| + | - sentry.front.sepia.ceph.com | ||
| + | - pulpito.front.sepia.ceph.com | ||
| + | - Finally, update and reboot gw.sepia.ceph.com ((See [[services: | ||
| + | |||
| + | === Sepia Lab Post Maintenance Tasks === | ||
| + | - '' | ||
| + | - Log in to [[https:// | ||
| + | - '' | ||
| + | - '' | ||
| + | - Does git.ceph.com load? Is it up to date? | ||
| + | - Log in to [[http:// | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - Run ceph-cm-ansible against that host and verify it subscribes to Satellite and can yum update | ||
| + | - Does http:// | ||
| + | - Does http:// | ||
| + | - Verify all the reverse proxies in ''/ | ||
| + | |||
| + | Finally, once all post-maintenance tasks are complete,< | ||
| + | ssh teuthology.front.sepia.ceph.com | ||
| + | sudo su - teuthworker | ||
| + | bin/ | ||
| + | ^D^D | ||
| + | </ | ||
| + | |||
| + | Check how many running workers there should be in ''/ | ||
| + | |||
| + | ===== Boilerplate Outage Notices ===== | ||
| + | ==== CI ==== | ||
| + | < | ||
| + | Hi All, | ||
| + | |||
| + | A scheduled maintenance of the CI Infrastructure is planned for YYYY-MM-DD at HH:MM UTC. | ||
| + | |||
| + | We will be updating and rebooting the following hosts: | ||
| + | jenkins.ceph.com | ||
| + | 2.jenkins.ceph.com | ||
| + | chacra.ceph.com | ||
| + | {1..5}.chacra.ceph.com | ||
| + | shaman.ceph.com | ||
| + | 1.shaman.ceph.com | ||
| + | 2.shaman.ceph.com | ||
| + | |||
| + | This means: | ||
| + | - Jenkins will be paused and stop processing new jobs so PR checks will be delayed | ||
| + | - Once there are no jobs running, all hosts will be updated and rebooted | ||
| + | - Repos on chacra nodes will be temporarily unavailable | ||
| + | |||
| + | Let me know if you have any questions/ | ||
| + | |||
| + | Thanks, | ||
| + | </ | ||
| + | |||
| + | ==== Sepia Lab ==== | ||
| + | < | ||
| + | Hi All, | ||
| + | |||
| + | A scheduled maintenance of the Sepia Lab Infrastructure is planned for YYYY-MM-DD at HH:MM UTC. | ||
| + | |||
| + | We will be updating and rebooting the following hosts: | ||
| + | teuthology.front.sepia.ceph.com | ||
| + | labdashboard.front.sepia.ceph.com | ||
| + | circle.front.sepia.ceph.com | ||
| + | cobbler.front.sepia.ceph.com | ||
| + | conserver.front.sepia.ceph.com | ||
| + | fog.front.sepia.ceph.com | ||
| + | ns1.front.sepia.ceph.com | ||
| + | ns2.front.sepia.ceph.com | ||
| + | nsupdate.front.sepia.ceph.com | ||
| + | vpn-pub.ovh.sepia.ceph.com | ||
| + | satellite.front.sepia.ceph.com | ||
| + | sentry.front.sepia.ceph.com | ||
| + | pulpito.front.sepia.ceph.com | ||
| + | drop.ceph.com | ||
| + | git.ceph.com | ||
| + | gw.sepia.ceph.com | ||
| + | |||
| + | This means: | ||
| + | - teuthology workers will be instructed to die and new jobs will not be started until the maintenance is complete | ||
| + | - DNS may be temporarily unavailable | ||
| + | - All aforementioned hosts will be temporarily unavailable for a brief time | ||
| + | - Your VPN connection will need to be restarted | ||
| + | |||
| + | I will send a follow-up "all clear" e-mail as a reply to this one once the maintenance is complete. | ||
| + | |||
| + | Let me know if you have any questions/ | ||
| + | |||
| + | Thanks, | ||
| + | </ | ||
tasks/scheduled-maintenance.1513890398.txt.gz · Last modified: by djgalloway
