You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "Fuchs, Andreas (SwissTXT)" <An...@swisstxt.ch> on 2012/12/20 11:32:05 UTC

Introducing Storage Tags

Hi

We need to introduce storage tags to "route" some specific workloads to dedicated storage.

The Problem is now that we already created quite a bunch of compute offerings in the GUI I'm not able to add a storage tag to them. Do we really have to recreate all of them or is there another way of getting the storage tag added to the existing offerings?

Regards
Andi

RE: Introducing Storage Tags

Posted by Alex Huang <Al...@citrix.com>.
> 
> We should fix it so that it doesn't mean 'this'. :)
> 

These are the arguments I have heard against "fixing" it.  

- If you change it such that null means default, then what means don't care?
- If you're tiering storage, why wouldn't you tier the default storage?

It somewhat makes sense.  The only real problem I've seen so far is Wido's case where there's no way to change the system offering's tags and system vms got put to premium storages but basically in this case system offering with no tags meant default tag instead of don't care tag.   That's a contradiction to the usage to tags so it's a problem with initialization of tags.

--Alex

Re: Introducing Storage Tags

Posted by David Nalley <da...@gnsa.us>.
On Thu, Dec 20, 2012 at 11:52 AM, Alex Huang <Al...@citrix.com> wrote:
>>
>> Or does a empty tag mean just put it on some storage no mather of the
>> storage tag?
>
> It means this.
>
> --Alex
>

We should fix it so that it doesn't mean 'this'. :)

--David

RE: Introducing Storage Tags

Posted by Alex Huang <Al...@citrix.com>.
> 
> Or does a empty tag mean just put it on some storage no mather of the
> storage tag?

It means this.  

--Alex


RE: Introducing Storage Tags

Posted by "Fuchs, Andreas (SwissTXT)" <An...@swisstxt.ch>.
Ok i try to explain and have one more question

We will have two Pri Storage, let's call them:
- default
- performace

And we have already around 30 compute offerings 1 to 8 cpu's with different ammounts of ram

All compute offerings have no storage tag
I can change the tag for the primary storage

So if the default storage also has no storage tag and the performance storage has tag=performance, will the existing compute offerings always reside on default storage and ONLY if a create a new offering with performance tag those instances will be deployed on performance storage?

Or does a empty tag mean just put it on some storage no mather of the storage tag?

Regards
Andi

-----Original Message-----
From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com] 
Sent: Donnerstag, 20. Dezember 2012 12:09
To: cloudstack-users@incubator.apache.org
Subject: Re: Introducing Storage Tags

The API call doesn't give that flexibility as well. I think you need to create new compute service offerings with the tags and upgrade the existing vms to these offerings (but be careful to tag the storages in the same cluster as currently we won't migrate the vm outside the cluster). If you want you can then delete the older offerings as well.

Why don't you try this for one of the vms and see how it goes. You can also share your exact scenario if my answer doesn't satisfy your requirements

On 20-Dec-2012, at 4:09 PM, Pranav Saxena wrote:

> So Storage Tags is a non -editable field in the UI . Once you have created a compute offering you can't modify the storage tag. I think but you can try using the update service offering API call (updateServiceOffering ) to edit the update the storage tag . Obviously you have to be the admin. 
> 
> Regards,
> Pranav
> 
> -----Original Message-----
> From: Fuchs, Andreas (SwissTXT) [mailto:Andreas.Fuchs@swisstxt.ch] 
> Sent: Thursday, December 20, 2012 4:02 PM
> To: cloudstack-users@incubator.apache.org
> Subject: Introducing Storage Tags
> 
> Hi
> 
> We need to introduce storage tags to "route" some specific workloads to dedicated storage.
> 
> The Problem is now that we already created quite a bunch of compute offerings in the GUI I'm not able to add a storage tag to them. Do we really have to recreate all of them or is there another way of getting the storage tag added to the existing offerings?
> 
> Regards
> Andi


Re: Introducing Storage Tags

