You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Nux! <nu...@li.nux.ro> on 2019/05/20 16:14:32 UTC

User's project VMs not visible for admin (in UI)

Hi,

I've created a new subdomain ROOT/customers and created a user there; as user I've created a new project and in it a couple of VMs.
When I logged back in as admin there was "no data to show", I expected the admin should be able to see all VMs from all projects, of all users.
I can see the VMs in cloudmonkey if I run:
list virtualmachines projectid=b9a75ec4-82fc-4e88-8733-022df7956143

Is this normal or should I open an issue?


--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

Re: User's project VMs not visible for admin (in UI)

Posted by Nux! <nu...@li.nux.ro>.
Ok, thanks guys, I've created an issue for this.

https://github.com/apache/cloudstack/issues/3343

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Wei ZHOU" <us...@gmail.com>
> To: "dev" <de...@cloudstack.apache.org>
> Sent: Monday, 20 May, 2019 21:14:13
> Subject: Re: User's project VMs not visible for admin (in UI)

> Hi Paul,
> 
> It looks good to me. in additional, we can add a global setting to specify
> the default behavior.
> 
> 
> -Wei
> 
> Paul Angus <pa...@shapeblue.com> 于2019年5月20日周一 下午10:09写道:
> 
>> Thanks Wei,
>>
>> That’s what I thought...
>> The same applies to VRs and I think templates/isos/volumes etc ...
>>
>> My thoughts have been that to keep compatibility, these 'list...' API
>> commands should have an extra optional parameter such as includeprojects
>> which defaults to false, we'd have to add a checkbox or something in the UI
>> for users to toggle....
>>
>> Paul.
>>
>> paul.angus@shapeblue.com
>> www.shapeblue.com
>> Amadeus House, Floral Street, London  WC2E 9DPUK
>> @shapeblue
>>
>>
>>
>>
>> -----Original Message-----
>> From: Wei ZHOU <us...@gmail.com>
>> Sent: 20 May 2019 21:02
>> To: dev@cloudstack.apache.org
>> Subject: Re: User's project VMs not visible for admin (in UI)
>>
>> As I understand, Nux wants to see all instances (in projects or not in
>> projects) to be listed in default view -> Instances tabs.
>> For now, only instances not in projects are listed.
>> That's what we (as Leaseweb) want to change.
>>
>> -Wei
>>
>>
>>
>> Paul Angus <pa...@shapeblue.com> 于2019年5月20日周一 下午9:44写道:
>>
>> > q. As admin,  are you looking in the default view project instances
>> > tab for these VMs ?  or in the instances tab when IN the project?
>> >
>> > paul.angus@shapeblue.com
>> > www.shapeblue.com
>> > Amadeus House, Floral Street, London  WC2E 9DPUK @shapeblue
>> >
>> >
>> >
>> >
>> > -----Original Message-----
>> > From: Andrija Panic <an...@gmail.com>
>> > Sent: 20 May 2019 17:31
>> > To: dev <de...@cloudstack.apache.org>
>> > Subject: Re: User's project VMs not visible for admin (in UI)
>> >
>> > Hi Lucian,
>> >
>> > no, it's NOT normal, but YES, this is the current behaviour...
>> >
>> > Cheers
>> >
>> > On Mon, 20 May 2019 at 18:14, Nux! <nu...@li.nux.ro> wrote:
>> >
>> > > Hi,
>> > >
>> > > I've created a new subdomain ROOT/customers and created a user there;
>> > > as user I've created a new project and in it a couple of VMs.
>> > > When I logged back in as admin there was "no data to show", I expected
>> > > the admin should be able to see all VMs from all projects, of all
>> users.
>> > > I can see the VMs in cloudmonkey if I run:
>> > > list virtualmachines projectid=b9a75ec4-82fc-4e88-8733-022df7956143
>> > >
>> > > Is this normal or should I open an issue?
>> > >
>> > >
>> > > --
>> > > Sent from the Delta quadrant using Borg technology!
>> > >
>> > > Nux!
>> > > www.nux.ro
>> > >
>> >
>> >
>> > --
>> >
>> > Andrija Panić
>> >

Re: User's project VMs not visible for admin (in UI)

Posted by Wei ZHOU <us...@gmail.com>.
Hi Paul,

It looks good to me. in additional, we can add a global setting to specify
the default behavior.


