Devstack: install_neutron_projects bugs
- pip warns as the ownership of the cache dir is incorrect and advises using -H flag - Fix neutron install - Replace openstack.org with opendev.org Change-Id: Ia186c17a61303eda024bd1f71f079e6391088d3d
This commit is contained in:
parent
add65cebfa
commit
08ea8cc6b1
@ -43,7 +43,7 @@ function install_neutron_projects {
|
|||||||
elif use_library_from_git $pkg; then
|
elif use_library_from_git $pkg; then
|
||||||
echo "Project $pkg enabled explicitly from LIBS_FROM_GIT"
|
echo "Project $pkg enabled explicitly from LIBS_FROM_GIT"
|
||||||
else
|
else
|
||||||
sudo pip install -e "git+https://git.openstack.org/openstack/${pkg}@${NEUTRON_BRANCH}#egg=${pkg_renamed}"
|
sudo -H pip install -e "git+https://opendev.org/openstack/${pkg}@${NEUTRON_BRANCH}#egg=${pkg_renamed}"
|
||||||
sudo chown -R ${USER}:${USER} src/${pkg}
|
sudo chown -R ${USER}:${USER} src/${pkg}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
@ -54,7 +54,7 @@ function install_neutron_projects {
|
|||||||
if is_service_enabled neutron; then
|
if is_service_enabled neutron; then
|
||||||
echo "service Neutron is enabled explicitly by devstack"
|
echo "service Neutron is enabled explicitly by devstack"
|
||||||
else
|
else
|
||||||
sudo pip install -e "git+https://git.openstack.org/openstack/${pkg}@${NEUTRON_BRANCH}#egg=${pkg_renamed}"
|
sudo -H pip install -e "git+https://opendev.org/openstack/neutron@${NEUTRON_BRANCH}#egg=neutron"
|
||||||
sudo chown -R ${USER}:${USER} src/neutron
|
sudo chown -R ${USER}:${USER} src/neutron
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user