Posted by Nitin Mehta <Ni...@citrix.com>.
The API call doesn't give that flexibility as well. I think you need to create new compute service offerings with the tags and upgrade the existing vms to these offerings (but be careful to tag the storages in the same cluster as currently we won't migrate the vm outside the cluster). If you want you can then delete the older offerings as well.

Why don't you try this for one of the vms and see how it goes. You can also share your exact scenario if my answer doesn't satisfy your requirements

On 20-Dec-2012, at 4:09 PM, Pranav Saxena wrote:

> So Storage Tags is a non -editable field in the UI . Once you have created a compute offering you can't modify the storage tag. I think but you can try using the update service offering API call (updateServiceOffering ) to edit the update the storage tag . Obviously you have to be the admin. 
> 
> Regards,
> Pranav
> 
> -----Original Message-----
> From: Fuchs, Andreas (SwissTXT) [mailto:Andreas.Fuchs@swisstxt.ch] 
> Sent: Thursday, December 20, 2012 4:02 PM
> To: cloudstack-users@incubator.apache.org
> Subject: Introducing Storage Tags
> 
> Hi
> 
> We need to introduce storage tags to "route" some specific workloads to dedicated storage.
> 
> The Problem is now that we already created quite a bunch of compute offerings in the GUI I'm not able to add a storage tag to them. Do we really have to recreate all of them or is there another way of getting the storage tag added to the existing offerings?
> 
> Regards
> Andi


RE: Introducing Storage Tags

Posted by Pranav Saxena <pr...@citrix.com>.
So Storage Tags is a non -editable field in the UI . Once you have created a compute offering you can't modify the storage tag. I think but you can try using the update service offering API call (updateServiceOffering ) to edit the update the storage tag . Obviously you have to be the admin. 

Regards,
Pranav

-----Original Message-----
From: Fuchs, Andreas (SwissTXT) [mailto:Andreas.Fuchs@swisstxt.ch] 
Sent: Thursday, December 20, 2012 4:02 PM
To: cloudstack-users@incubator.apache.org
Subject: Introducing Storage Tags

Hi

We need to introduce storage tags to "route" some specific workloads to dedicated storage.

The Problem is now that we already created quite a bunch of compute offerings in the GUI I'm not able to add a storage tag to them. Do we really have to recreate all of them or is there another way of getting the storage tag added to the existing offerings?

Regards
Andi

Re: Introducing Storage Tags

Posted by Marc Cirauqui <mc...@gmail.com>.
There's an api call to update service offerings:
http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/root_admin/updateServiceOffering.html

You could use something like cloudmonkey to update them...


On Thu, Dec 20, 2012 at 11:32 AM, Fuchs, Andreas (SwissTXT) <
Andreas.Fuchs@swisstxt.ch> wrote:

> Hi
>
> We need to introduce storage tags to "route" some specific workloads to
> dedicated storage.
>
> The Problem is now that we already created quite a bunch of compute
> offerings in the GUI I'm not able to add a storage tag to them. Do we
> really have to recreate all of them or is there another way of getting the
> storage tag added to the existing offerings?
>
> Regards
> Andi
>

RE: Introducing Storage Tags

Posted by Geoff Higginbottom <ge...@shapeblue.com>.
Not officially supported, but you can tweak existing offerings directly in the Database

Regards

Geoff

-----Original Message-----
From: Fuchs, Andreas (SwissTXT) [mailto:Andreas.Fuchs@swisstxt.ch]
Sent: 20 December 2012 10:32
To: cloudstack-users@incubator.apache.org
Subject: Introducing Storage Tags

Hi

We need to introduce storage tags to "route" some specific workloads to dedicated storage.

The Problem is now that we already created quite a bunch of compute offerings in the GUI I'm not able to add a storage tag to them. Do we really have to recreate all of them or is there another way of getting the storage tag added to the existing offerings?

Regards
Andi

ShapeBlue provides a range of strategic and technical consulting and implementation services to help IT Service Providers and Enterprises to build a true IaaS compute cloud. ShapeBlue’s expertise, combined with CloudStack technology, allows IT Service Providers and Enterprises to deliver true, utility based, IaaS to the customer or end-user.

________________________________

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. 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.