yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #53469
[Bug 1598928] Re: glance-replicator does not accept space-separated command-line arguments
Reviewed: https://review.openstack.org/337295
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=aff592de1a0e87779933feb66485865e274eef35
Submitter: Jenkins
Branch: master
commit aff592de1a0e87779933feb66485865e274eef35
Author: Marc Abramowitz <marc@xxxxxxxxxxxxxxxxxxx>
Date: Mon Jul 4 09:16:18 2016 -0700
Use MultiStrOpt instead of ListOpt for args
This allows arguments to be provided space-separated, instead of
comma-separated.
Closes-Bug: #1598928
Change-Id: I3c60a015a4fe45201ca3272f5d9cc7a9bb1bedd3
** Changed in: glance
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1598928
Title:
glance-replicator does not accept space-separated command-line
arguments
Status in Glance:
Fix Released
Bug description:
glance-replicator does not accept space-separated command-line
arguments. It currently requires the user to provide a single command-
line argument that is a comma-separated string, which doesn't match
UNIX conventions or the docs for glance-replicator.
```
$ glance-replicator --mastertoken $PRIMARY_AUTH_TOKEN --slavetoken $SECONDARY_AUTH_TOKEN compare az2:9292 az3:9292
...
glance-replicator: error: unrecognized arguments: az3:9292
Please specify one command
```
This is because it's using a `oslo_config.ListOpt` for `args` instead
of an `oslo_config.MultiStrOpt`.
Also on ask.openstack.org:
https://ask.openstack.org/en/question/94219/glance-replicator-
unrecognized-arguments/?answer=94232#post-id-94232
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1598928/+subscriptions
References