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

[nova]Lock required in nova reboot server operation #9

Open
jybuestc opened this issue Nov 25, 2015 · 0 comments
Open

[nova]Lock required in nova reboot server operation #9

jybuestc opened this issue Nov 25, 2015 · 0 comments

Comments

@jybuestc
Copy link
Collaborator

Description:
Lock required in nova reboot server operation

Project:
OpenStack

Project Area:
nova

Release:
OpenStack

Severity:
S1

Full Details:

Now nova can receive 2nd reboot request even if 1st reboot is ongoing. A lock is required when it's being reboot.

stack@ubuntu:$ nova reboot aba46ead-87fb-40ff-9df4-9bf4739bda96
Request to reboot server <Server: CentOS_VM> has been accepted.
stack@ubuntu:
$ nova reboot --hard aba46ead-87fb-40ff-9df4-9bf4739bda96
Request to reboot server <Server: CentOS_VM> has been accepted.
stack@ubuntu:$ nova reboot --hard aba46ead-87fb-40ff-9df4-9bf4739bda96
Request to reboot server <Server: CentOS_VM> has been accepted.
stack@ubuntu:
$ nova list
+--------------------------------------+-----------+-------------+---------------------+-------------+--------------------------------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-----------+-------------+---------------------+-------------+--------------------------------------------------------+
| aba46ead-87fb-40ff-9df4-9bf4739bda96 | CentOS_VM | HARD_REBOOT | reboot_pending_hard | Running | private=10.0.0.4, fd49:d2f7:ca05:0:f816:3eff:fe60:1823 |
+--------------------------------------+-----------+-------------+---------------------+-------------+--------------------------------------------------------+
stack@ubuntu:$ nova reboot aba46ead-87fb-40ff-9df4-9bf4739bda96
Request to reboot server <Server: CentOS_VM> has been accepted.
stack@ubuntu:
$ nova list
+--------------------------------------+-----------+--------+----------------+-------------+--------------------------------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-----------+--------+----------------+-------------+--------------------------------------------------------+
| aba46ead-87fb-40ff-9df4-9bf4739bda96 | CentOS_VM | REBOOT | reboot_started | Running | private=10.0.0.4, fd49:d2f7:ca05:0:f816:3eff:fe60:1823 |
+--------------------------------------+-----------+--------+----------------+-------------+--------------------------------------------------------+
stack@ubuntu:~$ nova reboot --hard aba46ead-87fb-40ff-9df4-9bf4739bda96
Request to reboot server <Server: CentOS_VM> has been accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant