topology deployed by amulet test does not satisfy workload status (REQUIRED_INTERFACES)

Bug #1533854 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystone (Juju Charms Collection)
Fix Released
Medium
Ryan Beisner
neutron-api (Juju Charms Collection)
Fix Released
Medium
Ryan Beisner
neutron-gateway (Juju Charms Collection)
Fix Released
Medium
Ryan Beisner
neutron-openvswitch (Juju Charms Collection)
Fix Released
Medium
Ryan Beisner

Bug Description

Several of OpenStack charm amulet tests deploy topologies deployed which do not satisfy required interfaces, resulting in a blocked status of one or more units in the deployment.

This is important to resolve so that the affected tests can wait for workload status to indicate deployment readiness prior to testing.

The old method was an arbitrary 30s sleep, which is prone to races (testing too early).

If the wait-for-status amulet test helper is enabled without resolving the required interfaces, tests will timeout waiting for a ready workload status:
http://pastebin.ubuntu.com/14490977/.

This may require one or both of the following:
 * Adding the required services and relations is the fix.
 * Removing the post-deploy sleep and adding the post-deploy wait-for-status helper.

Here is an example of one os-charm that has this resolved:
http://bazaar.launchpad.net/~openstack-charmers/charms/trusty/ceilometer/next/view/head:/tests/basic_deployment.py#L33

Tags: uosci

Related branches

Ryan Beisner (1chb1n)
description: updated
Ryan Beisner (1chb1n)
Changed in keystone (Juju Charms Collection):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Ryan Beisner (1chb1n)
milestone: none → 16.01
Ryan Beisner (1chb1n)
Changed in keystone (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in neutron-openvswitch (Juju Charms Collection):
status: New → Fix Committed
assignee: nobody → Ryan Beisner (1chb1n)
milestone: none → 16.01
importance: Undecided → Medium
Ryan Beisner (1chb1n)
Changed in neutron-api (Juju Charms Collection):
status: New → Fix Committed
assignee: nobody → Ryan Beisner (1chb1n)
milestone: none → 16.01
Changed in neutron-gateway (Juju Charms Collection):
status: New → Fix Committed
assignee: nobody → Ryan Beisner (1chb1n)
milestone: none → 16.01
importance: Undecided → Medium
Changed in neutron-api (Juju Charms Collection):
importance: Undecided → Medium
James Page (james-page)
Changed in keystone (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in neutron-openvswitch (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in neutron-api (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in neutron-gateway (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.