testbed_parser.py is bailing out, if hostname are specified with dns entry names
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
High
|
Nagendra Prasath | |||
Trunk |
Fix Committed
|
High
|
Nagendra Prasath |
Bug Description
pmiriyala@
-2700~juno_all.deb
Traceback (most recent call last):
File "/build/
Utils.
File "/build/
server_
File "/build/
self.update()
File "/build/
server_dict = self._initializ
File "/build/
"ip_address": "%s/%s" % (hostobj.ip, hostobj.ip_net[1]),
IndexError: list index out of range
testbed.py used to reproduce the isssue.
from fabric.api import env
os_username = 'admin'
os_password = 'contrail123'
os_tenant_name = 'demo'
host1 = '<email address hidden>'
host2 = '<email address hidden>'
host3 = '<email address hidden>'
host4 = '<email address hidden>'
host5 = '<email address hidden>'
ext_routers = []
router_asn = 64512
public_vn_rtgt = 10000
public_vn_subnet = "10.84.41.0/24"
minimum_diskGB = 64
host_build = 'nipak@10.84.14.65'
env.roledefs = {
'all': [host1, host2, host3,host4,host5],
'cfgm': [host1,host2,host3, host4],
'webui': [host1],
'openstack': [host1],
'control': [host2, host3, host4],
'collector': [host1, host2, host3, host4,host5],
'database': [host1, host2, host3],
'compute': [host2, host3, host4],
'build': [host_build]
}
env.hostnames = {
'all': ['nodeg13', 'nodeg20', 'nodea21', 'nodeh3','nodec28']
}
env.password = 'c0ntrail123'
env.passwords = {
host1: 'c0ntrail123',
host2: 'c0ntrail123',
host3: 'c0ntrail123',
host4: 'c0ntrail123',
host5: 'c0ntrail123',
host_build: 'c0ntrail123',
}
env.ostypes = {
host1: 'ubuntu',
host2: 'ubuntu',
host3: 'ubuntu',
host4: 'ubuntu',
host5: 'ubuntu',
}
env.test_
<email address hidden>'
<email address hidden>'
<email address hidden>'
<email address hidden>'
Review in progress for https:/ /review. opencontrail. org/16392
Submitter: Nagendra Prasath (<email address hidden>)