@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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to