Knife-azure image list issue


#1

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


#2

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-9766619440 | Skype: chirag.jog

On Mon, May 27, 2013 at 5:47 PM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> 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/


#3

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 chirag@clogeny.com 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-9766619440 | Skype: chirag.jog

On Mon, May 27, 2013 at 5:47 PM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> 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


#4

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 <chirag@clogeny.com<javascript:_e({}, ‘cvml’, ‘chirag@clogeny.com’);>

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-9766619440 | Skype: chirag.jog

On Mon, May 27, 2013 at 5:47 PM, Ashutosh Narayan <
aashutoshnarayan@gmail.com <javascript:_e({}, ‘cvml’,
‘aashutoshnarayan@gmail.com’);>> 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-9766619440 | Skype: chirag.jog


#5

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 chirag@clogeny.com 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 chirag@clogeny.com 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-9766619440 | Skype: chirag.jog

On Mon, May 27, 2013 at 5:47 PM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> 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-9766619440 | Skype: chirag.jog


Ashutosh Narayan


#6

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

From: Ashutosh Narayan <aashutoshnarayan@gmail.commailto:aashutoshnarayan@gmail.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Monday, May 27, 2013 6:23 AM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Re: knife-azure image list issue

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 <chirag@clogeny.commailto:chirag@clogeny.com> 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.nethttp://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 chirag@clogeny.com 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.comhttp://clogeny.com/
(M) 0091-9766619440tel:0091-9766619440 | Skype: chirag.jog

On Mon, May 27, 2013 at 5:47 PM, Ashutosh Narayan aashutoshnarayan@gmail.com 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.nethttp://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


Ashutosh Narayan


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


Ashutosh Narayan


#7

Hi Adam,

Thanks for pointing that out. I figured it out from the PublishSettings
file that I have
given a wrong ServiceManagementUrl="https://management.core.windows.net"
After making that change, image listing and service listing are working
like a charm :slight_smile:

Thank you,

On Mon, May 27, 2013 at 7:16 PM, Adam Edwards adamed@opscode.com 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

From: Ashutosh Narayan aashutoshnarayan@gmail.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Monday, May 27, 2013 6:23 AM
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Re: knife-azure image list issue

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 chirag@clogeny.com 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 chirag@clogeny.com 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-9766619440 | Skype: chirag.jog

On Mon, May 27, 2013 at 5:47 PM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> 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-9766619440 | Skype: chirag.jog


Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan


#8

Ah, I’m glad to hear that. :slight_smile: 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 <aashutoshnarayan@gmail.commailto:aashutoshnarayan@gmail.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Monday, May 27, 2013 6:56 AM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
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
given a wrong ServiceManagementUrl="https://management.core.windows.net"
After making that change, image listing and service listing are working like a charm :slight_smile:

Thank you,

On Mon, May 27, 2013 at 7:16 PM, Adam Edwards <adamed@opscode.commailto:adamed@opscode.com> 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.nethttp://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

From: Ashutosh Narayan <aashutoshnarayan@gmail.commailto:aashutoshnarayan@gmail.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Monday, May 27, 2013 6:23 AM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Re: Re: knife-azure image list issue

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 <chirag@clogeny.commailto:chirag@clogeny.com> 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.nethttp://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 chirag@clogeny.com 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.comhttp://clogeny.com/
(M) 0091-9766619440tel:0091-9766619440 | Skype: chirag.jog

On Mon, May 27, 2013 at 5:47 PM, Ashutosh Narayan aashutoshnarayan@gmail.com 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.nethttp://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


Ashutosh Narayan


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


Ashutosh Narayan


Ashutosh Narayan


#9

On Mon, May 27, 2013 at 7:31 PM, Adam Edwards adamed@opscode.com wrote:

Ah, I’m glad to hear that. :slight_smile: 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.

Welcome ! After all my problem is fixed now


Adam Edwards
Software Development Engineer, Opscode, Inc.

From: Ashutosh Narayan aashutoshnarayan@gmail.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Monday, May 27, 2013 6:56 AM
To: "chef@lists.opscode.com" chef@lists.opscode.com
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
given a wrong ServiceManagementUrl="https://management.core.windows.net"
After making that change, image listing and service listing are working
like a charm :slight_smile:

Thank you,

On Mon, May 27, 2013 at 7:16 PM, Adam Edwards adamed@opscode.com 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

From: Ashutosh Narayan aashutoshnarayan@gmail.com
Reply-To: "chef@lists.opscode.com" chef@lists.opscode.com
Date: Monday, May 27, 2013 6:23 AM
To: "chef@lists.opscode.com" chef@lists.opscode.com
Subject: [chef] Re: Re: knife-azure image list issue

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 chirag@clogeny.com 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 chirag@clogeny.comwrote:

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-9766619440 | Skype: chirag.jog

On Mon, May 27, 2013 at 5:47 PM, Ashutosh Narayan <
aashutoshnarayan@gmail.com> 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-9766619440 | Skype: chirag.jog


Ashutosh Narayan

http://ashutoshn.wordpress.com/


Ashutosh Narayan

http://ashutoshn.wordpress.com/