[chef] Re: Re: knife-azure image list issue


Chronological Thread 
  • From: Ashutosh Narayan < >
  • To:
  • Subject: [chef] Re: Re: knife-azure image list issue
  • Date: Mon, 27 May 2013 18:53:03 +0530

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_api_host_name] = "management-preview.core.windows-int.net"

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.

Regards,
Chirag Jog
Chief Technology Officer, 
Clogeny Technologies | http://clogeny.com 
(M) 0091-9766619440Skype: chirag.jog



On Mon, May 27, 2013 at 5:47 PM, Ashutosh Narayan < > wrote:
Hi Folks,

I installed knife-azure plugin from git repo.
Here is my knife.rb looks -

knife[:azure_subscription_id] = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
knife[:azure_mgmt_cert] = "/root/.ssh/managementCertificate.pem"
knife[:azure_host_name] = "management-preview.core.windows-int.net"

Now when I run knife azure image list , it doesn't throw image listing
from our Azure account. It just displays -

Name      Category  Label     OS

Even knife azure server list throws -

DNS Name  VM Name  Status  IP Address  SSH Port  WinRM Port

Without any details.

Image listing section on Azure dashboard shows one .VHD image file.
What is the possible cause for this failure ? 

Thank you,
--
Ashutosh Narayan

http://ashutoshn.wordpress.com/





--
Ashutosh Narayan

http://ashutoshn.wordpress.com/



--
Regards,
Chirag Jog
Chief Technology Officer, 
Clogeny Technologies | http://clogeny.com 
(M) 0091-9766619440Skype: chirag.jog





--
Ashutosh Narayan

http://ashutoshn.wordpress.com/




Archive powered by MHonArc 2.6.16.

§