Limits on tags per resource in CS
Hi all, Is there any limit on the number of tags I can use for a resource in CloudStack? I use some tags for the templates and I am concerned whether I can use as many tags as I want. Thank you! Krasimir
Re: Limits on tags per resource in CS
Wonderful! Each tag value cannot be longer than 255 characters. Is there any mechanism for simulating lists with tags then? Let me give an example. Assume that I want to associate my template with some other resources (other templates let's say). I want to enumerate their IDs as tags. Apparently, I cannot enumerate the IDs as I have a limitation of 255 characters. Additionally, I want to have those tags grouped somehow:) Krasi On Fri, Oct 18, 2013 at 3:47 PM, Stanislav Petrov devilfighter1...@gmail.com wrote: Hi Krasimir, The official documentation ( https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/tagging-resources.html) says There is no limit on the number of tags you can define. Regards, Stanislav Petrov On Fri, Oct 18, 2013 at 3:15 PM, Krasimir Baylov kbai...@gmail.comwrote: Hi all, Is there any limit on the number of tags I can use for a resource in CloudStack? I use some tags for the templates and I am concerned whether I can use as many tags as I want. Thank you! Krasimir -- Best regards, Stanislav Petrov
Re: Limits on tags per resource in CS
On Oct 18, 2013, at 8:55 AM, Krasimir Baylov kbai...@gmail.com wrote: Wonderful! Each tag value cannot be longer than 255 characters. Is there any mechanism for simulating lists with tags then? Let me give an example. Assume that I want to associate my template with some other resources (other templates let's say). I want to enumerate their IDs as tags. Apparently, I cannot enumerate the IDs as I have a limitation of 255 characters. Additionally, I want to have those tags grouped somehow:) Krasi You might want to have a look at this piece of python: https://github.com/NOPping/gCloud/blob/master/gcloud/controllers/operations.py#L80-L105 we used tags to store ssh keys and had to break them up un 255 segments. On Fri, Oct 18, 2013 at 3:47 PM, Stanislav Petrov devilfighter1...@gmail.com wrote: Hi Krasimir, The official documentation ( https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/tagging-resources.html) says There is no limit on the number of tags you can define. Regards, Stanislav Petrov On Fri, Oct 18, 2013 at 3:15 PM, Krasimir Baylov kbai...@gmail.comwrote: Hi all, Is there any limit on the number of tags I can use for a resource in CloudStack? I use some tags for the templates and I am concerned whether I can use as many tags as I want. Thank you! Krasimir -- Best regards, Stanislav Petrov
Re: Limits on tags per resource in CS
Hi Sebastien, Thank you for your reply. I was thinking of using nearly the same approach. Regards, Krasimir On Fri, Oct 18, 2013 at 4:03 PM, Sebastien Goasguen run...@gmail.comwrote: On Oct 18, 2013, at 8:55 AM, Krasimir Baylov kbai...@gmail.com wrote: Wonderful! Each tag value cannot be longer than 255 characters. Is there any mechanism for simulating lists with tags then? Let me give an example. Assume that I want to associate my template with some other resources (other templates let's say). I want to enumerate their IDs as tags. Apparently, I cannot enumerate the IDs as I have a limitation of 255 characters. Additionally, I want to have those tags grouped somehow:) Krasi You might want to have a look at this piece of python: https://github.com/NOPping/gCloud/blob/master/gcloud/controllers/operations.py#L80-L105 we used tags to store ssh keys and had to break them up un 255 segments. On Fri, Oct 18, 2013 at 3:47 PM, Stanislav Petrov devilfighter1...@gmail.com wrote: Hi Krasimir, The official documentation ( https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/tagging-resources.html ) says There is no limit on the number of tags you can define. Regards, Stanislav Petrov On Fri, Oct 18, 2013 at 3:15 PM, Krasimir Baylov kbai...@gmail.com wrote: Hi all, Is there any limit on the number of tags I can use for a resource in CloudStack? I use some tags for the templates and I am concerned whether I can use as many tags as I want. Thank you! Krasimir -- Best regards, Stanislav Petrov