You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by George Reese <ge...@enstratius.com> on 2013/03/12 20:09:42 UTC

Error Deploying VM in 4.0

I am encountering the following error:

GET http://65.19.181.10:9999/client/api/api?command=deployVirtualMachine&zoneId=6a187aaa-e165-4034-9ad1-5f97100062dc&serviceOfferingId=568380e1-ace2-4819-8ca5-9a0b612ef531&templateId=904e7a14-411a-
4c35-8db3-20b9a220d1f3&displayName=dsnvm865&networkIds=517653f6-312c-4616-88cb-22620f3f75dd&apiKey=THING&signature=THING HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=utf-8

HTTP/1.1 531 
HTTP/1.1 531 
Server: Apache-Coyote/1.1
X-Description: Unable to use network with id= 237, permission denied
Content-Type: text/xml;charset=UTF-8
Content-Length: 244
Date: Tue, 12 Mar 2013 10:09:34 GMT

<?xml version="1.0" encoding="UTF-8"?><deployvirtualmachineresponse cloud-stack-version="4.0.1.20130201075054"><errorcode>531</errorcode><errortext>Unable to use network with id= 237, permission denied</errortext></deployvirtualmachineresponse>

I am sure I am doing something wrong here, but "Unable to use network with ID=237" is definitely an improper error message.

Any idea what I might be doing wrong?

-George

--
George Reese - Chief Technology Officer, Enstratius
e: george.reese@enstratius.com    Skype: nspollution    t: @GeorgeReese    p: +1.207.956.0217
enStratus: Enterprise Cloud Management - @Enstratius - http://www.enstratius.com




Re: Error Deploying VM in 4.0

Posted by Marcus Sorensen <sh...@gmail.com>.
You're right. That completely went over my head that you were pointing out
the network ID thing.
On Mar 12, 2013 9:22 PM, "George Reese" <ge...@enstratius.com> wrote:

> But the ID of the network is 517653f6-312c-4616-88cb-22620f3f75dd. My
> point is that the information is confusing to anyone who doesn't know the
> CloudStack history.
>
> But I also suppose that explains my problem :)
>
> -George
>
> On Mar 12, 2013, at 3:58 PM, Marcus Sorensen <sh...@gmail.com> wrote:
>
> > Just wanted to point out that the error was "Unable to use network
> > with id= 237, permission denied". Permission denied means that the
> > user you're connecting as doesn't have access to use that network.
> >
> > On Tue, Mar 12, 2013 at 1:09 PM, George Reese
> > <ge...@enstratius.com> wrote:
> >> I am encountering the following error:
> >>
> >> GET
> http://65.19.181.10:9999/client/api/api?command=deployVirtualMachine&zoneId=6a187aaa-e165-4034-9ad1-5f97100062dc&serviceOfferingId=568380e1-ace2-4819-8ca5-9a0b612ef531&templateId=904e7a14-411a-
> >>
> 4c35-8db3-20b9a220d1f3&displayName=dsnvm865&networkIds=517653f6-312c-4616-88cb-22620f3f75dd&apiKey=THING&signature=THING
> HTTP/1.1
> >> Content-Type: application/x-www-form-urlencoded; charset=utf-8
> >>
> >> HTTP/1.1 531
> >> HTTP/1.1 531
> >> Server: Apache-Coyote/1.1
> >> X-Description: Unable to use network with id= 237, permission denied
> >> Content-Type: text/xml;charset=UTF-8
> >> Content-Length: 244
> >> Date: Tue, 12 Mar 2013 10:09:34 GMT
> >>
> >> <?xml version="1.0" encoding="UTF-8"?><deployvirtualmachineresponse
> cloud-stack-version="4.0.1.20130201075054"><errorcode>531</errorcode><errortext>Unable
> to use network with id= 237, permission
> denied</errortext></deployvirtualmachineresponse>
> >>
> >> I am sure I am doing something wrong here, but "Unable to use network
> with ID=237" is definitely an improper error message.
> >>
> >> Any idea what I might be doing wrong?
> >>
> >> -George
> >>
> >> --
> >> George Reese - Chief Technology Officer, Enstratius
> >> e: george.reese@enstratius.com    Skype: nspollution    t:
> @GeorgeReese    p: +1.207.956.0217
> >> enStratus: Enterprise Cloud Management - @Enstratius -
> http://www.enstratius.com
> >>
> >>
> >>
>
> --
> George Reese - Chief Technology Officer, Enstratius
> e: george.reese@enstratius.com    Skype: nspollution    t: @GeorgeReese
>  p: +1.207.956.0217
> enStratus: Enterprise Cloud Management - @Enstratius -
> http://www.enstratius.com
>
>
>

RE: Error Deploying VM in 4.0

Posted by Koushik Das <ko...@citrix.com>.
It's a bug. Error message shouldn't show the internal db id. Instead it should show the UUID and/or name.

> -----Original Message-----
> From: Chip Childers [mailto:chip.childers@sungard.com]
> Sent: Wednesday, March 13, 2013 9:04 AM
> To: <cl...@incubator.apache.org>
> Subject: Re: Error Deploying VM in 4.0
> 
> On Mar 12, 2013, at 11:22 PM, George Reese
> <ge...@enstratius.com> wrote:
> 
> > But the ID of the network is 517653f6-312c-4616-88cb-22620f3f75dd. My
> point is that the information is confusing to anyone who doesn't know the
> CloudStack history.
> 
> Yup. Bad error message. I'll take a look at fixing it.

Re: Error Deploying VM in 4.0

