You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Vivek Kumar <vi...@indiqus.com.INVALID> on 2022/06/09 09:15:36 UTC

Role for taking console of the VM

Hello Folks.

I am currently going through the custom rules, so in which API user can take the console of the VM. So I want a user where he can list all the resources and open the console of the VM/VR. So in custom roles I have allowed - “list*”, he is able to list all the resources but console option is not visible. So what else should I need to allow to take the console of VMs/VRs.



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

+ 91 7503460090 <tel:++91+7503460090>
	vivek.kumar@indiqus.com <ma...@indiqus.com>
	www.indiqus.com <https://www.indiqus.com/>




-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.

Re: Role for taking console of the VM

Posted by Wei ZHOU <us...@gmail.com>.
The VM console is only available for users which have access to
"listVirtualMachines" api.
The VM should be in the state "Running", "Starting" or "Stopping".

-Wei


On Thu, 9 Jun 2022 at 14:41, Vivek Kumar <vi...@indiqus.com.invalid>
wrote:

> Thanks way for the response, So do we get the option in GUI for read only
> user ? Because whenever I create a read-only user and login from GUI the
> console option is not visible.
>
>
>
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
>
> + 91 7503460090 <tel:++91+7503460090>
>         vivek.kumar@indiqus.com <ma...@indiqus.com>
>         www.indiqus.com <https://www.indiqus.com/>
>
>
>
> > On 09-Jun-2022, at 3:26 PM, Wei ZHOU <us...@gmail.com> wrote:
> >
> > Hi Vivek,
> >
> > There is no cloudstack API to get vm console, but you can get it by
> sending
> > a request to
> >
> > http://<mgmt IP>:8080/client/console?cmd=access&vm=<vm
> uuid>&apikey=<user
> > api key>&signature=<signature>&response=json
> >
> > -Wei
> >
> > On Thu, 9 Jun 2022 at 11:16, Vivek Kumar <vivek.kumar@indiqus.com
> .invalid>
> > wrote:
> >
> >> Hello Folks.
> >>
> >> I am currently going through the custom rules, so in which API user can
> >> take the console of the VM. So I want a user where he can list all the
> >> resources and open the console of the VM/VR. So in custom roles I have
> >> allowed - “list*”, he is able to list all the resources but console
> option
> >> is not visible. So what else should I need to allow to take the console
> of
> >> VMs/VRs.
> >>
> >>
> >>
> >> Vivek Kumar
> >> Sr. Manager - Cloud & DevOps
> >> TechOps | Indiqus Technologies
> >>
> >> + 91 7503460090 <tel:++91+7503460090>
> >>        vivek.kumar@indiqus.com <ma...@indiqus.com>
> >>        www.indiqus.com <https://www.indiqus.com/>
> >>
> >>
> >>
> >>
> >> --
> >> This message is intended only for the use of the individual or entity to
> >> which it is addressed and may contain confidential and/or privileged
> >> information. If you are not the intended recipient, please delete the
> >> original message and any copy of it from your computer system. You are
> >> hereby notified that any dissemination, distribution or copying of this
> >> communication is strictly prohibited unless proper authorization has
> been
> >> obtained for such action. If you have received this communication in
> >> error,
> >> please notify the sender immediately. Although IndiQus attempts to sweep
> >> e-mail and attachments for viruses, it does not guarantee that both are
> >> virus-free and accepts no liability for any damage sustained as a result
> >> of
> >> viruses.
> >>
>
>
> --
> This message is intended only for the use of the individual or entity to
> which it is addressed and may contain confidential and/or privileged
> information. If you are not the intended recipient, please delete the
> original message and any copy of it from your computer system. You are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited unless proper authorization has been
> obtained for such action. If you have received this communication in
> error,
> please notify the sender immediately. Although IndiQus attempts to sweep
> e-mail and attachments for viruses, it does not guarantee that both are
> virus-free and accepts no liability for any damage sustained as a result
> of
> viruses.
>

Re: Role for taking console of the VM

