diff --git a/contrail/environment/modules/contrail/manifests/lib/contrail_install_repo.pp b/contrail/environment/modules/contrail/manifests/lib/contrail_install_repo.pp index 9ca2eece..306bb65d 100644 --- a/contrail/environment/modules/contrail/manifests/lib/contrail_install_repo.pp +++ b/contrail/environment/modules/contrail/manifests/lib/contrail_install_repo.pp @@ -18,6 +18,15 @@ 'python-software-properties', 'contrail-fabric-utils', 'contrail-setup' ] : ensure => latest } -> + + exec { "exec-pip-install-fabric" : + command => "pip install /opt/contrail/python_packages/Fabric-1.7.5.tar.gz && echo exec-pip-install-fabric >> /etc/contrail/contrail_common_exec.out", + provider => shell, + unless => "grep -qx exec-pip-install-fabric /etc/contrail/contrail_common_exec.out", + logoutput => $contrail_logoutput + } + #Untill we upgrade to latest puppet , commenting this out + #package {Fabric: ensure => present, provider => pip, install_options => ['--find-links=file://opt/contrail/python_packages']} # May need to install fabric-utils here. below commented out code is kept for reference, in case needed. # pip install --upgrade --no-deps --index-url='' /opt/contrail/python_packages/Fabric-*.tar.gz diff --git a/contrail/environment/modules/openstack/manifests/common/contrail/nova.pp b/contrail/environment/modules/openstack/manifests/common/contrail/nova.pp index d8a19efe..dc836764 100644 --- a/contrail/environment/modules/openstack/manifests/common/contrail/nova.pp +++ b/contrail/environment/modules/openstack/manifests/common/contrail/nova.pp @@ -93,8 +93,8 @@ neutron_region_name => $::openstack::config::region, #neutron_admin_auth_url => "http://${controller_management_address}:35357/v2.0", #neutron_url => "http://${controller_management_address}:9696", - neutron_admin_auth_url => "http://${$neutron_ip_address}:35357/v2.0", - neutron_url => "http://${$neutron_ip_address}:9696", + neutron_admin_auth_url => "http://${controller_management_address}:35357/v2.0", + neutron_url => "http://${neutron_ip_address}:9696", vif_plugging_is_fatal => false, vif_plugging_timeout => '0', } diff --git a/contrail/environment/modules/openstack/manifests/common/nova.pp b/contrail/environment/modules/openstack/manifests/common/nova.pp index d8e259f9..ffeebccf 100644 --- a/contrail/environment/modules/openstack/manifests/common/nova.pp +++ b/contrail/environment/modules/openstack/manifests/common/nova.pp @@ -157,8 +157,7 @@ class { '::nova::network::neutron': neutron_admin_password => $::openstack::config::neutron_password, neutron_region_name => $::openstack::config::region, - #neutron_admin_auth_url => "http://${controller_management_address}:35357/v2.0", - neutron_admin_auth_url => "http://${contrail_neutron_server}:35357/v2.0", + neutron_admin_auth_url => "http://${controller_management_address}:35357/v2.0", neutron_url => "http://${contrail_neutron_server}:9696", vif_plugging_is_fatal => false, vif_plugging_timeout => '0',