fab install_without_openstack:manage_nova_compute=no raise unexpected keyword argument 'manage_nova_compute' in create_install_repo_node()

Bug #1648134 reported by Slobodan Blatnjak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
New
High
Unassigned

Bug Description

Contrail 3.1
Following this guide : http://www.juniper.net/techpubs/en_US/contrail3.1/topics/task/installation/install-contrail-redhat-vnc.html
The issue appear at this step :
Install Contrail controller.
Currently your system setup should have the contrail-install-packages on all nodes, a configured testbed.py, and RHOSP on the OpenStack nodes.
To trigger Contrail controller installation on all Contrail nodes:
# fab install_without_openstack
To trigger Contrail controller installation, without nova compute:
fab install_without_openstack:manage_nova_compute=no (To skip nova compute installation)

Please find below the result of the last command :
root@:installer:/opt/contrail/utils# fab install_without_openstack:manage_nova_compute=no
[root@172.200.101.5] Executing task 'install_without_openstack'
2016-12-07 15:25:31:330393: [root@172.210.20.18] Executing task 'create_installer_repo'
2016-12-07 15:25:31:336094: [root@172.210.20.19] Executing task 'create_installer_repo'
2016-12-07 15:25:31:337099: [root@172.210.20.20] Executing task 'create_installer_repo'
2016-12-07 15:25:31:337480: [root@172.210.20.21] Executing task 'create_installer_repo'
2016-12-07 15:25:31:337952: [root@172.210.20.22] Executing task 'create_installer_repo'
2016-12-07 15:25:31:338375: [root@172.210.20.131] Executing task 'create_installer_repo'
2016-12-07 15:25:31:338867: [root@172.210.20.132] Executing task 'create_installer_repo'
2016-12-07 15:25:31:339295: [root@172.210.20.23] Executing task 'create_installer_repo'
2016-12-07 15:25:31:339791: [root@172.210.0.15] Executing task 'create_installer_repo'
2016-12-07 15:25:31:340169: [root@172.210.0.16] Executing task 'create_installer_repo'
2016-12-07 15:25:31:340966: [root@172.210.20.26] Executing task 'create_installer_repo'
2016-12-07 15:25:31:341628: [root@172.210.20.27] Executing task 'create_installer_repo'
2016-12-07 15:25:31:342059: [root@172.200.101.5] Executing task 'create_install_repo_without_openstack'
2016-12-07 15:25:32:507139: Traceback (most recent call last):
2016-12-07 15:25:32:508409: File
"/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 743, in main
2016-12-07 15:25:32:508935: *args, **kwargs
2016-12-07 15:25:32:509923: File
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute
2016-12-07 15:25:32:510353: multiprocessing
2016-12-07 15:25:32:511254: File
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute
2016-12-07 15:25:32:511676: return task.run(*args, **kwargs)
2016-12-07 15:25:32:512658: File
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2016-12-07 15:25:32:513178: return self.wrapped(*args, **kwargs)
2016-12-07 15:25:32:514033: File
"/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in inner_decorator
2016-12-07 15:25:32:514455: return func(*args, **kwargs)
2016-12-07 15:25:32:515302: File
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 168, in __call__
2016-12-07 15:25:32:515722: return self.run(*args, **kwargs)
2016-12-07 15:25:32:516684: File
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2016-12-07 15:25:32:517113: return self.wrapped(*args, **kwargs)
2016-12-07 15:25:32:517968: File
"/opt/contrail/utils/fabfile/tasks/install.py", line 906, in install_without_openstack
2016-12-07 15:25:32:518391:
execute(create_install_repo_without_openstack, *tgzs, **kwargs)
2016-12-07 15:25:32:519398: File
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 375, in execute
2016-12-07 15:25:32:519822: multiprocessing
2016-12-07 15:25:32:520773: File
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 271, in _execute
2016-12-07 15:25:32:521525: return task.run(*args, **kwargs)
2016-12-07 15:25:32:522356: File
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2016-12-07 15:25:32:522753: return self.wrapped(*args, **kwargs)
2016-12-07 15:25:32:523551: File
"/usr/local/lib/python2.7/dist-packages/fabric/decorators.py", line 53, in inner_decorator
2016-12-07 15:25:32:523946: return func(*args, **kwargs)
2016-12-07 15:25:32:524837: File
"/opt/contrail/utils/fabfile/tasks/install.py", line 609, in create_install_repo_without_openstack
2016-12-07 15:25:32:525260: execute(cmd, host_string, *tgzs, **kwargs)
2016-12-07 15:25:32:526135: File
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 415, in execute
2016-12-07 15:25:32:526553: results['<local-only>'] = task.run(*args,
**new_kwargs)
2016-12-07 15:25:32:527378: File
"/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 171, in run
2016-12-07 15:25:32:527741: return self.wrapped(*args, **kwargs)
2016-12-07 15:25:32:528585: TypeError: create_install_repo_node() got an unexpected keyword argument 'manage_nova_compute'
2016-12-07 15:25:32:530295: root@installer:/opt/contrail/utils#

Tags: provisioning
information type: Proprietary → Public
Jeba Paulaiyan (jebap)
no longer affects: juniperopenstack/r3.2
no longer affects: juniperopenstack/r3.1
Revision history for this message
Slobodan Blatnjak (sblatnjak) wrote :

https://bugs.launchpad.net/juniperopenstack/+bug/1645502
Attached is the patch from engineering.

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

Other bug subscribers

Patches

Remote bug watches

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