[integration-tests] BadRequest: Unable to associate floating IP in nova live-migration tests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Alexander Koryagin |
Bug Description
Test result:
https:/
Exception:
BadRequest: Unable to associate floating IP 10.109.4.165 to fixed IP 192.168.1.5 for instance 930dbc71-
Trace:
self = <mos_tests.
@pytest.
def test_network_
"""This test checks network connectivity to VM during Live Migration
1. Create a floating ip
2. Create an instance from an image with 'm1.micro' flavor
3. Add the floating ip to the instance
4. Ping the instance by the floating ip
5. Execute live migration
6. Check current hypervisor and status of instance
7. Check that packets loss was minimal
"""
networks = self.neutron.
net = [net['id'] for net in networks if not net['router:
image_id = [image.id for image in self.nova.
flavor = [flavor for flavor in self.nova.
floating_ip = self.nova.
inst = common_
> inst.add_
mos_tests/
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/nova/
return self.manager.
.tox/nova/
return self._action(
.tox/nova/
info=info, **kwargs)
.tox/nova/
return self.api.
.tox/nova/
return self.request(url, 'POST', **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <novaclient.
url = '/servers/
kwargs = {'body': {'addFloatingIp': {'address': '10.109.4.165'}}, 'headers': {'Accept': 'application/json', 'Content-Type': 'ap...cNhYFMgLn
raise_exc = True, resp = <Response [400]>
body = {'badRequest': {'code': 400, 'message': "Unable to associate floating IP 10.109.4.165 to fixed IP 192.168.1.5 for inst...
Neutron server returns request_ids: ['req-59623878-
def request(self, url, method, **kwargs):
# NOTE(jamielennox): The standard call raises errors from
# keystoneauth1, where we need to raise the novaclient errors.
raise_exc = kwargs.
with utils.record_
resp, body = super(SessionCl
# TODO(andreykuri
# check only nova-related calls
# api_versions.
if raise_exc and resp.status_code >= 400:
> raise exceptions.
E BadRequest: Unable to associate floating IP 10.109.4.165 to fixed IP 192.168.1.5 for instance 930dbc71-
E Neutron server returns request_ids: ['req-59623878-
.tox/nova/
Changed in mos: | |
assignee: | nobody → MOS QA Team (mos-qa) |
Changed in mos: | |
milestone: | 10.0 → 9.0 |
Changed in mos: | |
assignee: | MOS QA Team (mos-qa) → Alexander Koryagin (akoryagin) |
test-fix: https:/ /review. gerrithub. io/#/c/ 278346/