Bug 1271511 - 'Destroy VM and abort setup' fails when the setup is trying to add the host to the engine
Summary: 'Destroy VM and abort setup' fails when the setup is trying to add the host t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: General
Version: 1.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ovirt-3.6.1
: 1.3.1
Assignee: Simone Tiraboschi
QA Contact: Nikolai Sednev
URL:
Whiteboard:
Depends On:
Blocks: 1284979
TreeView+ depends on / blocked
 
Reported: 2015-10-14 07:52 UTC by Simone Tiraboschi
Modified: 2016-02-17 07:19 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
ovirt-hosted-engine-setup was proposing to the user 'Destroy VM and abort setup' when something went wrong trying to add an additional host to an engine that runa as a VM somewhere else so it will fail cause it cannot destroy a VM that run on a different host. Filtering it.
Clone Of:
Environment:
Last Closed: 2016-02-17 07:19:05 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-3.6.z+
bmcclain: planning_ack+
sbonazzo: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
hosted-engine-setup logs (280.98 KB, text/plain)
2015-10-14 07:55 UTC, Simone Tiraboschi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 47371 0 master MERGED setup: avoid restart and destroy VM options at the add_host plugin Never
oVirt gerrit 47504 0 ovirt-hosted-engine-setup-1.3 MERGED setup: avoid restart and destroy VM options at the add_host plugin Never

Description Simone Tiraboschi 2015-10-14 07:52:49 UTC
Description of problem:
          Please check Engine VM configuration.
         
          Make a selection from the options below:
          (1) Continue setup - Engine VM configuration has been fixed
          (2) Power off and restart the VM
          (3) Abort setup
          (4) Destroy VM and abort setup
         
          (1, 2, 3, 4)[1]: 4
[ ERROR ] Failed to execute stage 'Closing up': 'Plugin' object has no attribute '_destroy_vm'

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

How reproducible:
100%

Steps to Reproduce:
1. deploy hosted-engien setup on additional host
2. have it failing to add the host for any reasons (eg. cause the host is already in the engine)
3. choose 4

Actual results:
          (1, 2, 3, 4)[1]: 4
[ ERROR ] Failed to execute stage 'Closing up': 'Plugin' object has no attribute '_destroy_vm'

Expected results:
It should correctly termite

Additional info:

Comment 1 Simone Tiraboschi 2015-10-14 07:55:27 UTC
Created attachment 1082719 [details]
hosted-engine-setup logs

Comment 2 Simone Tiraboschi 2015-10-15 14:48:26 UTC
It fails also on the first host when called by the add_host plugin simply cause the add_host plugin doesn't implement _destroy_vm() and _create_vm() methods.

Comment 3 Gil Klein 2016-02-17 07:19:05 UTC
This bug was fixed and is slated to be in the upcoming version. As we
are focusing our testing at this phase on severe bugs, this bug was
closed without going through its verification step. If you think this
bug should be verified by QE, please set its severity to high and move
it back to ON_QA


Note You need to log in before you can comment on or make changes to this bug.