You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "David Pilato (JIRA)" <ji...@apache.org> on 2013/09/02 22:58:51 UTC
[jira] [Updated] (JCLOUDS-260) Azure HostedServices API should
return instances list
[ https://issues.apache.org/jira/browse/JCLOUDS-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Pilato updated JCLOUDS-260:
---------------------------------
Description:
When running:
{code:java}
HostedServiceWithDetailedProperties details = client().getApi().getHostedServiceApi().getDetails(serviceName);
{code}
We don't get the full list of attached VMs to a given service although the same REST API call gives all details:
{noformat}
curl --cert azure-cert.pem --key azure-pk.pem -H "x-ms-version: 2012-08-01" "https://management.core.windows.net/{subscription_id}/services/hostedservices/{service_name}?embed-detail=true"
{noformat}
Gives (some content is skipped):
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<HostedService xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Deployments>
<Deployment>
<RoleInstanceList>
<RoleInstance>
<RoleName>myesnode1</RoleName>
<InstanceName>myesnode1</InstanceName>
<InstanceStatus>ReadyRole</InstanceStatus>
<InstanceUpgradeDomain>0</InstanceUpgradeDomain>
<InstanceFaultDomain>0</InstanceFaultDomain>
<InstanceSize>ExtraSmall</InstanceSize>
<InstanceStateDetails />
<IpAddress>XXX.XXX.XXX.XXX</IpAddress>
<PowerState>Started</PowerState>
<HostName>myesnode1</HostName>
</RoleInstance>
</RoleInstanceList>
</Deployment>
</Deployments>
</HostedService>
{code}
was:
When running:
HostedServiceWithDetailedProperties details = client().getApi().getHostedServiceApi().getDetails(serviceName);
We don't get the full list of attached VMs to a given service although the same REST API call gives all details:
curl --cert azure-cert.pem --key azure-pk.pem -H "x-ms-version: 2012-08-01" "https://management.core.windows.net/{subscription_id}/services/hostedservices/{service_name}?embed-detail=true"
Gives (some content is skipped):
<?xml version="1.0" encoding="UTF-8"?>
<HostedService xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Deployments>
<Deployment>
<RoleInstanceList>
<RoleInstance>
<RoleName>myesnode1</RoleName>
<InstanceName>myesnode1</InstanceName>
<InstanceStatus>ReadyRole</InstanceStatus>
<InstanceUpgradeDomain>0</InstanceUpgradeDomain>
<InstanceFaultDomain>0</InstanceFaultDomain>
<InstanceSize>ExtraSmall</InstanceSize>
<InstanceStateDetails />
<IpAddress>XXX.XXX.XXX.XXX</IpAddress>
<PowerState>Started</PowerState>
<HostName>myesnode1</HostName>
</RoleInstance>
</RoleInstanceList>
</Deployment>
</Deployments>
</HostedService>
> Azure HostedServices API should return instances list
> -----------------------------------------------------
>
> Key: JCLOUDS-260
> URL: https://issues.apache.org/jira/browse/JCLOUDS-260
> Project: jclouds
> Issue Type: Improvement
> Components: jclouds-labs
> Affects Versions: 1.5.10
> Reporter: David Pilato
> Labels: azure, features
>
> When running:
> {code:java}
> HostedServiceWithDetailedProperties details = client().getApi().getHostedServiceApi().getDetails(serviceName);
> {code}
> We don't get the full list of attached VMs to a given service although the same REST API call gives all details:
> {noformat}
> curl --cert azure-cert.pem --key azure-pk.pem -H "x-ms-version: 2012-08-01" "https://management.core.windows.net/{subscription_id}/services/hostedservices/{service_name}?embed-detail=true"
> {noformat}
> Gives (some content is skipped):
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <HostedService xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
> <Deployments>
> <Deployment>
> <RoleInstanceList>
> <RoleInstance>
> <RoleName>myesnode1</RoleName>
> <InstanceName>myesnode1</InstanceName>
> <InstanceStatus>ReadyRole</InstanceStatus>
> <InstanceUpgradeDomain>0</InstanceUpgradeDomain>
> <InstanceFaultDomain>0</InstanceFaultDomain>
> <InstanceSize>ExtraSmall</InstanceSize>
> <InstanceStateDetails />
> <IpAddress>XXX.XXX.XXX.XXX</IpAddress>
> <PowerState>Started</PowerState>
> <HostName>myesnode1</HostName>
> </RoleInstance>
> </RoleInstanceList>
> </Deployment>
> </Deployments>
> </HostedService>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira