2015-11-27 15:41:59 |
Tatyanka |
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 5 slaves
2. Create cluster (HA) with Neutron VLAN
3. Add 3 controller and 1 compute + cinder nodes
4. Upload 'default_ovs' network template
5. Create custom network groups basing
on template endpoints assignments
6. Run network verification
7. Deploy cluster and run basic health checks
8. Run network verification
9. Check L3 network configuration on slaves
10. Check that services are listening on their networks only
11. Reboot a node
12. Run network verification
13. Check L3 network configuration on slaves
14. Check that services are listening on their networks only
15. Run OSTF
ostf tests are failed with:
rllib3.connectionpool: DEBUG: "POST http://10.109.6.2:8774/v2/0de924215bfe4b90b40dbfd8e488fc9d/servers HTTP/1.1" 400 92
fuel_health.common.test_mixins: DEBUG: Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/fuel_health/common/test_mixins.py", line 177, in verify
result = func(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/fuel_health/nmanager.py", line 693, in _create_server
**create_kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/v1_1/servers.py", line 902, in create
**boot_kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/v1_1/servers.py", line 554, in _boot
return_raw=return_raw, **kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 100, in _create
_resp, body = self.api.client.post(url, body=body)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 492, in post
return self._cs_request(url, 'POST', **kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 467, in _cs_request
resp, body = self._time_request(url, method, **kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 440, in _time_request
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/python2.6/site-packages/novaclient/client.py", line 433, in request
raise exceptions.from_response(resp, body, url, method)
BadRequest: The requested availability zone is not available (HTTP 400) (Request-ID: req-875983ff-3b50-4b25-b086-4aa05571ce4b)
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
openstack_version: "2015.1.0-8.0"
api: "1.0"
build_number: "212"
build_id: "212"
fuel-nailgun_sha: "13d1800be2452bd297555eedf051bda469b5663b"
python-fuelclient_sha: "4f9a873b1ae68271bb848a1145b3cf912a176f4b"
fuel-agent_sha: "f0e09fa7a30b5ab87e901601bfb6c1e339a6bdaa"
fuel-nailgun-agent_sha: "b56f832abc18aee9a8c603fd6cc2055c5f4287bc"
astute_sha: "d2c1b401816c6f0341902272f37018b9cec3c775"
fuel-library_sha: "c892d2919620947225687ccde63d0e038784f0a2"
fuel-ostf_sha: "5cf8c484a9a4f45f353468438cf98f1b5a5c5dfb"
fuel-createmirror_sha: "9b335c8d551c87d788166947cb7ed519757881e8"
fuelmenu_sha: "9627849843e84b7f01c44bd79898a8d62d96ce66"
shotgun_sha: "34a081508b603723e14f9415a62373be39f3685f"
network-checker_sha: "2c62cd52655ea6456ff6294fd63f18d6ea54fe38"
fuel-upgrade_sha: "1e894e26d4e1423a9b0d66abd6a79505f4175ff6"
fuelmain_sha: "daed38102b6074393821d675e3d7d866fcdb3da5" |
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/python2.6/site-packages/novaclient/client.py", line 433, in request
raise exceptions.from_response(resp, body, url, method)
BadRequest: The requested availability zone is not available (HTTP 400) (Request-ID: req-875983ff-3b50-4b25-b086-4aa05571ce4b)
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.test.domain.local internal enabled :-) 2015-11-27 15:18:32
nova-scheduler node-1.test.domain.local internal enabled :-) 2015-11-27 15:18:31
nova-conductor node-1.test.domain.local internal enabled :-) 2015-11-27 15:18:31
nova-consoleauth node-1.test.domain.local internal enabled :-) 2015-11-27 15:18:31
And availaility zones looks like:
root@node-1:~# nova availability-zone-list
+-----------------------------+----------------------------------------+
| Name | Status |
+-----------------------------+----------------------------------------+
| internal | available |
| |- node-1.test.domain.local | |
| | |- nova-conductor | enabled :-) 2015-11-27T15:12:31.000000 |
| | |- nova-consoleauth | enabled :-) 2015-11-27T15:12:31.000000 |
| | |- nova-scheduler | enabled :-) 2015-11-27T15:12:31.000000 |
| | |- nova-cert | enabled :-) 2015-11-27T15:12:32.000000 |
+-----------------------------+----------------------------------------+
In compute logs a lot a traceback about unavailability to rabbit,
so rabbit is unacceptable here by telnet too http://paste.openstack.org/show/480236/
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
openstack_version: "2015.1.0-8.0"
api: "1.0"
build_number: "212"
build_id: "212"
fuel-nailgun_sha: "13d1800be2452bd297555eedf051bda469b5663b"
python-fuelclient_sha: "4f9a873b1ae68271bb848a1145b3cf912a176f4b"
fuel-agent_sha: "f0e09fa7a30b5ab87e901601bfb6c1e339a6bdaa"
fuel-nailgun-agent_sha: "b56f832abc18aee9a8c603fd6cc2055c5f4287bc"
astute_sha: "d2c1b401816c6f0341902272f37018b9cec3c775"
fuel-library_sha: "c892d2919620947225687ccde63d0e038784f0a2"
fuel-ostf_sha: "5cf8c484a9a4f45f353468438cf98f1b5a5c5dfb"
fuel-createmirror_sha: "9b335c8d551c87d788166947cb7ed519757881e8"
fuelmenu_sha: "9627849843e84b7f01c44bd79898a8d62d96ce66"
shotgun_sha: "34a081508b603723e14f9415a62373be39f3685f"
network-checker_sha: "2c62cd52655ea6456ff6294fd63f18d6ea54fe38"
fuel-upgrade_sha: "1e894e26d4e1423a9b0d66abd6a79505f4175ff6"
fuelmain_sha: "daed38102b6074393821d675e3d7d866fcdb3da5" |
|