Commit graph

13 commits

Author SHA1 Message Date
vsaienko
3de027ded5 Update resources subnet CIDR
During resources phase resources subnet is created with the same CIDR
as during setup. Ironic requires to have a route to this network from
control plane (ironic-conductor).
This patch creates a new network with has an unique CIDR and GATEWAY
defined by RESOURCES_FIXED_RANGE and RESOURCES_NETWORK_GATEWAY.
Default value for RESOURCES_FIXED_RANGE is 10.2.0.0/24 and
for RESOURCES_NETWORK_GATEWAY is 10.2.0.1

Change-Id: I83f9f90809bbf2e6d73c7282bbb9b2be084b6a66
Co-Authored-By: vsaienko <vsaienko@mirantis.com>
2016-06-06 15:28:09 -07:00
Clenimar Filemon
0376efac2c Remove hard-coded keystone version from setup
Commit Id229617ec5cf2820c1033fd2c34fc160a75c46d6 recently introduced a
hard-coded identity API version in the setup script. This patch switches
the /v2.0/ to /v$IDENTITY_API_VERSION/ so we can work when v2 is
disabled as well.

Change-Id: Ib6fd666930bf45170f69d5f64ccadf617899f7c7
2016-05-30 18:59:31 -03:00
Jenkins
5b4b8c21b6 Merge "Restart n-cpu after Ironic install" 2016-05-23 21:56:45 +00:00
Vasyl Saienko
19703205ae Restart n-cpu after Ironic install
Ironic install initiates apache restart, it may cause nova-compute
failed to start.
This patch restart nova-compute after Ironic install for new phase.
And ensures that keystone is responding before starting n-cpu.

Related-Bug: 1537076

Change-Id: Id229617ec5cf2820c1033fd2c34fc160a75c46d6
2016-05-23 13:19:27 -07:00
Vladyslav Drok
ac7f9cea9c Revert "Run smoke tests after upgrade"
This reverts commit cb7d8d7f4e.

We will be running smoke tests anyway after upgrade, no need to do this twice.

Change-Id: I9452e0be44a038b37e2d26ffa32d5d012e9c1bad
2016-05-23 13:09:25 -07:00
Vasyl Saienko
f1d189d16a Fix start order for Ironic during upgrade
Start Ironic after upgrade to apply new version of code.

Change-Id: Ibf7f81012d9ea2bc6d8025916d984c5c7a3e46bb
2016-05-19 12:48:34 +03:00
Vasyl Saienko
cb7d8d7f4e Run smoke tests after upgrade
This commit sets TARGET_RUN_SMOKE to true.
It allows to launch smoke tests after upgrade.

Change-Id: I8abc31236a19083144677c6018b3b058c0254192
2016-05-19 12:29:15 +03:00
Vasyl Saienko
ab2b5a711c Add ironic to enabled_services
tempest is looking for project name in enabled_services to mark service as
enabled in tempest.conf [0]
This patch adds ironic to enabled_services to update value in
tempest.conf

Reference:
[0] 59ed73a3d4/lib/tempest (L500)

Co-Authored-By: John L. Villalovos <john.l.villalovos@intel.com>
Co-Authored-By: Jim Rollenhagen <jim@jimrollenhagen.com>

Change-Id: I525a3816f8b9c71d4ae97afd18c4ddbc2a1aca13
2016-05-18 16:41:14 +03:00
John L. Villalovos
ca611613a8 Fix shutdown.sh & upgrade.sh for grenade
The shutdown.sh & upgrade.sh scripts were attempting to load a file
which no longer exists. Have them load the correct file.

Change-Id: I864023880062fde0e84df81b7c7a6a17c0b09428
2016-05-17 10:37:26 -07:00
John L. Villalovos
f0beeada9d Setup for using the Grenade 'early_create' phase
* Create a 'devstack/upgrade/resources.sh' file to be used by
   Grenade.
 * Create an 'early_create' phase to call the create_ovs_tap()
   function.
 * Refactor the create_ovs_tap() function to accept an argument for
   the network to use.

Change-Id: I0efe427a7023d0336f25856c362c655c138102df
2016-05-16 12:59:42 -07:00
John L. Villalovos
3b3d711157 Enable Grenade usage as a plugin
Enable Grenade to run tests for Ironic using the plugin method.

Also provide some documentation on the fact that
openstack-infra/project-config will need to be updated for these changes
to take effect.

Change-Id: I49cf37333c55dbbdbb75737f1c7fd2ecaf983f21
2016-03-30 14:46:15 -07:00
Jim Rollenhagen
f047ea0f7e Fix bashate errors in grenade plugin
Fixes one bashate error in devstack/upgrade/upgrade.sh.

Change-Id: I347e39cd8055811d2ac22ed744b1d9e9f3ca37fa
2015-12-17 17:44:38 +00:00
Jim Rollenhagen
c0a72cf749 Add grenade plugin
This is a straight copy of the ironic code in grenade's tree to here.
This is necessary to drop ironic code from devstack and complete the
devstack plugin work, as well as just the right thing to do, and will
help us move faster on grenade work.

Note that I'm not sure if this will or will not, and it may make our
grenade jobs explode during the transition. However, our grenade jobs
don't work right now anyway, so nothing of value was lost. :)

Change-Id: I8b065c60e9e06cd7fc10749c49bdf79d878fcc12
2015-12-10 17:52:24 -08:00