aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-02-25Merge "Upgrade nova-api/scheduler/conductor packages at step3 not step2." ↵Jenkins4-11/+4
into stable/ocata
2017-02-24Upgrade nova-api/scheduler/conductor packages at step3 not step2.Sofer Athlan-Guyot4-11/+4
The nova-api, nova-scheduler nova-conductor packages are updated during step2. The package upgrade trigger a restart of the service which fails and is constantly retried by systemd: Feb 24 12:34:24 centos-7-2-node-rax-iad-7463943-440549 systemd[1]: Failed to start OpenStack Nova Scheduler Server. Feb 24 12:34:24 centos-7-2-node-rax-iad-7463943-440549 systemd[1]: Unit openstack-nova-scheduler.service entered failed state. Feb 24 12:34:24 centos-7-2-node-rax-iad-7463943-440549 systemd[1]: openstack-nova-scheduler.service failed. Feb 24 12:34:24 centos-7-2-node-rax-iad-7463943-440549 systemd[1]: openstack-nova-scheduler.service holdoff time over, scheduling restart. We eventually reach timeout. We use https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/tripleo-packages.yaml#L44-L46 to upgrade existing packages. Add a note to the README.rst to make people aware of the general upgrade done at step3 and limit its usage to new package for individual service. Change-Id: I13b51bcfe0c98034944613f7e1c3f0168cd4de76 Closes-Bug: #1667728 (cherry picked from commit 5593877817b332bd7a650f051cff5f5988ab1e54)
2017-02-24Add checks in ansible upgrade tasks for CephMon and CephOSDGiulio Fidente4-23/+78
Adds two checks, one for the CephMon and one for the CephOSD upgrade tasks borrowed from ceph-ansible. Change-Id: I0a0e60d277240130c6bd76a74ccc13354b87a30a Co-Authored-By: Sebastien Han <seb@redhat.com> (cherry picked from commit a3df16776dd5d7eb0a60ca4c58cef9913eb1c5cb)
2017-02-24Add release notes for Manila/CephFS with managed CephGiulio Fidente1-0/+11
Previously we could only configure Manila/CephFS with an externally managed Ceph cluster. By adding CephMDS users can use the TripleO managed Ceph cluster as well. Change-Id: If714076e34a639c3df54936f335da4f2684b4533 (cherry picked from commit 9b70330a150b363c31b952867819e48830a10817)
2017-02-23Merge "Increase ansible-pacemaker default service start timeout" into ↵Jenkins1-1/+1
stable/ocata
2017-02-23Merge "Update ci environment for multinode jobs to support Ceph" into ↵Jenkins1-0/+6
stable/ocata
2017-02-23Merge "multinode/upgrade: add nova services to environment" into stable/ocataJenkins1-0/+7
2017-02-23Increase ansible-pacemaker default service start timeoutmarios1-1/+1
We are passing 200 but in some environments this has been seen to expire by a few seconds. Change-Id: I5c2270559339ea9ee0043b7a2e519e26d4d9d78a Closes-Bug: 1666604 (cherry picked from commit 8448c92203596ca578f85bdd7ffc96dd79adfe3e)
2017-02-23Re-add the disable_upgrade_deployment note in roles_data.yamlmarios1-0/+4
This was accidentally removed in If581f301a5493ef33ac1386bdc22f9fca4f2544e looks like Change-Id: I0e2c4fe664daca5c50921673db067701195c501f (cherry picked from commit f3772c6b0ab5550fc80c53b624d780a04545fbc6)
2017-02-23Merge "Add step0,validation checks for heat services" into stable/ocataJenkins4-4/+4
2017-02-22Merge "Make the DB URIs host-independent for all services" into stable/ocataJenkins32-43/+65
2017-02-22Update ci environment for multinode jobs to support CephGiulio Fidente1-0/+6
Adds the CephMon and CephOSD services on the Controller role so that we can test Ceph if the services are enabled via registry. Change-Id: I73ee5380b88bf7643ba425a0c833922e330ecade (cherry picked from commit 54438d35adc1d9e64f1b9c33793a58ddc181d31a)
2017-02-21Increase apache ServerLimit and workers to 100Sagi Shnaidman1-2/+2
Increase apache serverlimit and maxrequestworkers to 100 in low-memory-usage template. We have been reaching the limit with all the OpenStack services that we run in WSGI. Increasing the number will help us to promote packages in TripleO CI. Change-Id: I3f71f279a8dfaee9db5f5d1091ad079d9170de1f (cherry picked from commit 99f0b84983e8769bf975060fbf392cc1a8a28057)
2017-02-21Enable panko service by default on overcloudPradeep Kilambi1-1/+1
There are other applications still relying on panko and not enabling by default is causing integration concerns. Closes-bug: #1666619 Change-Id: I615694ca5f5a04fef4b0098c8083fb43432bb81f (cherry picked from commit 161cd3cbe3b7b01bfa31dbca1a2f60284155cef7)
2017-02-21Add step0,validation checks for heat servicesmarios4-4/+4
These are currently commented out because we were waiting for I7612189be49c9c07f64753c1be4b72aa8524d06d to enable these in the ci upgrades job. Change-Id: I07bc0c2af0b227416470e23ad42f3a9aae430271 (cherry picked from commit 5d33537c0d27617a148784296483f92215c81adb)
2017-02-20Stop nova-api before upgrading packageOliver Walsh1-3/+3
If the service is running then the rpm upgrade will attempt to restart. Ensuring the service is stopped before upgrade should resolve this. Change-Id: I4179cb773616721640490d26082eacac45f92dff Closes-Bug: 1665717 (cherry picked from commit 10ba1fa6068978d5779da4b3c6966d73e893a7e5)
2017-02-20Make the DB URIs host-independent for all servicesMichele Baldessari32-43/+65
When fixing LP#1643487 we added ?bind_address to all DB URIs. Since this clashes with Cellsv2 due to the URIs becoming host dependent, we need a new approach to pass bind_address to pymysql that leaves the DB URIs host-independent. In change Iff8bd2d9ee85f7bb1445aa2e1b3cfbff1f397b18 we first create a /etc/my.cnf.d/tripleo.cnf file with a [tripleo] section with the correct bind-address option. In this change we make sure that the DB URIs will point to the added file and to the specific section containing the necessary bind-address option. We do introduce a new MySQLClient profile which will hold all this more client-specific configuration so that this change can fit better in the composable roles work. Also, in the future it might contain the necessary configuration for SSL for example. Note that in case the /etc/my.cnf.d/tripleo.cnf file does not exist (because it is created via the mysqlclient profile), things keep on working as usual and the bind-address option simply won't be set, which has no impact on hosts where there are no VIPs. Co-Authored-By: Damien Ciabrini <dciabrin@redhat.com> Change-Id: Ieac33efe38f32e949fd89545eb1cd8e0fe114a12 Related-Bug: #1643487 Closes-Bug: #1663181 Closes-Bug: #1664524 Depends-On: Iff8bd2d9ee85f7bb1445aa2e1b3cfbff1f397b18 (cherry picked from commit 90431683b5927abb066d7964d513828b5488001c)
2017-02-20multinode/upgrade: add nova services to environmentEmilien Macchi1-0/+7
Add Nova services to the environment that deploys the upgrade Ci job. Change-Id: I4b98b433e5c56a35e42ba34c2f2e663a4cb79580
2017-02-18Switch to net-config-multinodeEmilien Macchi4-8/+8
Because of this bug: https://bugs.launchpad.net/tripleo/+bug/1661412 We are unable to upgrade from Newton. Until we figure this out, let's re-enable the previous SoftwareConfig. Change-Id: I966b96c50224656b152045c97aa23b9495618a18 (cherry picked from commit 4061dfe790f2614f253a6f0e14bf3dd056e20ce1)
2017-02-18Merge "Apply post-upgrade step to not run puppet in post upgrade" into ↵Jenkins1-1/+1
stable/ocata
2017-02-17Merge "Apply puppet in non-controller script in step." into stable/ocataJenkins3-3/+36
2017-02-17Merge "Deploy Manila with CephMDS in scenario004" into stable/ocataJenkins3-8/+43
2017-02-17Merge "Automatically backup and restore Swift rings from the undercloud" ↵Jenkins4-0/+94
into stable/ocata
2017-02-17Merge "Add explicit swift check to tripleo_upgrade_node.sh" into stable/ocataJenkins1-4/+11
2017-02-17Add explicit swift check to tripleo_upgrade_node.shmarios1-4/+11
And change the conditional to use hiera instead. Change-Id: Icf91dd91c0ab04e7919172fcfd130183bfd427b4 (cherry picked from commit d8e75b220efec3b17a76bed6898327784fb4e6cc)
2017-02-17Deploy Manila with CephMDS in scenario004Giulio Fidente3-8/+43
Adds the Manila and CephMDS services into scenario004 and a few resources in the pingtest to test the Manila deployment. Also adds Pacemaker to scenario004 which is needed for ManilaShare. Co-Authored-By: jprovazn@redhat.com Change-Id: I70515c5b9ce2668a684649ecd40421b69078ee83 Related-Bug: #1644784 (cherry picked from commit db58ec86c748a99efb427a8b37ee4a514f7acdaf)
2017-02-17Apply puppet in non-controller script in step.Sofer Athlan-Guyot3-3/+36
We want to apply a puppet manifest for the non-controller role, but we need to apply it in stages. By loading the proper hieradata we get the needed step configuration. Change-Id: I07bfeee7b7d9a9b8c2c20e5d5c9ed735d0bfc842 Closes-Bug: #1664304 (cherry picked from commit 237cd2004a2c0869d60d0e11e9dccd59e809ff90)
2017-02-17Automatically backup and restore Swift rings from the undercloudChristian Schwede4-0/+94
Swift rings created or updated on the overcloud nodes will now be stored on the undercloud at the end of the deployment. An additional consistency check is executed before storing them, ensuring all rings within the cluster are identical. These rings will be retrieved (before Puppet runs) by every node when an UPDATE is executed, and by doing this will be in a consistent state across the cluster. This makes it possible to add, remove or replace nodes in an existing cluster without manual operator interaction. Closes-Bug: 1609421 Depends-On: Ic3da38cffdd993c768bdb137c17d625dff1aa372 Change-Id: I758179182265da5160c06bb95f4c6258dc0edcd6 (cherry picked from commit b323f8a16035549d84cdec4718380bde3d23d6c3)
2017-02-17Add Newton to Ocata UpgradeInitCommonCommandmarios8-1/+66
This adds the UpgradeInitCommonCommand for newton..ocata common UpgradeInit commands. This comes before the ansible upgrade steps so we need to do things like remove the old newton hieradata and install the ansible-pacemaker module and ansible heat-agent plugin This defaults to '' and is set in the major-upgrade-composable-steps and unset in the major-upgrade-converge environment files. Change-Id: I0c7a32194c0069b63a501a913c17907b47c9cc16 (cherry picked from commit 01a91d37199f592aa4273e3847eb1f4f1d27da02)
2017-02-17Apply post-upgrade step to not run puppet in post upgradeMathieu Bultel1-1/+1
In the environment file: environments/major-upgrade-composable-steps.yaml we don't want to run puppet in certains roles in post upgrade because we need to make some extra tasks on this nodes and run puppet on converge step Change-Id: I38fc5772cdb4a7df7979beb2e7475c70f34076a7 (cherry picked from commit b3b04eb0d22d776902462811d54bcd270e0fab73)
2017-02-16CI fix broken references to multinode-core.yamlSteven Hardy2-2/+37
This isn't needed for the single-node upgrade test, but it is required for the 3-nodes job (which won't work because the referenced file doesn't currently exist). Change-Id: I78bd5c804284219a71b13dba21fd1188ca854fca (cherry picked from commit b3fe9f726499cb2575737129928c09a68c9145e3)
2017-02-16Update .gitreview for stable/ocataOpenStack Release Bot1-0/+1
Change-Id: I60191fc3cfe1507d49d60bef25b040992ab48824
2017-02-16Merge "Configuring a default ntp server."Jenkins2-2/+10
2017-02-16Merge "Remove unused nova_url from neutron config"Jenkins1-2/+0
2017-02-16Merge "Remove deprecated metering_secret"Jenkins1-1/+0
2017-02-16Merge "Add release notes for the HA-by-default change"Jenkins1-0/+5
2017-02-16Merge "OVN bridge mappings for tripleo"Jenkins1-0/+11
2017-02-16Merge "Add major-upgrade-converge environment."Jenkins1-0/+6
2017-02-15Merge "Release notes ha composable"Jenkins1-0/+12
2017-02-15Merge "Setup FreeIPA to serve DNS in the setup script"Jenkins1-1/+3
2017-02-15Merge "Add nova service support for composable upgrades"Jenkins10-5/+163
2017-02-15Add major-upgrade-converge environment.Steven Hardy1-0/+6
This is a generic replacement for the previous pacemaker named file that is designed to work with the new composable-steps upgrade. Change-Id: If5016b910931364a621b280465420d0bf2617895 Partially-Implements: blueprint overcloud-upgrades-per-service
2017-02-15Merge "Containers: Add required EndpointMap parameter"Jenkins1-1/+5
2017-02-15Setup FreeIPA to serve DNS in the setup scriptJuan Antonio Osorio Robles1-1/+3
This is needed for the overcloud nodes to automatically get their domain and to autodiscover the FreeIPA server. Change-Id: I4c055e4b4086b02fa706380f01911f499966dfc1
2017-02-15Merge "OVN plugin configuration fixes"Jenkins3-13/+28
2017-02-15Declare variables for freeipa_setup.sh scriptJuan Antonio Osorio Robles1-0/+9
These were assumed to be always passed, but as the script gets different cases (novajoin vs pre-defined service principals) we might get "unbound variable" errors when used outside of CI. Exporting these variables beforehand prevents that. Change-Id: I195321354df167c09cfc87c5b9f86c6dc5026d75
2017-02-15Merge "Add Ceph RGW to capabilities map"Jenkins1-0/+10
2017-02-14Add nova service support for composable upgradesSteven Hardy10-5/+163
Co-Authored-By: Mathieu Bultel <mbultel@redhat.com> Co-Authored-By: Oliver Walsh <owalsh@redhat.com> Change-Id: Iafad800a6819d7e75fdaab60d328999d3d3c037f Partially-Implements: blueprint overcloud-upgrades-per-service Related-Bug: #1662344
2017-02-14Merge "Reduce memcached memory configuration"Jenkins2-0/+14
2017-02-14Merge "Add upgrade tasks for opstools services"Jenkins3-0/+27