-Wei

Paul Angus <pa...@shapeblue.com> 于2019年5月20日周一 下午10:09写道:

> Thanks Wei,
>
> That’s what I thought...
> The same applies to VRs and I think templates/isos/volumes etc ...
>
> My thoughts have been that to keep compatibility, these 'list...' API
> commands should have an extra optional parameter such as includeprojects
> which defaults to false, we'd have to add a checkbox or something in the UI
> for users to toggle....
>
> Paul.
>
> paul.angus@shapeblue.com
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK
> @shapeblue
>
>
>
>
> -----Original Message-----
> From: Wei ZHOU <us...@gmail.com>
> Sent: 20 May 2019 21:02
> To: dev@cloudstack.apache.org
> Subject: Re: User's project VMs not visible for admin (in UI)
>
> As I understand, Nux wants to see all instances (in projects or not in
> projects) to be listed in default view -> Instances tabs.
> For now, only instances not in projects are listed.
> That's what we (as Leaseweb) want to change.
>
> -Wei
>
>
>
> Paul Angus <pa...@shapeblue.com> 于2019年5月20日周一 下午9:44写道:
>
> > q. As admin,  are you looking in the default view project instances
> > tab for these VMs ?  or in the instances tab when IN the project?
> >
> > paul.angus@shapeblue.com
> > www.shapeblue.com
> > Amadeus House, Floral Street, London  WC2E 9DPUK @shapeblue
> >
> >
> >
> >
> > -----Original Message-----
> > From: Andrija Panic <an...@gmail.com>
> > Sent: 20 May 2019 17:31
> > To: dev <de...@cloudstack.apache.org>
> > Subject: Re: User's project VMs not visible for admin (in UI)
> >
> > Hi Lucian,
> >
> > no, it's NOT normal, but YES, this is the current behaviour...
> >
> > Cheers
> >
> > On Mon, 20 May 2019 at 18:14, Nux! <nu...@li.nux.ro> wrote:
> >
> > > Hi,
> > >
> > > I've created a new subdomain ROOT/customers and created a user there;
> > > as user I've created a new project and in it a couple of VMs.
> > > When I logged back in as admin there was "no data to show", I expected
> > > the admin should be able to see all VMs from all projects, of all
> users.
> > > I can see the VMs in cloudmonkey if I run:
> > > list virtualmachines projectid=b9a75ec4-82fc-4e88-8733-022df7956143
> > >
> > > Is this normal or should I open an issue?
> > >
> > >
> > > --
> > > Sent from the Delta quadrant using Borg technology!
> > >
> > > Nux!
> > > www.nux.ro
> > >
> >
> >
> > --
> >
> > Andrija Panić
> >
>

RE: User's project VMs not visible for admin (in UI)

Posted by Paul Angus <pa...@shapeblue.com>.
Thanks Wei,

That’s what I thought...
The same applies to VRs and I think templates/isos/volumes etc ...

My thoughts have been that to keep compatibility, these 'list...' API commands should have an extra optional parameter such as includeprojects which defaults to false, we'd have to add a checkbox or something in the UI for users to toggle....

Paul.

paul.angus@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 


-----Original Message-----
From: Wei ZHOU <us...@gmail.com> 
Sent: 20 May 2019 21:02
To: dev@cloudstack.apache.org
Subject: Re: User's project VMs not visible for admin (in UI)

As I understand, Nux wants to see all instances (in projects or not in
projects) to be listed in default view -> Instances tabs.
For now, only instances not in projects are listed.
That's what we (as Leaseweb) want to change.

-Wei



Paul Angus <pa...@shapeblue.com> 于2019年5月20日周一 下午9:44写道:

> q. As admin,  are you looking in the default view project instances 
> tab for these VMs ?  or in the instances tab when IN the project?
>
> paul.angus@shapeblue.com
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK @shapeblue
>
>
>
>
> -----Original Message-----
> From: Andrija Panic <an...@gmail.com>
> Sent: 20 May 2019 17:31
> To: dev <de...@cloudstack.apache.org>
> Subject: Re: User's project VMs not visible for admin (in UI)
>
> Hi Lucian,
>
> no, it's NOT normal, but YES, this is the current behaviour...
>
> Cheers
>
> On Mon, 20 May 2019 at 18:14, Nux! <nu...@li.nux.ro> wrote:
>
> > Hi,
> >
> > I've created a new subdomain ROOT/customers and created a user there;
> > as user I've created a new project and in it a couple of VMs.
> > When I logged back in as admin there was "no data to show", I expected
> > the admin should be able to see all VMs from all projects, of all users.
> > I can see the VMs in cloudmonkey if I run:
> > list virtualmachines projectid=b9a75ec4-82fc-4e88-8733-022df7956143
> >
> > Is this normal or should I open an issue?
> >
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
>
>
> --
>
> Andrija Panić
>

