[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
** Tags removed: sts -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
** Tags removed: sts-sru ** Tags added: sts-sru-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
This bug was fixed in the package nova - 1:2014.1.5-0ubuntu1.6 --- nova (1:2014.1.5-0ubuntu1.6) trusty; urgency=medium * Allow evacuate for an instance in the Error state (LP: #1298061) - d/p/remove_useless_state_check.patch remove unnecessary task_state check - d/p/evacuate_error_vm.patch Allow evacuate from error state -- Liang ChenFri, 09 Sep 2016 17:41:48 +0800 ** Changed in: nova (Ubuntu Trusty) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
ii nova-common 1:2014.1.5-0ubuntu1.6 all OpenStack Compute - common files ii nova-compute 1:2014.1.5-0ubuntu1.6 all OpenStack Compute - compute node base ii nova-compute-kvm 1:2014.1.5-0ubuntu1.6 all OpenStack Compute - compute node (KVM) ii nova-compute-libvirt 1:2014.1.5-0ubuntu1.6 all OpenStack Compute - compute node libvirt support ii python-nova 1:2014.1.5-0ubuntu1.6 all OpenStack Compute Python libraries deployed openstack-base with juju on maas created trusty-test instance maas-node-02(source) - stopped nova-compute service maas-node-03(destination) nova evacuate --password 123qwe trusty-test maas-node-03 then got password as output Thanks. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
Hello Chris, or anyone else affected, Accepted nova into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/nova/1:2014.1.5-0ubuntu1.6 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: nova (Ubuntu Trusty) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
I updated regression section, please review it Thanks. ** Description changed: [Impact] * Instances in error state cannot be evacuated. [Test Case] * nova evacuate * nova refuses to evacuate the instance because of its state [Regression Potential] - * None + * Cherry picked from upstream +- removed unnecessary argument passing +- add allowing ERROR state before evacuating. + * actually, in code, added one parameter, and removed unused one. +so very low regression possibility. + * Tested on juju+maas test env. * Passed tempest smoke tests locally. Note: one simple way to put an instance into error state is to directly change its database record, for example "update instances set vm_state='error' where uuid=''" - We currently allow reboot/rebuild/rescue for an instance in the Error state if the instance has successfully booted at least once. We should allow "evacuate" as well, since it is essentially a "rebuild" on a different compute node. This would be useful in a number of cases, in particular if an initial evacuation attempt fails (putting the instance into the Error state). ** Changed in: nova (Ubuntu Trusty) Status: Incomplete => In Progress ** Changed in: nova (Ubuntu Trusty) Assignee: Liang Chen (cbjchen) => Seyeong Kim (xtrusia) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
** Changed in: nova (Ubuntu Trusty) Status: In Progress => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
"Regression Potential: None" is not acceptable. Please review the process documentation (fairly recently updated to make clearer) and fix: "a discussion of how regressions are most likely to manifest, or may manifest even if it is unlikely, as a result of this change. It is assumed that any SRU candidate patch is well-tested before upload and has a low overall risk of regression, but it's important to make the effort to think about what could happen in the event of a regression." -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
Uploaded to trusty review queue and awaiting sru team review. https://launchpad.net/ubuntu/trusty/+queue?queue_state=1_text= -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
** Branch linked: lp:~ubuntu-server-dev/nova/icehouse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
Liang, thanks for the patches. LGTM. I'll upload once a local build passes. ** Also affects: cloud-archive Importance: Undecided Status: New ** No longer affects: cloud-archive ** Also affects: cloud-archive Importance: Undecided Status: New ** Also affects: cloud-archive/icehouse Importance: Undecided Status: New ** Changed in: cloud-archive Status: New => Invalid ** Changed in: cloud-archive Status: Invalid => Fix Released ** Changed in: cloud-archive/icehouse Status: New => In Progress ** Changed in: cloud-archive/icehouse Importance: Undecided => Medium ** Changed in: cloud-archive Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
** Tags added: sts-sru -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
** Description changed: [Impact] * Instances in error state cannot be evacuated. [Test Case] * nova evacuate * nova refuses to evacuate the instance because of its state [Regression Potential] * None - * Passed tempest smoke tests locally. + * Passed tempest smoke tests locally. + + Note: one simple way to put an instance into error state is to directly + change its database record, for example update instances set + vm_state='error' where uuid='' We currently allow reboot/rebuild/rescue for an instance in the Error state if the instance has successfully booted at least once. We should allow "evacuate" as well, since it is essentially a "rebuild" on a different compute node. This would be useful in a number of cases, in particular if an initial evacuation attempt fails (putting the instance into the Error state). ** Description changed: [Impact] * Instances in error state cannot be evacuated. [Test Case] * nova evacuate * nova refuses to evacuate the instance because of its state [Regression Potential] * None * Passed tempest smoke tests locally. Note: one simple way to put an instance into error state is to directly - change its database record, for example update instances set - vm_state='error' where uuid='' + change its database record, for example "update instances set + vm_state='error' where uuid=''" We currently allow reboot/rebuild/rescue for an instance in the Error state if the instance has successfully booted at least once. We should allow "evacuate" as well, since it is essentially a "rebuild" on a different compute node. This would be useful in a number of cases, in particular if an initial evacuation attempt fails (putting the instance into the Error state). ** Description changed: [Impact] * Instances in error state cannot be evacuated. [Test Case] * nova evacuate * nova refuses to evacuate the instance because of its state [Regression Potential] * None * Passed tempest smoke tests locally. Note: one simple way to put an instance into error state is to directly change its database record, for example "update instances set vm_state='error' where uuid=''" + We currently allow reboot/rebuild/rescue for an instance in the Error state if the instance has successfully booted at least once. We should allow "evacuate" as well, since it is essentially a "rebuild" on a different compute node. This would be useful in a number of cases, in particular if an initial evacuation attempt fails (putting the instance into the Error state). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
** Description changed: [Impact] - * Instances in error state cannot be evacuated. + * Instances in error state cannot be evacuated. [Test Case] - * nova evacuate - * nova refuses to evacuate the instance because of its state + * nova evacuate + * nova refuses to evacuate the instance because of its state [Regression Potential] - * None - + * None + * Passed tempest smoke tests locally. We currently allow reboot/rebuild/rescue for an instance in the Error state if the instance has successfully booted at least once. We should allow "evacuate" as well, since it is essentially a "rebuild" on a different compute node. This would be useful in a number of cases, in particular if an initial evacuation attempt fails (putting the instance into the Error state). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
** Changed in: nova (Ubuntu) Status: New => Fix Released ** Changed in: nova (Ubuntu Trusty) Importance: Undecided => Medium ** Changed in: nova (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
** Changed in: nova (Ubuntu Trusty) Assignee: (unassigned) => Liang Chen (cbjchen) ** Changed in: nova (Ubuntu Trusty) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1298061] Re: nova should allow evacuate for an instance in the Error state
** Also affects: nova (Ubuntu) Importance: Undecided Status: New ** Also affects: nova (Ubuntu Trusty) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1298061 Title: nova should allow evacuate for an instance in the Error state To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1298061/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs