OSTF test fail with 400 bad request : availability zone is not available in test deploy_cinder_net_tmpl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Aleksandr Didenko |
Bug Description
By default for all request we use default availability zone, but looks like it is not actual anymore
Deploy HA environment with Cinder, Neutron and network template
Scenario:
1. Revert snapshot with 3 slaves
2. Create cluster (HA) with Neutron VLAN/VXLAN/GRE
3. Add 1 controller + cinder nodes
4. Add 2 compute + cinder nodes
5. Upload 'cinder' network template'
6. Create custom network groups basing
on template endpoints assignments
7. Run network verification
8. Deploy cluster
9. Run network verification
10. Run health checks (OSTF)
11. Check L3 network configuration on slaves
12. Check that services are listening on their networks only
Actual
on step 10 ostf tests are failed with:
...
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/
raise exceptions.
BadRequest: The requested availability zone is not available (HTTP 400) (Request-ID: req-875983ff-
But at the same time there is no compute nodes in nova-manage service list:
root@node-1:~# nova-manage service list
No handlers could be found for logger "oslo_config.cfg"
Binary Host Zone Status State Updated_At
nova-cert node-1.
nova-scheduler node-1.
nova-conductor node-1.
nova-consoleauth node-1.
And availaility zones looks like:
root@node-1:~# nova availability-
+------
| Name | Status |
+------
| internal | available |
| |- node-1.
| | |- nova-conductor | enabled :-) 2015-11-
| | |- nova-consoleauth | enabled :-) 2015-11-
| | |- nova-scheduler | enabled :-) 2015-11-
| | |- nova-cert | enabled :-) 2015-11-
+------
In compute logs a lot a traceback about unavailability to rabbit,
so rabbit is unacceptable here by telnet too http://
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
openstack_
api: "1.0"
build_number: "212"
build_id: "212"
fuel-nailgun_sha: "13d1800be2452b
python-
fuel-agent_sha: "f0e09fa7a30b5a
fuel-
astute_sha: "d2c1b401816c6f
fuel-library_sha: "c892d291962094
fuel-ostf_sha: "5cf8c484a9a4f4
fuel-
fuelmenu_sha: "9627849843e84b
shotgun_sha: "34a081508b6037
network-
fuel-upgrade_sha: "1e894e26d4e142
fuelmain_sha: "daed38102b6074
tags: |
added: area-library removed: area-qa |
Changed in fuel: | |
assignee: | Fuel QA Team (fuel-qa) → Fuel Library Team (fuel-library) |
description: | updated |
summary: |
- OStf test fail with 400 bad request : availability zone is not + OSTF test fail with 400 bad request : availability zone is not available in test deploy_cinder_net_tmpl |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Aleksandr Didenko (adidenko) |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Aleksandr Didenko (adidenko) → Sergey Vasilenko (xenolog) |
status: | Confirmed → In Progress |
Changed in fuel: | |
assignee: | Sergey Vasilenko (xenolog) → Aleksandr Didenko (adidenko) |
It heppens because of :
"No valid host was found. There are not enough hosts available."
There are no hypervisors in the openstack env. It's because computes are not able to connect to rabbitmq:
<183>Nov 27 16:04:20 node-3 nova-compute: Received recoverable error from kombu:
<179>Nov 27 16:04:20 node-3 nova-compute: AMQP server on 10.200.240.1:5673 is unreachable: timed out. Trying again in 6 seconds.
Messaging traffic has been moved to br-messaging:
10.200.240.0/24 dev br-messaging proto kernel scope link src 10.200.240.1
But on controller side connection to rabbitmq are blocked by firewall, only management network is allowed (note zero counters):
0 0 ACCEPT tcp -- * * 10.109.6.0/24 0.0.0.0/0 multiport ports 4369,5672, 5673,41055 /* 106 rabbitmq from 10.109.6.0/24 */
But not mgmt/messaging net role.