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 2020/03/26 12:00:40 UTC
[GitHub] [libcloud] jhesketh opened a new pull request #1444: Fix auto
assigning of volume device in OpenStack
jhesketh opened a new pull request #1444: Fix auto assigning of volume device in OpenStack
URL: https://github.com/apache/libcloud/pull/1444
When trying to attach a volume to a node with the OpenStack driver, using the 'auto' device name fails with:
libcloud.common.exceptions.BaseHTTPError: 400 Bad Request Invalid input for field/attribute device. Value: auto. u'auto' does not match '(^/dev/x{0,1}[a-z]{0,1}d{0,1})([a-z]+)[0-9]*$'
OpenStack expects a device, or a null/None value[0]
https://docs.openstack.org/api-ref/compute/?expanded=#attach-a-volume-to-an-instance
## Changes Title (replace this with a logical title for your changes)
### Description
Replace this with the PR description (mention the changes you have made, why
you have made them, provide some background and any references to the provider
documentation if needed, etc.).
For more information on contributing, please see [Contributing](http://libcloud.readthedocs.org/en/latest/development.html#contributing)
section of our documentation.
### Status
Replace this: describe the PR status. Examples:
- work in progress
- done, ready for review
### Checklist (tick everything that applies)
- [ ] [Code linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide) (required, can be done after the PR checks)
- [ ] Documentation
- [ ] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
- [ ] [ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes) (required for bigger changes)
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [libcloud] Kami commented on issue #1444: Fix auto assigning of
volume device in OpenStack
Posted by GitBox <gi...@apache.org>.
Kami commented on issue #1444: Fix auto assigning of volume device in OpenStack
URL: https://github.com/apache/libcloud/pull/1444#issuecomment-608649654
Thanks for the contribution.
I will look into adding a test case and merging it into trunk.
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [libcloud] asfgit merged pull request #1444: Fix auto assigning of
volume device in OpenStack
Posted by GitBox <gi...@apache.org>.
asfgit merged pull request #1444: Fix auto assigning of volume device in OpenStack
URL: https://github.com/apache/libcloud/pull/1444
----------------------------------------------------------------
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
With regards,
Apache Git Services
[GitHub] [libcloud] Kami commented on issue #1444: Fix auto assigning of
volume device in OpenStack
Posted by GitBox <gi...@apache.org>.
Kami commented on issue #1444: Fix auto assigning of volume device in OpenStack
URL: https://github.com/apache/libcloud/pull/1444#issuecomment-608704672
Added tests (1b2c399b06193145e0062667867e0b39ee754e9c) and merged it into trunk.
Thanks again for the contribution.
----------------------------------------------------------------
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
With regards,
Apache Git Services