test_neutron_loadbalancer is failing with "httplib.InvalidURL: nonnumeric port: '4ae'"

Bug #1450293 reported by Angus Salkeld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Rabi Mishra

Bug Description

http://logs.openstack.org/45/173045/7/check/check-heat-dsvm-functional-mysql/3431242/console.html

2015-04-29 19:03:18.424 | 2015-04-29 19:03:18.427 |
2015-04-29 19:03:18.426 | 2015-04-29 19:03:18.430 | heat_integrationtests.scenario.test_neutron_loadbalancer.NeutronLoadBalancerTest.test_neutron_loadbalancer
2015-04-29 19:03:18.427 | 2015-04-29 19:03:18.431 | ----------------------------------------------------------------------------------------------------------
2015-04-29 19:03:18.428 | 2015-04-29 19:03:18.433 |
2015-04-29 19:03:18.430 | 2015-04-29 19:03:18.435 | Captured traceback:
2015-04-29 19:03:18.432 | 2015-04-29 19:03:18.436 | ~~~~~~~~~~~~~~~~~~~
2015-04-29 19:03:18.433 | 2015-04-29 19:03:18.438 | Traceback (most recent call last):
2015-04-29 19:03:18.435 | 2015-04-29 19:03:18.440 | File "/opt/stack/new/heat/heat_integrationtests/scenario/test_neutron_loadbalancer.py", line 76, in test_neutron_loadbalancer
2015-04-29 19:03:18.436 | 2015-04-29 19:03:18.441 | self.check_connectivity(server1_ip)
2015-04-29 19:03:18.440 | 2015-04-29 19:03:18.442 | File "/opt/stack/new/heat/heat_integrationtests/common/test.py", line 122, in check_connectivity
2015-04-29 19:03:18.441 | 2015-04-29 19:03:18.444 | while not try_connect(check_ip):
2015-04-29 19:03:18.442 | 2015-04-29 19:03:18.446 | File "/opt/stack/new/heat/heat_integrationtests/common/test.py", line 115, in try_connect
2015-04-29 19:03:18.447 | 2015-04-29 19:03:18.452 | urllib.request.urlopen('http://%s/' % ip)
2015-04-29 19:03:18.449 | 2015-04-29 19:03:18.453 | File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
2015-04-29 19:03:18.450 | 2015-04-29 19:03:18.455 | return _opener.open(url, data, timeout)
2015-04-29 19:03:18.452 | 2015-04-29 19:03:18.456 | File "/usr/lib/python2.7/urllib2.py", line 404, in open
2015-04-29 19:03:18.453 | 2015-04-29 19:03:18.458 | response = self._open(req, data)
2015-04-29 19:03:18.455 | 2015-04-29 19:03:18.459 | File "/usr/lib/python2.7/urllib2.py", line 422, in _open
2015-04-29 19:03:18.456 | 2015-04-29 19:03:18.461 | '_open', req)
2015-04-29 19:03:18.460 | 2015-04-29 19:03:18.463 | File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
2015-04-29 19:03:18.462 | 2015-04-29 19:03:18.466 | result = func(*args)
2015-04-29 19:03:18.464 | 2015-04-29 19:03:18.468 | File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
2015-04-29 19:03:18.466 | 2015-04-29 19:03:18.470 | return self.do_open(httplib.HTTPConnection, req)
2015-04-29 19:03:18.468 | 2015-04-29 19:03:18.472 | File "/usr/lib/python2.7/urllib2.py", line 1153, in do_open
2015-04-29 19:03:18.469 | 2015-04-29 19:03:18.473 | h = http_class(host, timeout=req.timeout) # will parse host:port
2015-04-29 19:03:18.471 | 2015-04-29 19:03:18.475 | File "/usr/lib/python2.7/httplib.py", line 704, in __init__
2015-04-29 19:03:18.475 | 2015-04-29 19:03:18.479 | self._set_hostport(host, port)
2015-04-29 19:03:18.476 | 2015-04-29 19:03:18.480 | File "/usr/lib/python2.7/httplib.py", line 732, in _set_hostport
2015-04-29 19:03:18.478 | 2015-04-29 19:03:18.482 | raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
2015-04-29 19:03:18.480 | 2015-04-29 19:03:18.484 | httplib.InvalidURL: nonnumeric port: '4ae'

Angus Salkeld (asalkeld)
Changed in heat:
importance: Undecided → High
milestone: none → liberty-1
status: New → Triaged
tags: added: functional-tests
Rabi Mishra (rabi)
Changed in heat:
assignee: nobody → Rabi Mishra (rabi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/178933

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/178933
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=add8d1bdc765532874263c412b50937f81905592
Submitter: Jenkins
Branch: master

commit add8d1bdc765532874263c412b50937f81905592
Author: Rabi Mishra <email address hidden>
Date: Thu Apr 30 10:40:43 2015 +0530

    Use ipv4 address for connectivity in lb integration test

    You can not specify subnet for a server creation. Therefore server
    nic would get ip adresses from all subnets. We should pick the
    ipv4 address to check connectivity.

    Also added change to NovaClientPlugin to provide ipv4 address.

    Change-Id: I2eb3bdb359aca0cfaebf0be98db79170c681a078
    Closes-Bug: #1450293

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-1 → 5.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.