[Bug 980930] Re: nova client does not respect regions for a subset of commands

Andrew Glen-Young 980930 at bugs.launchpad.net
Fri Apr 27 12:04:50 UTC 2012


@James:

It looks like the --help output doesn't list --region and lists
--os_region_name and --region_name instead. That said, my tests seem to
show that the --region option still works (for now).

Retesting:

$ for opt in region region_name os_region_name; do
      for region in doesnotexist regionOne regionTwo; do
          echo "opt: ${opt}, region: ${region}"
          nova --${opt} ${region} endpoints | \
              awk '$2 ~ /region/ { print $4 }' | sort -u
      done
  done

opt: region, region: doesnotexist
ERROR: 
opt: region, region: regionOne
regionOne
opt: region, region: regionTwo
regionOne

opt: region_name, region: doesnotexist
ERROR: 
opt: region_name, region: regionOne
regionOne
opt: region_name, region: regionTwo
regionOne

opt: os_region_name, region: doesnotexist
ERROR: 
opt: os_region_name, region: regionOne
regionOne
opt: os_region_name, region: regionTwo
regionOne

My results seem to be the same.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to python-novaclient in Ubuntu.
https://bugs.launchpad.net/bugs/980930

Title:
  nova client does not respect regions for a subset of commands

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-novaclient/+bug/980930/+subscriptions



More information about the Ubuntu-server-bugs mailing list