[integration tests] CommunicationError: Error finding address for <glance image file upload url> Unable to establish connection to <glance image file upload url>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
High
|
MOS QA Team |
Bug Description
Test result:
https:/
Trace:
self = <mos_tests.
request = <FixtureRequest for <Function 'test_create_
floating_ip = <FloatingIP fixed_ip=None, id=304c25d4-
@pytest.
def test_create_
"""This test checks that instance with Windows image could be created
Steps:
1. Upload Windows 2012 Server image to Glance
2. Create VM with this Windows image
3. Assign floating IP to this VM
4. Ping this VM and verify that we can ping it
"""
> request.
mos_tests/
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/windows/
return self._get_
.tox/windows/
result = self._getfuncar
.tox/windows/
val = fixturedef.
.tox/windows/
fixturedef = request.
.tox/windows/
result = self._getfuncar
.tox/windows/
val = fixturedef.
.tox/windows/
self.yieldctx)
.tox/windows/
res = next()
mos_tests/
os_
.tox/windows/
self.
.tox/windows/
return self.request(url, 'PUT', **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <glanceclient.
url = '/v2/images/
kwargs = {'raise_exc': False, 'stream': True}
headers = {'Content-Type': 'application/
data = <generator object _chunk_body at 0x7f3b6768d500>
e = ConnectFailure(
conn_url = 'http://
message = 'Error finding address for http://
def request(self, url, method, **kwargs):
headers = kwargs.
data = self._set_
try:
resp = super(SessionCl
except ksc_exc.
message = ("Error communicating with %(url)s %(e)s" %
raise exc.InvalidEndp
except ksc_exc.
message = ("Error finding address for %(url)s: %(e)s" %
> raise exc.Communicati
E CommunicationError: Error finding address for http://
.tox/windows/
Changed in mos: | |
milestone: | 10.0 → 9.0 |
Bug not reproduced on 9.0 mos iso #376 and later