You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Star Guo <st...@ceph.me> on 2014/12/31 09:05:07 UTC

答复: About The Instance Name on Cloudstack

If you set the displayname of  instance within Chinese name, I find the
command “list virtualmachines”  throw: Error processing json: 'ascii'
codec can't encode characters in position 1203-1209: ordinal not in
range(128)

Does the cloudmonkey not support UTF-8? Thanks.

 

Best Regards,

Star Guo

 

发件人: Star Guo [mailto:starg@ceph.me] 
发送时间: 2014年12月30日 16:59
收件人: dev@cloudstack.apache.org
主题: About The Instance Name on Cloudstack

 

Hi, All,

 

  When I create instance on cloudstack 4.4.2,set name within simple chinese
as instance name but it tell me “Instance name can not be longer than 63
characters. Only ASCII letters a~z, A~Z, digits 0~9, hyphen are allowed.
Must start with a letter and end with a letter or a digit.”

  Is it mean I just set the name of instance within ASCII letters? I notic
that the charater of mysql is UTF-8.

 

Best Regards,

Star Guo


Re: 答复: About The Instance Name on Cloudstack

Posted by Yitao Jiang <wi...@gmail.com>.
Havent ye use cloudmonkey, nothing to say.but using httpclient(Java based)
fire the api call ,all works fine.


---
Thanks,
Yitao(依涛 姜)
jiangyt.github.io

On Wed, Dec 31, 2014 at 4:05 PM, Star Guo <st...@ceph.me> wrote:

> If you set the displayname of  instance within Chinese name, I find the
> command “list virtualmachines”  throw: Error processing json: 'ascii'
> codec can't encode characters in position 1203-1209: ordinal not in
> range(128)
>
> Does the cloudmonkey not support UTF-8? Thanks.
>
>
>
> Best Regards,
>
> Star Guo
>
>
>
> 发件人: Star Guo [mailto:starg@ceph.me]
> 发送时间: 2014年12月30日 16:59
> 收件人: dev@cloudstack.apache.org
> 主题: About The Instance Name on Cloudstack
>
>
>
> Hi, All,
>
>
>
>   When I create instance on cloudstack 4.4.2,set name within simple chinese
> as instance name but it tell me “Instance name can not be longer than 63
> characters. Only ASCII letters a~z, A~Z, digits 0~9, hyphen are allowed.
> Must start with a letter and end with a letter or a digit.”
>
>   Is it mean I just set the name of instance within ASCII letters? I notic
> that the charater of mysql is UTF-8.
>
>
>
> Best Regards,
>
> Star Guo
>
>

Re: About The Instance Name on Cloudstack

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Star,

Which version of CloudMonkey are you using?

UTF8 support came in only in CloudMonkey 5.3.0, so I recommend you use CloudMonkey 5.3.0 or above.

> On 31-Dec-2014, at 1:35 pm, Star Guo <st...@ceph.me> wrote:
>
> If you set the displayname of  instance within Chinese name, I find the
> command “list virtualmachines”  throw: Error processing json: 'ascii'
> codec can't encode characters in position 1203-1209: ordinal not in
> range(128)
>
> Does the cloudmonkey not support UTF-8? Thanks.

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



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 framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
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.