setup-vnc-config/upgrade-vnc-config is broken

Bug #1605479 reported by Vedamurthy Joshi
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Fix Committed
Critical
Ranjeet R
Trunk
Fix Committed
Critical
Ranjeet R

Bug Description

R3.1.0.0 Build 4 Kilo

Looks like control_ip_list is given as a list, but setup-vnc-config is not accepting a list

Fix is to add nargs='+' for control_ip_list arg in /usr/local/lib/python2.7/dist-packages/contrail_provisioning/config/setup.py

2016-07-22 02:28:53:645127: [root@10.204.216.58] sudo: setup-vnc-config --self_ip 10.204.216.58 --collector_ip 10.204.216.58 --multi_tenancy --cassandra_ip_list 10.204.216.58 10.204.216.59 10.204.216.60 --zookeeper_ip_list 10.204.216.58 10.204.216.59 10.204.216.60 --control_ip_list 10.204.216.58 10.204.216.59 10.204.216.60 --quantum_port 9697 --nworkers 1 --service_token d338d499da64201a13e8 --amqp_ip_list 10.204.216.58 10.204.216.59 10.204.216.60 --amqp_port 5672 --orchestrator openstack --keystone_ip 10.204.216.184 --keystone_version v2.0 --keystone_admin_passwd contrail123 --keystone_service_tenant_name service --neutron_password contrail123 --keystone_auth_protocol http --keystone_auth_port 35357 --keystone_insecure False --region_name RegionOne --internal_vip 10.204.216.184 --contrail_internal_vip 10.204.216.184
2016-07-22 02:28:53:645386: [root@10.204.216.58] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig
2016-07-22 02:28:53:781501: [root@10.204.216.58] out: usage: setup-vnc-config [-h] [-c FILE] [--self_ip SELF_IP]
2016-07-22 02:28:53:797242: [root@10.204.216.58] out: [--collector_ip COLLECTOR_IP]
2016-07-22 02:28:53:797395: [root@10.204.216.58] out: [--keystone_ip KEYSTONE_IP]2016-07-22 02:28:53:797482: [root@10.204.216.58] out: [--keystone_admin_user KEYSTONE_ADMIN_USER]
2016-07-22 02:28:53:797572: [root@10.204.216.58] out: [--keystone_admin_passwd KEYSTONE_ADMIN_PASSWD]
2016-07-22 02:28:53:797715: [root@10.204.216.58] out: [--keystone_admin_tenant_name KEYSTONE_ADMIN_TENANT_NAME]
2016-07-22 02:28:53:797802: [root@10.204.216.58] out: [--service_token SERVICE_TOKEN] [--use_certs]2016-07-22 02:28:53:797878: [root@10.204.216.58] out: [--multi_tenancy]
2016-07-22 02:28:53:797937: [root@10.204.216.58] out: [--cassandra_ip_list CASSANDRA_IP_LIST [CASSANDRA_IP_LIST ...]]
2016-07-22 02:28:53:798004: [root@10.204.216.58] out: [--zookeeper_ip_list ZOOKEEPER_IP_LIST [ZOOKEEPER_IP_LIST ...]]
2016-07-22 02:28:53:798072: [root@10.204.216.58] out: [--control_ip_list CONTROL_IP_LIST]2016-07-22 02:28:53:798130: [root@10.204.216.58] out: [--quantum_port QUANTUM_PORT]
2016-07-22 02:28:53:798198: [root@10.204.216.58] out: [--quantum_service_protocol QUANTUM_SERVICE_PROTOCOL]
2016-07-22 02:28:53:798257: [root@10.204.216.58] out: [--keystone_auth_protocol KEYSTONE_AUTH_PROTOCOL]
2016-07-22 02:28:53:798328: [root@10.204.216.58] out: [--keystone_auth_port KEYSTONE_AUTH_PORT]2016-07-22 02:28:53:798408: [root@10.204.216.58] out: [--neutron_password NEUTRON_PASSWORD]
2016-07-22 02:28:53:798495: [root@10.204.216.58] out: [--keystone_service_tenant_name KEYSTONE_SERVICE_TENANT_NAME]
2016-07-22 02:28:53:798566: [root@10.204.216.58] out: [--keystone_insecure KEYSTONE_INSECURE]
2016-07-22 02:28:53:798635: [root@10.204.216.58] out: [--keystone_version {v2.0,v3}] [--nworkers NWORKERS]
2016-07-22 02:28:53:798706: [root@10.204.216.58] out: [--haproxy] [--manage_db]
2016-07-22 02:28:53:798781: [root@10.204.216.58] out: [--seed_list SEED_LIST [SEED_LIST ...]]
2016-07-22 02:28:53:798838: [root@10.204.216.58] out: [--data_dir DATA_DIR] [--ssd_data_dir SSD_DATA_DIR]
2016-07-22 02:28:53:798903: [root@10.204.216.58] out: [--region_name REGION_NAME]
2016-07-22 02:28:53:798963: [root@10.204.216.58] out: [--amqp_server_ip AMQP_SERVER_IP]
2016-07-22 02:28:53:799030: [root@10.204.216.58] out: [--amqp_ip_list AMQP_IP_LIST [AMQP_IP_LIST ...]]
2016-07-22 02:28:53:799091: [root@10.204.216.58] out: [--amqp_port AMQP_PORT]
2016-07-22 02:28:53:799158: [root@10.204.216.58] out: [--manage_neutron MANAGE_NEUTRON]
2016-07-22 02:28:53:799218: [root@10.204.216.58] out: [--internal_vip INTERNAL_VIP]
2016-07-22 02:28:53:799278: [root@10.204.216.58] out: [--external_vip EXTERNAL_VIP]
2016-07-22 02:28:53:799335: [root@10.204.216.58] out: [--contrail_internal_vip CONTRAIL_INTERNAL_VIP]
2016-07-22 02:28:53:799410: [root@10.204.216.58] out: [--orchestrator ORCHESTRATOR]
2016-07-22 02:28:53:799480: [root@10.204.216.58] out: [--cassandra_user CASSANDRA_USER]
2016-07-22 02:28:53:799549: [root@10.204.216.58] out: [--cassandra_password CASSANDRA_PASSWORD]
2016-07-22 02:28:53:799619: [root@10.204.216.58] out: setup-vnc-config: error: unrecognized arguments: 10.204.216.59 10.204.216.60

Tags: blocker config ha
Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/22412
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/22413
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/22412
Committed: http://github.org/Juniper/contrail-provisioning/commit/6d3341cac8c1b7ac851ca19913e8f119bea99fd8
Submitter: Zuul
Branch: master

commit 6d3341cac8c1b7ac851ca19913e8f119bea99fd8
Author: Ignatious Johnson Christopher <email address hidden>
Date: Tue Jul 26 06:11:12 2016 +0000

Make control ip list take mulitple control node ips.

Change-Id: I3750ddd4e6d91664a977dfaf50f6c40412bda60c
Closes-Bug: 1605479

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/22413
Committed: http://github.org/Juniper/contrail-provisioning/commit/376931c1a7481dbc463fd9f961ab62525f9e5071
Submitter: Zuul
Branch: R3.1

commit 376931c1a7481dbc463fd9f961ab62525f9e5071
Author: Ignatious Johnson Christopher <email address hidden>
Date: Tue Jul 26 06:11:12 2016 +0000

Make control ip list take mulitple control node ips.

Change-Id: I3750ddd4e6d91664a977dfaf50f6c40412bda60c
Closes-Bug: 1605479

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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