cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Weingärtner <rafaelweingart...@gmail.com>
Subject Re: reassign a vm from account to project
Date Fri, 14 Oct 2016 13:34:52 GMT
>From an account to a project, it is not possible.
Even between users, it is only possible if users are from the same domain.

The solution you described is the only one I can think of that would work.
Sadly, as you said, it causes a downtime.

If downtime is too complicated for you (e.g. critical systems 24/7), or if
you are feeling adventurous, I would suggest you applying changes directly
in the database. However, that requires a lot of attention, work, and some
planning to do the job properly.


On Fri, Oct 14, 2016 at 10:28 AM, Gerd Müller <gerd.mueller@teamix.de>
wrote:

> Hi Mauricio,
>
> thanks a lot but that doesn't help. The first api call just assignes
> vms to accounts and the second assigns the accounts to projects. Both
> work but the vm needs to be detached from the account and attached to
> the project.
>
> Right now I only see one possible solution:
> 1. stop the vm
> 2. create a template from this vm
> 3. create a vm from this template inside the project
> 4. start this new vm
> 5. remove the source vm
>
> But for those steps I need to schedule a downtime :( Hoped to find a
> solution without stopping the vm.
>
> Thanks,
>
> Gerd
>
> Am Freitag, den 14.10.2016, 13:21 +0000 schrieb Mauricio Schaepers:
> > Hi Gerd,
> >
> > never done that yet but if the UI doesn't show you any option I
> > assume that the API is going to help you to get there.
> > https://cloudstack.apache.org/api/apidocs-4.9/apis/assignVirtualMachi
> > ne.html
> > https://cloudstack.apache.org/api/apidocs-4.9/apis/addAccountToProjec
> > t.html
> >
> > If you don't know how to use the API here is a nice intro http://de.s
> > lideshare.net/sebastiengoasguen/intro-to-cloudstack-api
> >
> > I personally prefer psCloudStack for PowerShell for the "quick &
> > dirty jobs"
> >
> > Mit freundlichen Grüßen,
> >
> > Mauricio Schäpers
> > CIO / Trainer & Consultant
> >
> > VS Qloud Solution GmbH
> > Wilhelm-Binder-Str. 19
> > 78048 VS-Villingen
> >
> > Tel. +49 7721 69701 20
> > Mob. +49 171 6970120
> > Email: m.schaepers@vsqloud.de
> > Internet: www.vsqloud.de
> >
> > Geschäftsführer: Michael Marx
> > Handelsregister: HRB 713324
> > Sitz der Gesellschaft: Villingen-Schwenningen
> > Steuer-Nr. 22108/21737
> > USt-IdNr. DE300890182
> >
> >
> --
> Gerd Müller  | Service Manager Cloud
>
> teamix GmbH
> Südwestpark 43
> 90449 Nürnberg
>
> Tel.:  +49 911 30999 293 | Fax: +49 911 30999 99
> mail: gerd.mueller@teamix.de | web:  http://www.teamix.de | blog:
> http://blog.teamix.de
>
> Amtsgericht Nürnberg, HRB 18320 | Geschäftsführer: Oliver Kügow, Richard
> Müller
>
> teamix Support Hotline: +49 911 30999-112
>
>  *** Cloud Computing, Virenschutz, Datensicherung und mehr: teamix @itsa
> vom 18.-20.Oktober 2016, Messe Nürnberg ***
>
>
>
> -----Original Message-----
> > From: Gerd Müller [mailto:gerd.mueller@teamix.de]
> > Sent: Freitag, 14. Oktober 2016 14:35
> > To: users@cloudstack.apache.org
> > Subject: reassign a vm from account to project
> >
> > Hi list,
> >
> > I am new to cloudstack so sorry if there is a common solution to this
> > problem.
> >
> > But can anyone tell me how I can reassign a vm from an account to a
> > project?
> >
> > Thanks,
> >
> > Gerd
> >
> > --
> > Gerd Müller  | Service Manager Cloud
> >
> > teamix GmbH
> > Südwestpark 43
> > 90449 Nürnberg
> >
> > Tel.:  +49 911 30999 293 | Fax: +49 911 30999 99
> > mail: gerd.mueller@teamix.de | web:  http://www.teamix.de | blog:
> > http://blog.teamix.de
> >
> > Amtsgericht Nürnberg, HRB 18320 | Geschäftsführer: Oliver Kügow,
> > Richard Müller
> >
> > teamix Support Hotline: +49 911 30999-112
> >
> >  *** Cloud Computing, Virenschutz, Datensicherung und mehr: teamix
> > @itsa vom 18.-20.Oktober 2016, Messe Nürnberg ***
> >
> >
> >
>



-- 
Rafael Weingärtner

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message