Revert "[p/openstack.nova] force creation of pty on aarch64" 05/56505/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 25 Apr 2018 15:50:19 +0000 (17:50 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 25 Apr 2018 15:57:25 +0000 (17:57 +0200)
commit902dee384d627fda43b715fc6b47ecd97636c7b8
tree1fa13c58a351c999a57fdffbd697616527be59ee
parent6657baa68d238e1cba9e1d69118616e438b07f37
Revert "[p/openstack.nova] force creation of pty on aarch64"

Now that we added Mirantis MCP repos on cmp nodes for HA scenarios,
the recently added patch that reverted Ubuntu specific changes for
serial console no longer applies (as Mirantis does not carry those
Ubuntu modifications but instead relies on upstream Nova).

This, combined with a minor bug in patch applying itself and a
legacy leftover that does not check the patch apply return code
led to the whole Nova patch to be skipped.

- remove pty related patch hunks (revert);
- fix `unless` condition for Nova patch apply, as well as Salt minion
  patch apply;
- break `armband` state on patch apply failure;

Note that for noHA deploys (where we still use the Ubuntu packages
on cmp nodes afair) we will revert to old (no pty) behavior.

This reverts commit 093f2b7684c86979dfa6f5f36f28689ca9b3e552.

Change-Id: Ib3c1119ab544ba895b2f8d37e0b9542196058993
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
patches/opnfv-fuel/0002-salt-formulas-Add-enable-armband-formula.patch
patches/opnfv-fuel/0007-mcp-salt-formulas-armband-Extend-libvirt_domain.patch