Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E96F611E51 for ; Wed, 10 Sep 2014 02:51:31 +0000 (UTC) Received: (qmail 42755 invoked by uid 500); 10 Sep 2014 02:51:31 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 42703 invoked by uid 500); 10 Sep 2014 02:51:30 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 42688 invoked by uid 99); 10 Sep 2014 02:51:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 02:51:30 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ian@ianduffy.ie designates 209.85.192.41 as permitted sender) Received: from [209.85.192.41] (HELO mail-qg0-f41.google.com) (209.85.192.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 02:51:04 +0000 Received: by mail-qg0-f41.google.com with SMTP id a108so4791489qge.0 for ; Tue, 09 Sep 2014 19:51:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=G9LXiOixle12O516e3UDq9+vgKXlHvQvkuo58/1yS9E=; b=V4XhaLf/KQZwWfHZahNBl06Zg+BsObVg8QLYI6jubMPOEF/CZG4BE9IoaRrqRDDwLm UUiaHo55HFo+ujph7vFPi8C5gEI3Cm5sQXf08p5TGcXqeBlHq92qETJBvW+98/V7TEFF TmRIzidsdkgZ7Tw60QDZi+H+pgOXGxzj0pN7F+31EWXTTkqI6fvytt4bqLvca2+QsTW1 jbIjMLRjhFu249PXseMzdrOrRmx/gM2sjn/JcaywVorNA5uzuzCewDkKYuwsnni2U7Bx +3MKmP+knnvrUSxqryWk9wx2JObcfqnrD2i5wbLWHHWukZoN+t8WX00yfLASrUNgMfIY huLA== X-Gm-Message-State: ALoCoQkdwSTgPAKWSdQlD3/eBhuaG1pClhBPxQTOJBpD3BW9twVdwioyy+CESug9bVo7OCa2EAkn MIME-Version: 1.0 X-Received: by 10.224.62.8 with SMTP id v8mr52333351qah.9.1410317463575; Tue, 09 Sep 2014 19:51:03 -0700 (PDT) Received: by 10.96.30.193 with HTTP; Tue, 9 Sep 2014 19:51:03 -0700 (PDT) X-Originating-IP: [217.114.169.251] Received: by 10.96.30.193 with HTTP; Tue, 9 Sep 2014 19:51:03 -0700 (PDT) In-Reply-To: <41FEB5F7-88BA-4C6C-8AC3-D876EB114A48@stratosec.co> References: <41FEB5F7-88BA-4C6C-8AC3-D876EB114A48@stratosec.co> Date: Wed, 10 Sep 2014 03:51:03 +0100 Message-ID: Subject: Re: assignVirtualMachine - Change domain (4.1.1) From: Ian Duffy To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=089e0149cb70700cec0502ad1f43 X-Virus-Checked: Checked by ClamAV on apache.org --089e0149cb70700cec0502ad1f43 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Great! Thank you very much, thought I'd be out on my own for this. On 10 Sep 2014 00:03, "John Kinsella" wrote: > Yeah - that doesn=E2=80=99t work 100% - you=E2=80=99ll have to delete and= re-create the fw > rules, at least for advanced networking. Needs a tiny bit more refinement= . > :) > > On Sep 9, 2014, at 3:42 PM, Nitin Mehta Nitin.Mehta@citrix.com>> wrote: > > Though I am averse to mucking around the db I know that John Kinsella > spoke about it recently in the Bay Area meet up. > Please find his slides (slide # 16) @ > http://www.slideshare.net/jlkinsel/dont-break-the-glass > > Thanks, > -Nitin > > On 09/09/14 9:03 AM, "Ian Duffy" wrote: > > Hi All, > > I'm wanting to use assignVirtualMachine to change the domain and account = a > VM belongs to within Cloudstack. > > Within version 4.1.1 this is not supported: > http://cloudstack.apache.org/docs/api/apidocs-4.1/root_admin/assignVirtua= l > Machine.html > > Transferring ownership to any domain was only implemented in a later > release. > > Has anybody got a database modification work around for this? > > I'm looking at modifying the domain_id, domain_uuid, account_id, > account_name, account_type for both volume and instance. I haven't tested > this yet, but I would love to hear anybody elses experience. > > Thanks, > > Ian > > > Stratosec - Secure Finance and Heathcare Clouds > http://stratosec.co > o: 415.315.9385 > @johnlkinsella > > --089e0149cb70700cec0502ad1f43--