Posted by Chip Childers <ch...@sungard.com>.
On Mar 12, 2013, at 11:22 PM, George Reese <ge...@enstratius.com> wrote:

> But the ID of the network is 517653f6-312c-4616-88cb-22620f3f75dd. My point is that the information is confusing to anyone who doesn't know the CloudStack history.

Yup. Bad error message. I'll take a look at fixing it.

Re: Error Deploying VM in 4.0

Posted by Chip Childers <ch...@sungard.com>.
On Tue, Mar 12, 2013 at 10:22:10PM -0500, George Reese wrote:
> But the ID of the network is 517653f6-312c-4616-88cb-22620f3f75dd. My point is that the information is confusing to anyone who doesn't know the CloudStack history.

https://issues.apache.org/jira/browse/CLOUDSTACK-1702

Thanks for the report George.

Re: Error Deploying VM in 4.0

Posted by George Reese <ge...@enstratius.com>.
But the ID of the network is 517653f6-312c-4616-88cb-22620f3f75dd. My point is that the information is confusing to anyone who doesn't know the CloudStack history.

But I also suppose that explains my problem :)

-George

On Mar 12, 2013, at 3:58 PM, Marcus Sorensen <sh...@gmail.com> wrote:

> Just wanted to point out that the error was "Unable to use network
> with id= 237, permission denied". Permission denied means that the
> user you're connecting as doesn't have access to use that network.
> 
> On Tue, Mar 12, 2013 at 1:09 PM, George Reese
> <ge...@enstratius.com> wrote:
>> I am encountering the following error:
>> 
>> GET http://65.19.181.10:9999/client/api/api?command=deployVirtualMachine&zoneId=6a187aaa-e165-4034-9ad1-5f97100062dc&serviceOfferingId=568380e1-ace2-4819-8ca5-9a0b612ef531&templateId=904e7a14-411a-
>> 4c35-8db3-20b9a220d1f3&displayName=dsnvm865&networkIds=517653f6-312c-4616-88cb-22620f3f75dd&apiKey=THING&signature=THING HTTP/1.1
>> Content-Type: application/x-www-form-urlencoded; charset=utf-8
>> 
>> HTTP/1.1 531
>> HTTP/1.1 531
>> Server: Apache-Coyote/1.1
>> X-Description: Unable to use network with id= 237, permission denied
>> Content-Type: text/xml;charset=UTF-8
>> Content-Length: 244
>> Date: Tue, 12 Mar 2013 10:09:34 GMT
>> 
>> <?xml version="1.0" encoding="UTF-8"?><deployvirtualmachineresponse cloud-stack-version="4.0.1.20130201075054"><errorcode>531</errorcode><errortext>Unable to use network with id= 237, permission denied</errortext></deployvirtualmachineresponse>
>> 
>> I am sure I am doing something wrong here, but "Unable to use network with ID=237" is definitely an improper error message.
>> 
>> Any idea what I might be doing wrong?
>> 
>> -George
>> 
>> --
>> George Reese - Chief Technology Officer, Enstratius
>> e: george.reese@enstratius.com    Skype: nspollution    t: @GeorgeReese    p: +1.207.956.0217
>> enStratus: Enterprise Cloud Management - @Enstratius - http://www.enstratius.com
>> 
>> 
>> 

--
George Reese - Chief Technology Officer, Enstratius
e: george.reese@enstratius.com    Skype: nspollution    t: @GeorgeReese    p: +1.207.956.0217
enStratus: Enterprise Cloud Management - @Enstratius - http://www.enstratius.com



Re: Error Deploying VM in 4.0

Posted by Marcus Sorensen <sh...@gmail.com>.
Just wanted to point out that the error was "Unable to use network
with id= 237, permission denied". Permission denied means that the
user you're connecting as doesn't have access to use that network.

On Tue, Mar 12, 2013 at 1:09 PM, George Reese
<ge...@enstratius.com> wrote:
> I am encountering the following error:
>
> GET http://65.19.181.10:9999/client/api/api?command=deployVirtualMachine&zoneId=6a187aaa-e165-4034-9ad1-5f97100062dc&serviceOfferingId=568380e1-ace2-4819-8ca5-9a0b612ef531&templateId=904e7a14-411a-
> 4c35-8db3-20b9a220d1f3&displayName=dsnvm865&networkIds=517653f6-312c-4616-88cb-22620f3f75dd&apiKey=THING&signature=THING HTTP/1.1
> Content-Type: application/x-www-form-urlencoded; charset=utf-8
>
> HTTP/1.1 531
> HTTP/1.1 531
> Server: Apache-Coyote/1.1
> X-Description: Unable to use network with id= 237, permission denied
> Content-Type: text/xml;charset=UTF-8
> Content-Length: 244
> Date: Tue, 12 Mar 2013 10:09:34 GMT
>
> <?xml version="1.0" encoding="UTF-8"?><deployvirtualmachineresponse cloud-stack-version="4.0.1.20130201075054"><errorcode>531</errorcode><errortext>Unable to use network with id= 237, permission denied</errortext></deployvirtualmachineresponse>
>
> I am sure I am doing something wrong here, but "Unable to use network with ID=237" is definitely an improper error message.
>
> Any idea what I might be doing wrong?
>
> -George
>
> --
> George Reese - Chief Technology Officer, Enstratius
> e: george.reese@enstratius.com    Skype: nspollution    t: @GeorgeReese    p: +1.207.956.0217
> enStratus: Enterprise Cloud Management - @Enstratius - http://www.enstratius.com
>
>
>