Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

VMImage "not found" error when adding second role

$
0
0

When I trying to add a second role to a deployment with the REST API, I am getting the error:

<Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>ResourceNotFound</Code><Message>VMImage vnscubed3502-ul-x8664-azure-5QgR not found.</Message></Error>

When I use the api to get the list of images, the output in includes:

<OSImage>
    <Category>User</Category>
    <Label>vnscubed3502-ul-x8664-azure-5QgR</Label>
    <Location>East US</Location>
    <LogicalSizeInGB>10</LogicalSizeInGB>
    <MediaLink>http://cohesiveft.blob.core.windows.net/vhds/vnscubed3502-ul-x8664-azure-5QgR</MediaLink>
    <Name>vnscubed3502-ul-x8664-azure-5QgR</Name>
    <OS>Linux</OS>
    <IsPremium>false</IsPremium>
    <OSState>Generalized</OSState>
</OSImage>

My XML for the add role includes:

     <VMImageName>vnscubed3502-ul-x8664-azure-5QgR</VMImageName>
     <MediaLocation>http://cohesiveft.blob.core.windows.net/vhds</MediaLocation>

  I have also used "East US" in place of the above value for MediaLocation with the same result.

Are <VMImageName> or <MediaLocation> incorrect or is there some other field related to the image that is also required ?  Any help would be greatly appreciated.

    Thanks,


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>