Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1663658

Summary: [RFE][HPE-OSP16] InstanceHA feature rebuilds the instances only in case of node power cycle also
Product: Red Hat OpenStack Reporter: Vinayak <vinayak.ram>
Component: openstack-novaAssignee: Andrew Beekhof <abeekhof>
Status: CLOSED NOTABUG QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0 (Essex)CC: abeekhof, adakopou, dasmith, eglynn, jhakimra, kchamart, mushtaq.ahmed, sbauza, sgordon, vinayak.ram, vromanso
Target Milestone: ---Keywords: FutureFeature, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-27 07:01:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1595325, 1663045    

Description Vinayak 2019-01-06 07:15:01 UTC
Description of problem:
InstanceHA feature rebuilds the instances only in case of compute node crash, can we extend the feature for node power cycle also?

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Artom Lifshitz 2019-01-10 15:59:41 UTC
Hello,

Thanks for the RFE.

I think our PIDONE team, responsible for InstanceHA, is best placed to give you a definitive answer on this, so I've re-assigned this BZ to them. In the meantime, I'd like to pre-emptively ask you for more information - specifically, what you mean by "node power cycle"? Could you describe in detail how you see the new instance HA behaviour working, for example:

1. I manually power off the compute node.
2. I expect all of its instances to be evacuated to other hosts.

Also, if you could explain *why* you need this new behaviour, we might be able to guide you to a different solution, in case the specific RFE you're asking for is refused for whatever reason.

Thanks!

Comment 3 Vinayak 2019-01-16 14:24:28 UTC
Hello,

Yes scheduled/unscheduled power shutdown is a potential scenario when we will need the automatic evacuation of instances to other hosts.

Comment 5 Andrew Beekhof 2019-01-17 22:25:19 UTC
Instance HA is exclusively targeted at resurrecting dead instances in the event of a compute node crash/failure.
Clean shutdowns, whether planned or not, are very much out of scope for this feature and are better handled by live migration prior to shutdown.

Comment 6 Vinayak 2019-02-27 06:17:45 UTC
Can you please elaborate on what are the events classified as a "compute node crash/failure" for InstanceHA to be triggered?

Comment 7 Andrew Beekhof 2019-02-27 07:01:13 UTC
Anything that prevents the pacemaker cluster from communicating with its peer process on the compute node.
Eg. network or power loss

Recovering from failures of individual instances is explicitly out of scope.