Bug 880324 - rhevm-installation: we check if iscsi Export domain exists in the setup after clearing tasks and stopping jboss
Summary: rhevm-installation: we check if iscsi Export domain exists in the setup after...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.1.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 3.1.4
Assignee: Moran Goldboim
QA Contact: Pavel Stehlik
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-26 17:16 UTC by Dafna Ron
Modified: 2013-03-04 11:49 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-04 11:49:55 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:
sgrinber: Triaged+


Attachments (Terms of Use)
log (58.02 KB, application/octet-stream)
2012-11-26 17:16 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2012-11-26 17:16:10 UTC
Created attachment 652129 [details]
log

Description of problem:

currently we are checking for 2.2 dc/cluster -> check running tasks -> stop jboss -> check if we have iscsi export domain
I think that we should check if iscsi export exists at the same time we check 2.2 DC/Cluster so that user does not have to start jboss manually if they have to detach the storage

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

3.0 -> 24.4

How reproducible:

100%

Steps to Reproduce:
1. add iscsi export domain and 2.2 cluser/dc in your 3.0 setup + have running tasks
2. start upgrade -> remove 2.2 dc/cluster when it fails on that error
3. start upgrade -> agree to stop tasks
  
Actual results:

we fail upgrade because we have iscsi export domain. 
use has to manually start jboss to remove the domain and restart the upgrade

Expected results:

we should check if iscsi export domain exists at the same time we check for 2.2 cluster/DC

Additional info: upgrade log

uring the upgrade process, RHEV Manager  will not be accessible.
All existing running virtual machines will continue but you will not be able to
start or stop any new virtual machines during the process.

Would you like to proceed? (yes|no): yes
Stopping ovirt-engine service...                         [ DONE ]
Stopping DB related services...                          [ DONE ]

Info: The following tasks have been found running in the system: 

System Tasks:
-----
Task ID: 2
Task name: AddVmFromTemplate
Task description: Adding a virtual machine based on a template
-----
Task ID: 2
Task name: AddVmFromTemplate
Task description: Adding a virtual machine based on a template
-----
Task ID: 2
Task name: AddVmFromTemplate
Task description: Adding a virtual machine based on a template




[ Nov 26 18:38:07 ] Would you like to proceed and try to stop tasks automatically?
(Answering 'no' will stop the upgrade)? (yes|no): yes

[ Nov 26 18:38:43 ] System will try to clear tasks during the next 3 minutes.

Pre-upgrade validations...                               [ ERROR ]
Error: The current system contains a block (iSCSI/Fibre Channel) Export Storage Domain which is no longer supported.
Please remove all such Export Storage Domains before proceeding with the upgrade process.


Error: Upgrade failed.

Comment 3 Chris Negus 2013-02-25 14:24:52 UTC
I added this note to the RHEVM 3.0-3.1 Upgrade procedure:

* No upgrade with iSCSI export domain (RHEV 2.2)―Upgrades of RHEV 3.0 environments that include an iSCSI export domain will fail. Before doing the upgrade, start the jbossas service manually, remove the domain, and restart the upgrade. See BZ#880324 for details.


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