Use openstackclient instead of neutronclient

The python-neutronclient is deprecated. We should use openstackclient
and openstacksdk for the equivalent functionality.

Change-Id: Iaf49d6b7942343104e0b40b6db89b78a793b858b
(cherry picked from commit 9691d53009)
This commit is contained in:
Hongbin Lu 2018-10-21 19:42:47 +00:00 committed by Mark Goddard
parent 70c1a23e76
commit 49a8b323e1
1 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ function setup_ansible {
RAW_INVENTORY=/etc/kolla/inventory
# TODO(SamYaple): Move to virtualenv
sudo -H pip install -U "ansible>=2,<2.4" "docker>=2.0.0" "python-openstackclient" "python-neutronclient" "ara<0.16" "cmd2<0.9.0"
sudo -H pip install -U "ansible>=2,<2.4" "docker>=2.0.0" "python-openstackclient" "ara<0.16" "cmd2<0.9.0"
detect_distro
sudo mkdir /etc/ansible
@ -121,7 +121,7 @@ function sanity_check {
# https://bugs.launchpad.net/oslo.cache/+bug/1590779
sudo docker restart memcached
nova --debug service-list
neutron --debug agent-list
openstack --debug network agent list
tools/init-runonce
nova --debug boot --poll --image $(openstack image list | awk '/cirros/ {print $2}') --nic net-id=$(openstack network list | awk '/demo-net/ {print $2}') --flavor 1 kolla_boot_test