Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lock.py: not all virtual machines have a dedicated host #535

Merged
merged 1 commit into from Jul 1, 2015
Merged

lock.py: not all virtual machines have a dedicated host #535

merged 1 commit into from Jul 1, 2015

Conversation

ghost
Copy link

@ghost ghost commented Jun 19, 2015

Gracefully handle the case where a virtual machine has no dedicated
host. It's the case for OpenStack.

Signed-off-by: Loic Dachary loic@dachary.org

@ceph-jenkins
Copy link

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1536/
Tests passed for this pull request.

@ghost ghost assigned zmc Jun 19, 2015
@zmc
Copy link
Member

zmc commented Jun 25, 2015

I think this deserves a comment noting it's a codepath for openstack as opposed to downburst, no?

@ghost
Copy link
Author

ghost commented Jun 26, 2015

@zmc right ! comment added

@ceph-jenkins
Copy link

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1545/
Tests failed for this pull request.

@ghost
Copy link
Author

ghost commented Jun 26, 2015

@zmc I think http://jenkins.ceph.com/job/teuthology-pull-requests/1546/console is a false negative ?

@ghost
Copy link
Author

ghost commented Jun 29, 2015

test this please

@ceph-jenkins
Copy link

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1581/
Tests passed for this pull request.

@@ -265,6 +265,9 @@ def main(ctx):
for s in statuses:
if not s.get('is_vm', False):
continue
# when provisioning with an API, the host of the VM is unknown
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you word this more specifically, like "e.g. an OpenStack API" please?

Gracefully handle the case where a virtual machine has no dedicated
host. It's the case for OpenStack.

Signed-off-by: Loic Dachary <loic@dachary.org>
@ghost
Copy link
Author

ghost commented Jul 1, 2015

I amended the comment to be more specific and re-pushed.

@ceph-jenkins
Copy link

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1596/
Tests passed for this pull request.

@zmc
Copy link
Member

zmc commented Jul 1, 2015

Thanks @dachary

zmc added a commit that referenced this pull request Jul 1, 2015
lock.py: not all virtual machines have a dedicated host
@zmc zmc merged commit 93099ca into ceph:master Jul 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants