Comment 0 for bug 1512908

Revision history for this message
Chad Smith (chad.smith) wrote : Inability to add missing host to os-aggregate

From the dashboadr POST request for http://10.1.70.109:8774/v2/aa5fd8bda2344d5992b954e75853746e/os-aggregates/1/action failed with code 404

Nov 3 21:56:43 job-handler-1 INFO Traceback (failure with no frames): <class 'canonical.openstack.api.HTTPError'>: POST request for http://10.1.70.109:8774/v2/aa5fd8bda2344d5992b954e75853746e/os-aggregates/1/action failed with code 404 Not Found: '{"itemNotFound": {"message": "Cannot add host newton in aggregate 1: not found", "code": 404}}'

4 node cloud deployment swift/iscsi using ohm, pascal, tesla and newton

# Missing hostnames for newton and tesla in nova host-list
csmith@downtown:~$ nova host-list
+----------------------+-----------+-----------+
| host_name | service | zone |
+----------------------+-----------+-----------+
| juju-machine-1-lxc-1 | conductor | internal |
| juju-machine-1-lxc-1 | cert | internal |
| juju-machine-1-lxc-1 | scheduler | internal |
| pascal | compute | region1-1 |
| ohm | compute | region1-1 |
+----------------------+-----------+-----------+

Expected values would contain all 4 hosts listed in nova host-list
# Successful from a comparable 4 node scapestack deployment

csmith@downtown:~$ nova host-list
+----------------------+-----------+-----------+
| host_name | service | zone |
+----------------------+-----------+-----------+
| juju-machine-2-lxc-2 | cert | internal |
| juju-machine-2-lxc-2 | conductor | internal |
| juju-machine-2-lxc-2 | scheduler | internal |
| elkhart | compute | region1-1 |
| sekine | compute | region1-1 |
| darby | compute | region1-1 |
| albany | compute | nova |
+----------------------+-----------+-----------+