Re: User's project VMs not visible for admin (in UI)

Posted by Wei ZHOU <us...@gmail.com>.
As I understand, Nux wants to see all instances (in projects or not in
projects) to be listed in default view -> Instances tabs.
For now, only instances not in projects are listed.
That's what we (as Leaseweb) want to change.

-Wei



Paul Angus <pa...@shapeblue.com> 于2019年5月20日周一 下午9:44写道:

> q. As admin,  are you looking in the default view project instances tab
> for these VMs ?  or in the instances tab when IN the project?
>
> paul.angus@shapeblue.com
> www.shapeblue.com
> Amadeus House, Floral Street, London  WC2E 9DPUK
> @shapeblue
>
>
>
>
> -----Original Message-----
> From: Andrija Panic <an...@gmail.com>
> Sent: 20 May 2019 17:31
> To: dev <de...@cloudstack.apache.org>
> Subject: Re: User's project VMs not visible for admin (in UI)
>
> Hi Lucian,
>
> no, it's NOT normal, but YES, this is the current behaviour...
>
> Cheers
>
> On Mon, 20 May 2019 at 18:14, Nux! <nu...@li.nux.ro> wrote:
>
> > Hi,
> >
> > I've created a new subdomain ROOT/customers and created a user there;
> > as user I've created a new project and in it a couple of VMs.
> > When I logged back in as admin there was "no data to show", I expected
> > the admin should be able to see all VMs from all projects, of all users.
> > I can see the VMs in cloudmonkey if I run:
> > list virtualmachines projectid=b9a75ec4-82fc-4e88-8733-022df7956143
> >
> > Is this normal or should I open an issue?
> >
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
>
>
> --
>
> Andrija Panić
>

RE: User's project VMs not visible for admin (in UI)

Posted by Paul Angus <pa...@shapeblue.com>.
q. As admin,  are you looking in the default view project instances tab for these VMs ?  or in the instances tab when IN the project?

paul.angus@shapeblue.com 
www.shapeblue.com
Amadeus House, Floral Street, London  WC2E 9DPUK
@shapeblue
  
 


-----Original Message-----
From: Andrija Panic <an...@gmail.com> 
Sent: 20 May 2019 17:31
To: dev <de...@cloudstack.apache.org>
Subject: Re: User's project VMs not visible for admin (in UI)

Hi Lucian,

no, it's NOT normal, but YES, this is the current behaviour...

Cheers

On Mon, 20 May 2019 at 18:14, Nux! <nu...@li.nux.ro> wrote:

> Hi,
>
> I've created a new subdomain ROOT/customers and created a user there; 
> as user I've created a new project and in it a couple of VMs.
> When I logged back in as admin there was "no data to show", I expected 
> the admin should be able to see all VMs from all projects, of all users.
> I can see the VMs in cloudmonkey if I run:
> list virtualmachines projectid=b9a75ec4-82fc-4e88-8733-022df7956143
>
> Is this normal or should I open an issue?
>
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>


-- 

Andrija Panić

Re: User's project VMs not visible for admin (in UI)

Posted by Andrija Panic <an...@gmail.com>.
Hi Lucian,

no, it's NOT normal, but YES, this is the current behaviour...

Cheers

On Mon, 20 May 2019 at 18:14, Nux! <nu...@li.nux.ro> wrote:

> Hi,
>
> I've created a new subdomain ROOT/customers and created a user there; as
> user I've created a new project and in it a couple of VMs.
> When I logged back in as admin there was "no data to show", I expected the
> admin should be able to see all VMs from all projects, of all users.
> I can see the VMs in cloudmonkey if I run:
> list virtualmachines projectid=b9a75ec4-82fc-4e88-8733-022df7956143
>
> Is this normal or should I open an issue?
>
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>


-- 

Andrija Panić