Move VM instances from default view to a Project

2014-08-12 Thread Osay Osman Yuuni
Hi,
Is there a way to move VMs from the default view to a project that I
created?  These VMs were created in the default view and now I want them in
a project so that the accounts in that project can manipulate them.  I
can't see anything in the GUI that can be used.  Is there a command line
way of doing this?

TIA


Re: Move VM instances from default view to a Project

2014-08-12 Thread Alena Prokharchyk
No, CS doesn’t have API support for that. Once the vm is created for the 
regular account, it can’t be moved to the project; and the other way around.

-Alena.

From: Osay Osman Yuuni oyu...@gmail.commailto:oyu...@gmail.com
Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Date: Tuesday, August 12, 2014 at 1:40 AM
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Subject: Move VM instances from default view to a Project

Hi,
Is there a way to move VMs from the default view to a project that I
created?  These VMs were created in the default view and now I want them in
a project so that the accounts in that project can manipulate them.  I
can't see anything in the GUI that can be used.  Is there a command line
way of doing this?

TIA



Re: Move VM instances from default view to a Project

2014-08-12 Thread Harikrishna Patnala
Yes there is no such API but earlier I saw the similar requirement and was done 
with some DB manual operations

Please check the discussion
http://mail-archives.apache.org/mod_mbox/cloudstack-users/201401.mbox/%3c2d4972281edd4e4693e52af1526f7...@amxpr07mb070.eurprd07.prod.outlook.com%3E

-Harikrishna

On 12-Aug-2014, at 11:12 pm, Alena Prokharchyk alena.prokharc...@citrix.com 
wrote:

 No, CS doesn’t have API support for that. Once the vm is created for the 
 regular account, it can’t be moved to the project; and the other way around.
 
 -Alena.
 
 From: Osay Osman Yuuni oyu...@gmail.commailto:oyu...@gmail.com
 Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Tuesday, August 12, 2014 at 1:40 AM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Subject: Move VM instances from default view to a Project
 
 Hi,
 Is there a way to move VMs from the default view to a project that I
 created?  These VMs were created in the default view and now I want them in
 a project so that the accounts in that project can manipulate them.  I
 can't see anything in the GUI that can be used.  Is there a command line
 way of doing this?
 
 TIA
 



Re: Move VM instances from default view to a Project

2014-08-12 Thread Alena Prokharchyk
DB hacking is not something we should recommend to the customers/users, as its 
bugs prone. Plus the procedure is not consistent across releases due to 
possible DB changes.

If the customers need this feature, they should file an enhancement request, so 
its implemented on the CS the correct way.

Thanks,
-Alena.

From: Harikrishna Patnala 
harikrishna.patn...@citrix.commailto:harikrishna.patn...@citrix.com
Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Date: Tuesday, August 12, 2014 at 11:29 AM
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Subject: Re: Move VM instances from default view to a Project

Yes there is no such API but earlier I saw the similar requirement and was done 
with some DB manual operations

Please check the discussion
http://mail-archives.apache.org/mod_mbox/cloudstack-users/201401.mbox/%3c2d4972281edd4e4693e52af1526f7...@amxpr07mb070.eurprd07.prod.outlook.com%3E

-Harikrishna

On 12-Aug-2014, at 11:12 pm, Alena Prokharchyk 
alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com wrote:

No, CS doesn’t have API support for that. Once the vm is created for the 
regular account, it can’t be moved to the project; and the other way around.
-Alena.
From: Osay Osman Yuuni 
oyu...@gmail.commailto:oyu...@gmail.commailto:oyu...@gmail.com
Reply-To: 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Date: Tuesday, August 12, 2014 at 1:40 AM
To: 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Subject: Move VM instances from default view to a Project
Hi,
Is there a way to move VMs from the default view to a project that I
created?  These VMs were created in the default view and now I want them in
a project so that the accounts in that project can manipulate them.  I
can't see anything in the GUI that can be used.  Is there a command line
way of doing this?
TIA




Re: Move VM instances from default view to a Project

2014-08-12 Thread Osay Osman Yuuni
Thanks all.  And I agree fully that direct DB manipulation should not be
attempted.


On 12 August 2014 21:08, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 I agree with Alena,

 Just because we can, does not mean we should.

 Whilst I originally worked out how to do it via direct DB updating, if
 this feature is required, a Feature Request should be submitted.

 Regards

 Geoff Higginbottom

 D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

 geoff.higginbot...@shapeblue.com

 -Original Message-
 From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com]
 Sent: 12 August 2014 19:37
 To: users@cloudstack.apache.org; Harikrishna Patnala
 Subject: Re: Move VM instances from default view to a Project

 DB hacking is not something we should recommend to the customers/users, as
 its bugs prone. Plus the procedure is not consistent across releases due to
 possible DB changes.

 If the customers need this feature, they should file an enhancement
 request, so its implemented on the CS the correct way.

 Thanks,
 -Alena.

 From: Harikrishna Patnala harikrishna.patn...@citrix.commailto:
 harikrishna.patn...@citrix.com
 Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Tuesday, August 12, 2014 at 11:29 AM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
 users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Subject: Re: Move VM instances from default view to a Project

 Yes there is no such API but earlier I saw the similar requirement and was
 done with some DB manual operations

 Please check the discussion

 http://mail-archives.apache.org/mod_mbox/cloudstack-users/201401.mbox/%3c2d4972281edd4e4693e52af1526f7...@amxpr07mb070.eurprd07.prod.outlook.com%3E

 -Harikrishna

 On 12-Aug-2014, at 11:12 pm, Alena Prokharchyk 
 alena.prokharc...@citrix.commailto:alena.prokharc...@citrix.com wrote:

 No, CS doesn’t have API support for that. Once the vm is created for the
 regular account, it can’t be moved to the project; and the other way around.
 -Alena.
 From: Osay Osman Yuuni oyu...@gmail.commailto:oyu...@gmail.commailto:
 oyu...@gmail.com
 Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 mailto:users@cloudstack.apache.org users@cloudstack.apache.org
 mailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Date: Tuesday, August 12, 2014 at 1:40 AM
 To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 mailto:users@cloudstack.apache.org users@cloudstack.apache.org
 mailto:users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
 Subject: Move VM instances from default view to a Project Hi, Is there a
 way to move VMs from the default view to a project that I created?  These
 VMs were created in the default view and now I want them in a project so
 that the accounts in that project can manipulate them.  I can't see
 anything in the GUI that can be used.  Is there a command line way of doing
 this?
 TIA


 Find out more about ShapeBlue and our range of CloudStack related services

 IaaS Cloud Design  Build
 http://shapeblue.com/iaas-cloud-design-and-build//
 CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
 CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
 CloudStack Infrastructure Support
 http://shapeblue.com/cloudstack-infrastructure-support/
 CloudStack Bootcamp Training Courses
 http://shapeblue.com/cloudstack-training/

 This email and any attachments to it may be confidential and are intended
 solely for the use of the individual to whom it is addressed. Any views or
 opinions expressed are solely those of the author and do not necessarily
 represent those of Shape Blue Ltd or related companies. If you are not the
 intended recipient of this email, you must neither take any action based
 upon its contents, nor copy or show it to anyone. Please contact the sender
 if you believe you have received this email in error. Shape Blue Ltd is a
 company incorporated in England  Wales. ShapeBlue Services India LLP is a
 company incorporated in India and is operated under license from Shape Blue
 Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
 and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is
 a company registered by The Republic of South Africa and is traded under
 license from Shape Blue Ltd. ShapeBlue is a registered trademark.