Posted by Vivek Kumar <vi...@indiqus.com.INVALID>.
Thanks way for the response, So do we get the option in GUI for read only user ? Because whenever I create a read-only user and login from GUI the console option is not visible. 



Vivek Kumar
Sr. Manager - Cloud & DevOps
TechOps | Indiqus Technologies

+ 91 7503460090 <tel:++91+7503460090>
	vivek.kumar@indiqus.com <ma...@indiqus.com>
	www.indiqus.com <https://www.indiqus.com/>



> On 09-Jun-2022, at 3:26 PM, Wei ZHOU <us...@gmail.com> wrote:
> 
> Hi Vivek,
> 
> There is no cloudstack API to get vm console, but you can get it by sending
> a request to
> 
> http://<mgmt IP>:8080/client/console?cmd=access&vm=<vm uuid>&apikey=<user
> api key>&signature=<signature>&response=json
> 
> -Wei
> 
> On Thu, 9 Jun 2022 at 11:16, Vivek Kumar <vi...@indiqus.com.invalid>
> wrote:
> 
>> Hello Folks.
>> 
>> I am currently going through the custom rules, so in which API user can
>> take the console of the VM. So I want a user where he can list all the
>> resources and open the console of the VM/VR. So in custom roles I have
>> allowed - “list*”, he is able to list all the resources but console option
>> is not visible. So what else should I need to allow to take the console of
>> VMs/VRs.
>> 
>> 
>> 
>> Vivek Kumar
>> Sr. Manager - Cloud & DevOps
>> TechOps | Indiqus Technologies
>> 
>> + 91 7503460090 <tel:++91+7503460090>
>>        vivek.kumar@indiqus.com <ma...@indiqus.com>
>>        www.indiqus.com <https://www.indiqus.com/>
>> 
>> 
>> 
>> 
>> --
>> This message is intended only for the use of the individual or entity to
>> which it is addressed and may contain confidential and/or privileged
>> information. If you are not the intended recipient, please delete the
>> original message and any copy of it from your computer system. You are
>> hereby notified that any dissemination, distribution or copying of this
>> communication is strictly prohibited unless proper authorization has been
>> obtained for such action. If you have received this communication in
>> error,
>> please notify the sender immediately. Although IndiQus attempts to sweep
>> e-mail and attachments for viruses, it does not guarantee that both are
>> virus-free and accepts no liability for any damage sustained as a result
>> of
>> viruses.
>> 


-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.

Re: Role for taking console of the VM

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

There is no cloudstack API to get vm console, but you can get it by sending
a request to

http://<mgmt IP>:8080/client/console?cmd=access&vm=<vm uuid>&apikey=<user
api key>&signature=<signature>&response=json

-Wei

On Thu, 9 Jun 2022 at 11:16, Vivek Kumar <vi...@indiqus.com.invalid>
wrote:

> Hello Folks.
>
> I am currently going through the custom rules, so in which API user can
> take the console of the VM. So I want a user where he can list all the
> resources and open the console of the VM/VR. So in custom roles I have
> allowed - “list*”, he is able to list all the resources but console option
> is not visible. So what else should I need to allow to take the console of
> VMs/VRs.
>
>
>
> Vivek Kumar
> Sr. Manager - Cloud & DevOps
> TechOps | Indiqus Technologies
>
> + 91 7503460090 <tel:++91+7503460090>
>         vivek.kumar@indiqus.com <ma...@indiqus.com>
>         www.indiqus.com <https://www.indiqus.com/>
>
>
>
>
> --
> This message is intended only for the use of the individual or entity to
> which it is addressed and may contain confidential and/or privileged
> information. If you are not the intended recipient, please delete the
> original message and any copy of it from your computer system. You are
> hereby notified that any dissemination, distribution or copying of this
> communication is strictly prohibited unless proper authorization has been
> obtained for such action. If you have received this communication in
> error,
> please notify the sender immediately. Although IndiQus attempts to sweep
> e-mail and attachments for viruses, it does not guarantee that both are
> virus-free and accepts no liability for any damage sustained as a result
> of
> viruses.
>