From users-return-31879-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Thu Dec 13 19:41:36 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 45064180609 for ; Thu, 13 Dec 2018 19:41:36 +0100 (CET) Received: (qmail 14442 invoked by uid 500); 13 Dec 2018 18:41:35 -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 14419 invoked by uid 99); 13 Dec 2018 18:41:34 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2018 18:41:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id EE4C3180CC3 for ; Thu, 13 Dec 2018 18:41:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.96 X-Spam-Level: X-Spam-Status: No, score=0.96 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, JMQ_SPF_NEUTRAL=0.5, KAM_INFOUSMEBIZ=0.75, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_MIXED_ES=0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id MyetUBCwu-Tn for ; Thu, 13 Dec 2018 18:41:31 +0000 (UTC) Received: from mx1.heinlein-support.de (mx2.heinlein-support.de [91.198.250.20]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 65F305F659 for ; Thu, 13 Dec 2018 18:41:31 +0000 (UTC) Received: from spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) by mx1.heinlein-support.de (Postfix) with ESMTP id 2DD002E0AAD for ; Thu, 13 Dec 2018 19:41:31 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from mx1.heinlein-support.de ([91.198.250.20]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [91.198.250.170]) (amavisd-new, port 10024) with ESMTP id r6BitpDltOLq for ; Thu, 13 Dec 2018 19:41:29 +0100 (CET) Received: from marchiv.heinlein-support.de (marchiv.heinlein-support.de [91.198.250.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.heinlein-support.de (Postfix) with ESMTPS for ; Thu, 13 Dec 2018 19:41:29 +0100 (CET) Received: from MailAppDispatcher (localhost.localdomain [127.0.0.1]) by marchiv.heinlein-support.de (Postfix) with ESMTP id B5F854815F for ; Thu, 13 Dec 2018 19:41:29 +0100 (CET) Received: from localhost (localhost.localdomain [127.0.0.1]) by marchiv.heinlein-support.de (Postfix) with ESMTP id 550494815E for ; Thu, 13 Dec 2018 19:41:29 +0100 (CET) X-Virus-Scanned: Heinlein Anti-Spam at mail-archiv Received: from marchiv.heinlein-support.de ([127.0.0.1]) by localhost (marchiv.heinlein-support.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yuqMpLrxlmZt for ; Thu, 13 Dec 2018 19:41:26 +0100 (CET) Received: from plasma2.jpberlin.de (plasma2.jpberlin.de [91.198.250.140]) by marchiv.heinlein-support.de (Postfix) with ESMTPS for ; Thu, 13 Dec 2018 19:41:26 +0100 (CET) Received: from [192.168.2.100] (p54B1D4B1.dip0.t-ipconnect.de [84.177.212.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: m.desaive@heinlein-support.de) by plasma.jpberlin.de (Postfix) with ESMTPSA id 94F47B9F20 for ; Thu, 13 Dec 2018 19:41:26 +0100 (CET) In-Reply-To: References: <6a232bb8-728c-4e00-b574-0b152baafdc3@heinlein-support.de> X-Referenced-Uid: 3377 Thread-Topic: Re: How to Reorganise Storage Tags User-Agent: Android X-Is-Generated-Message-Id: true MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----GTELVJXRPYHF48E2RKU6CE6MDHBKGK" Content-Transfer-Encoding: 7bit Subject: Re: How to Reorganise Storage Tags From: Melanie Desaive Date: Thu, 13 Dec 2018 19:41:25 +0100 To: users Message-ID: <021352cc-2923-4cd3-996f-45a40a4fbd13@heinlein-support.de> X-Mailarchiv-ID: 5560937 ------GTELVJXRPYHF48E2RKU6CE6MDHBKGK Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Hi andrija, thanks a lot for your answer=2E Indeed is absolutely sufficie= nt for me to know that I may change disk_offering_id for a volume=2E I woul= d assume it is not necessary to shut down/restart the VM or restart managem= ent service, but will try tomorrow=2E I will figure out a suitable path to= migrate the volumes to their destination pools and also change the offerin= g to those with the desired tags that way=2E Absolutely ok for me to do it = in two or more steps=2E Anyone ever changed disk_offering=2Etags manually?= Anyway, happy to see a solution for my task and looking forward to try it= out tomorrow=2E Greetings, Melanie =E2=81=A3Gesendet mit BlueMail =E2= =80=8B Am 13=2E Dez=2E 2018, 17:32, um 17:32, Andrija Panic schrieb: >Hi Melanie, > >when moving volume to new storage= , when you want to change disk >offering >(or compute offering for ROOT dis= k=2E=2E=2E), ACS doesn't allow that - it >lists >only offerings that have s= ame tag as current offering (not good=2E=2E=2E) > >We have inhouse patch, s= o that you CAN do that, by making sure to list >all >offergins that have TA= G that matches the TAG of the new destination >pool of >the volume (hope Im= clear here)=2E > >All volumes read tag from their offering - so just eithe= r change >disk_offering_id filed for each moved/migrated volume to point t= o same >sized offering on new storage - and then normally change it once mo= re >via >UI to a new once etc - or manualy change to smaller disk offering = (DB >edit) >and later via UI/API to correct (same size) disk offering (or b= igger if >you >want to really resize) > >I can try to share a patch in a no= n-developer, copy/paste way - in case >you >want to patch your ACS to suppo= rt this (as explained at the begining of >the >email=2E=2E=2E) > >Hope that= helps > >Cheers > >On Thu, 13 Dec 2018 at 13:50, Melanie Desaive > >wrote: > >> Hi all, >> >> we are currently reo= rganizing our SAN Setup and I would like to >> introduce new storage tags o= n my existing volumes=2E >> >> I was naively assuming to simply change the = tags or offering by GUI >or >> API calls=2E >> >> Does not seem to work=2E = Only way to change the tags, seems to be by >using >> a new disk offering, = which is denied, when the tags between old and >new >> offering differ=2E := ( Or am I missing something? >> >> I had a look into the cloud database, an= d the storage tags, seem to >be >> only stored in >> >> disk_offering=2Et= ags >> and >> storage_pool_tags=2Etag >> >> Would it be a valid option fo= r me to update disk_offering=2Etags by SQL >to >> the desired value or coul= d that break some deeper logic? >> >> Or is there even a better way to chan= ge the storage tags for existing >> volumes=2E (With or without downtime fo= r the VMs) >> >> Looking forward to any advice! >> >> Greetings, >> >> Mela= nie >> -- >> -- >> >> Heinlein Support GmbH >> Linux: Akademie - Support - = Hosting >> >> http://www=2Eheinlein-support=2Ede >> Tel: 030 / 40 50 51 - 0= >> Fax: 030 / 40 50 51 - 19 >> >> Zwangsangaben lt=2E =C2=A735a GmbHG: >> = HRB 93818 B / Amtsgericht Berlin-Charlottenburg, >> Gesch=C3=A4ftsf=C3=BChr= er: Peer Heinlein -- Sitz: Berlin >> >> > >-- > >Andrija Pani=C4=87 ------GTELVJXRPYHF48E2RKU6CE6MDHBKGK--