You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by GitBox <gi...@apache.org> on 2021/02/20 13:15:52 UTC

[GitHub] [libcloud] robjuffermans opened a new issue #1554: KeyError in OVH driver

robjuffermans opened a new issue #1554:
URL: https://github.com/apache/libcloud/issues/1554


   While resizing an OVH instance I ran **wait_until_running** and gave a **KeyError** for key **RESIZE**
   
     File "/usr/local/lib/python3.8/site-packages/libcloud/compute/base.py", line 1679, in wait_until_running
       all_nodes = self.list_nodes(**ex_list_nodes_kwargs)
     File "/usr/local/lib/python3.8/site-packages/libcloud/compute/drivers/ovh.py", line 98, in list_nodes
       return self._to_nodes(response.object)
     File "/usr/local/lib/python3.8/site-packages/libcloud/compute/drivers/ovh.py", line 506, in _to_nodes
       return [self._to_node(obj) for obj in objs]
     File "/usr/local/lib/python3.8/site-packages/libcloud/compute/drivers/ovh.py", line 506, in <listcomp>
       return [self._to_node(obj) for obj in objs]
     File "/usr/local/lib/python3.8/site-packages/libcloud/compute/drivers/ovh.py", line 501, in _to_node
       state=self.NODE_STATE_MAP[obj['status']],
   KeyError: 'RESIZE'


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [libcloud] Kami commented on issue #1554: KeyError in OVH driver

Posted by GitBox <gi...@apache.org>.
Kami commented on issue #1554:
URL: https://github.com/apache/libcloud/issues/1554#issuecomment-783711260


   @robjuffermans Thanks for reporting this.
   
   Please feel free to open a PR with the fix - should be straight forward, just need to update state map + add test for it.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [libcloud] robjuffermans commented on issue #1554: KeyError in OVH driver

Posted by GitBox <gi...@apache.org>.
robjuffermans commented on issue #1554:
URL: https://github.com/apache/libcloud/issues/1554#issuecomment-784639303


   just made pull request #1555 


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [libcloud] asfgit closed issue #1554: KeyError in OVH driver

Posted by GitBox <gi...@apache.org>.
asfgit closed issue #1554:
URL: https://github.com/apache/libcloud/issues/1554


   


----------------------------------------------------------------
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:
users@infra.apache.org