Ah, I'm glad to hear that. :) We are in the process of updating the readme to help with troubleshooting, and we may have had an example that used that host name, so we should probably remove or update it. Of course, it would also make sense for us to validate
all of the identity information to provide a more informative error message.
Thanks for trying out latest changes Ashutosh.
--
Adam Edwards
Software Development Engineer, Opscode, Inc.
From: Ashutosh Narayan <
">
>
Reply-To: "
">
" <
">
>
Date: Monday, May 27, 2013 6:56 AM
To: "
">
" <
">
>
Subject: [chef] Re: Re: Re: Re: knife-azure image list issue
Hi Adam,
Thanks for pointing that out. I figured it out from the PublishSettings file that I have
After making that change, image listing and service listing are working like a charm :)
Thank you,
On Mon, May 27, 2013 at 7:16 PM, Adam Edwards
<
" target="_blank">
> wrote:
I've seen this behavior when specifying an incorrect subscription id or having a mismatch with the .pem file. I think double-checking your authentication information is the right place to focus. Because this can be error prone, we have a patch coming that
allows you to directly use the .publishsettings file rather than extracting fields from it.
Also, just to check one more thing: is the
management-preview.core.windows-int.net name below still valid? Now that Azure is officially supported (as of April 15), I would have thought that endpoint would be retired. If it works from Azure console, I guess that means it's still supported though.
-Adam
Here it goes -
knife azure image list -VV
INFO: calling get images
.WARN: AuthenticationFailed : The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription.
Name Category Label OS
I have extracted data from the Management Data field into a separate file cert.pfx
and then decoded to create .pem file
On Mon, May 27, 2013 at 6:48 PM, Chirag Jog
<
" target="_blank">
> wrote:
Sorry I meant -VV (capital )
On Monday, May 27, 2013, Ashutosh Narayan wrote:
Hi Chirag,
I pulled the latest code from the master.
Here is how the new knife.rb looks -
knife[:azure_subscription_id] = "xxxxxxxxxxxxxxxxxxxxxxxxxx"
knife[:azure_mgmt_cert] = "/root/.ssh/managementCertificate.pem"
knife azure image list -vv throws -
Chef: 11.4.4
knife azure server list -vv throws
Chef: 11.4.4
Thank you,
On Mon, May 27, 2013 at 5:54 PM, Chirag Jog
<
> wrote:
Hi Ashutosh,
Can you run both the commands with additional debugging options ( -vv) ?
Also can you pull the latest code from master - it has been updated today.
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Regards,
Chirag Jog
Chief Technology Officer,
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
--
Ashutosh Narayan
http://ashutoshn.wordpress.com/
|