Switch back to --class option

This partially reverts 611cd1fa9c4b9d70e339ff1290f680f2ff6a5878 ,
because the change requires openstackclient > 7.0.0 but now it was
downgraded in u-c to unblock nova. We can revert this change again
when openstackclient in u-c is again bumped.

Change-Id: I05b7d0fd257852c44ce8f720277a84896a345a27
This commit is contained in:
Takashi Kajinami 2024-09-20 01:24:28 +09:00
parent feb412a6b2
commit 4e92f2f130

View File

@ -450,8 +450,10 @@ function tacker_setup_default_vim_resources {
cat $VIM_CONFIG_FILE
echo "Set up target openstack vim resources ..."
# TODO(tkajinam): Replace --class by --default when openstackclient in u-c
# is again bumped.
openstack --os-cloud=devstack-admin quota set \
--default --instances -1 --cores -1 --ram -1 default
--class --instances -1 --cores -1 --ram -1 default
openstack --os-cloud=devstack-admin \
quota set --ports -1 $DEFAULT_VIM_PROJECT_NAME --force