foospidy opened a new issue #1420: Inconsistent uuid generation in azure_arm
URL: https://github.com/apache/libcloud/issues/1420
 
 
   ## Summary
   
   Azure returns inconsistent casing of the resource groups name in the id 
string, resulting in different uuid's for the same node (depending on what 
calls you make).
   
   ## Detailed Information
   
   When a node is created, the resource groups name in the id string is lower 
case. In subsequent calls, like in list_nodes(), for some reason Azure returns 
the resource groups name in upper case. This results in a different uuid from 
when create_node() is called. This also breaks wait_until_running(). Forcing 
the id string to lower case in _to_node() seems to resolve this issue.
   
   I made the change here: 
https://github.com/foospidy/libcloud/commit/2682d1229466fa577d4360ababd650d777ea49f3
   
   I'd be happy to submit a PR.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to