Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-21 Thread Christopher Yeoh
On Mon, Oct 21, 2013 at 1:32 AM, Lingxian Kong wrote: > two questions here: > 1. whther '--all-tenants' should be with '--tenant' or not. > 2. can admin see other tenant's server using its name instead of id? > > I think a name search as well as id makes sense, though that change lies entirely wi

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-20 Thread Lingxian Kong
two questions here: 1. whther '--all-tenants' should be with '--tenant' or not. 2. can admin see other tenant's server using its name instead of id? 2013/10/16 Robert Collins > I think that would be fine: --tenant FOO implying 'show me results > from FOO if I have access to that' makes total se

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-15 Thread Robert Collins
I think that would be fine: --tenant FOO implying 'show me results from FOO if I have access to that' makes total sense to me. On 16 October 2013 17:52, Christopher Yeoh wrote: > > --all-tenants would only be turned on if --tenant was specified, not a > general default. Do you see that causing an

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-15 Thread Christopher Yeoh
On Tue, Oct 15, 2013 at 9:34 PM, Lingxian Kong wrote: > Have there been any changes in V3 now? > > > I'm currently having a look at it. There's a bit other general breakage with all_tenants in there that should be fixed first. Chris ___ OpenStack-dev m

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-15 Thread Christopher Yeoh
--all-tenants would only be turned on if --tenant was specified, not a general default. Do you see that causing any problems for non trivial clouds? Chris On Tue, Oct 15, 2013 at 7:26 PM, Robert Collins wrote: > Please don't invert the bug though: if --all-tenants becomes the > default nova ser

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-15 Thread Lingxian Kong
Have there been any changes in V3 now? 2013/10/15 Robert Collins > Please don't invert the bug though: if --all-tenants becomes the > default nova server behaviour in v3, please ensure there is a > --no-all-tenants to unbreak it for non-trivial clouds. > > Thanks! > -Rob > > On 15 October 2013

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-15 Thread Robert Collins
Please don't invert the bug though: if --all-tenants becomes the default nova server behaviour in v3, please ensure there is a --no-all-tenants to unbreak it for non-trivial clouds. Thanks! -Rob On 15 October 2013 20:54, Lingxian Kong wrote: > then, what's the conclusion that we can begin to sta

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-15 Thread Lingxian Kong
then, what's the conclusion that we can begin to start? 2013/10/15 Christopher Yeoh > On Tue, Oct 15, 2013 at 10:25 AM, Caitlin Bestler < > caitlin.best...@nexenta.com> wrote: > >> On 10/14/2013 8:37 AM, Ben Nemec wrote: >> >>> I agree that this needs to be fixed. It's very counterintuitive, i

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-14 Thread Christopher Yeoh
On Tue, Oct 15, 2013 at 10:25 AM, Caitlin Bestler < caitlin.best...@nexenta.com> wrote: > On 10/14/2013 8:37 AM, Ben Nemec wrote: > >> I agree that this needs to be fixed. It's very counterintuitive, if >> nothing else (which is also my argument against requiring all-tenants >> for admin users in

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-14 Thread Caitlin Bestler
On 10/14/2013 8:37 AM, Ben Nemec wrote: I agree that this needs to be fixed. It's very counterintuitive, if nothing else (which is also my argument against requiring all-tenants for admin users in the first place). The only question for me is whether to fix it in novaclient or in Nova itself.

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-14 Thread Christopher Yeoh
On Mon, 14 Oct 2013 10:37:10 -0500 Ben Nemec wrote: > > > I agree that this needs to be fixed. It's very counterintuitive, if > nothing else (which is also my argument against requiring all-tenants > for admin users in the first place). The only question for me is > whether to fix it in novacli

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-14 Thread Ben Nemec
I agree that this needs to be fixed. It's very counterintuitive, if nothing else (which is also my argument against requiring all-tenants for admin users in the first place). The only question for me is whether to fix it in novaclient or in Nova itself. The comments on the review from the previo

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-14 Thread Lingxian Kong
Seems no consensus was reached. I think we should turn it up and make some discussion again. IMHO, it's a bug. http://paste.openstack.org/show/48359/, I didn't see there is any explanation in the API doc or CLI helper, that we only use server-name as a non-admin role. 2013/10/14 Ben Nemec > **

Re: [openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-14 Thread Ben Nemec
On 2013-10-14 04:29, Lingxian Kong wrote: > Hi there: > > When I perform some operations on servers with administrator role, using CLI, > I met tha same strage behavior as described: > https://bugs.launchpad.net/python-novaclient/+bug/1050901 [1]. I'm afraid the > Glance has the same issu

[openstack-dev] [novaclient]should administrator can see all servers of all tenants by default?

2013-10-14 Thread Lingxian Kong
Hi there: When I perform some operations on servers with administrator role, using CLI, I met tha same strage behavior as described: https://bugs.launchpad.net/python-novaclient/+bug/1050901. I'm afraid the Glance has the same issue. What I want to figure out is, what is the expected behavior whe