This change moves our devstack plugin away from using the old
scheduling properties: memory_mb, local_gb and cpus. Nova will
stop using them for scheduling in Queens.
The cpu_arch property is left intact, as it's still useful.
The Placement API is polled to determine when nodes are fully exposed
to nova instead of polling the hypervisor stats. cURL + jq are used,
as the Placement OSC plugin is not ready yet.
Change-Id: I497a992bd86e8a359f333d6936621d1136d68061
This reverts part of commit 30bc3c0933a1072e5e4c48b4614f5f387ffd8327.
On master, when upgrading from pike to queens in grenade, we already
create all the nodes with a resource class being set, so no need to
update it. We still pass the parameters to verify and verify_noapi as
that's what grenade does.
Change-Id: Ic7c3218fe95ef9f73d358216831158a1ec025fba
This is done to trigger a bit of code from commit
c3118b91db4b97a689c9a2f25a9554a0ccb29252 to nova for active nodes.
Change-Id: I1ac1b8501cbed901941e7c89fc55c5b9bea0cb4f
Nova do not wait for cleaning is completed when deleting instance
as result after destroy phase ironic may still perform cleaning.
This patch ensures all nodes are available again after base smoke tests
finished and hypervisor stats are updated.
We still need to wait for resources after destroy phase which will be
done in separate patch as changes to grenade workflow are needed.
Change-Id: Ib6c5a0543533893664cb3e895286d0e226e364d2
When running grenade with multitenancy, we are able to boot instances
in the network neutron has created in its upgrade phase, and we don't
have to change that setup.
Change-Id: I1038548ad4f93788fca3e2b7dd8ed93da0ce7702
Starting with Idede322190d57491d4f7e18090aa8c29b5b87353 base and target
releases has the same tempest config file. This patch drops setting
fixed_network_name in target tempest.conf workaround.
Change-Id: I661ace60bf9b4817f73aaccda9c18e24adfc4e56
This changes up devstack code to make sure OVS does the right thing
after upgrading. After the neutron upgrade, it uses a new OVS tag for
networking, so this changes things over to the new one.
Make sure that we remove all resources that were created during
resources phase.
Set tempest fixed_network_name explicitly as it is prerequirement for
ironic, see reference.
Reference:
https://github.com/openstack/tempest/blob/039b2fe/tempest/scenario/manager.py#L1161
Change-Id: I35789602fb542bb33533211a742c3e4d265a3b91
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>
* 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