Description of problem: Unable to upgrade/reinstall rhevh Version-Release number of selected component (if applicable): rhevm.noarch 0:3.4.0-0.1000.36.783a553.beta3.el6ev How reproducible: always Steps to Reproduce: 1. add host with rhevh to 3.4 engine 2. yum install rhev-hypervisor6 3. put host to maintenance 4. reinstall host Actual results: installation fails, host moves to non-operational state Expected results: re-installation succedes and host moves to up state. Additional info: 2014-04-29 17:00:19,258 INFO [org.ovirt.engine.core.bll.InstallVdsCommand] (ajp-/127.0.0.1:8702-1) [3de8ae44] Lock Acquired to object EngineLock [exclusiveLocks= key: 24c97fea-12b5-40dc-b90f-030341c888a3 value: VDS , sharedLocks= ] 2014-04-29 17:00:19,310 WARN [org.ovirt.engine.core.bll.InstallVdsCommand] (ajp-/127.0.0.1:8702-1) [3de8ae44] CanDoAction of action InstallVds failed. Reasons:VDS_CANNOT_UPGRADE_BETWEEN_MAJOR_VERSION,$IsoVersion 6 2014-04-29 17:00:19,311 INFO [org.ovirt.engine.core.bll.InstallVdsCommand] (ajp-/127.0.0.1:8702-1) [3de8ae44] Lock freed to object EngineLock [exclusiveLocks= key: 24c97fea-12b5-40dc-b90f-030341c888a3 value: VDS , sharedLocks= ] 2014-04-29 17:00:19,314 ERROR [org.ovirt.engine.core.bll.UpdateVdsCommand] (ajp-/127.0.0.1:8702-1) [3de8ae44] Installation/upgrade of Host 24c97fea-12b5-40dc-b90f-030341c888a3,cinteg26.ci.lab.tlv.redhat.com failed due to: Cannot upgrade Host. Host version is not compatible with selected ISO version. Please select an ISO with major version 6.x. 2014-04-29 17:00:19,357 INFO [org.ovirt.engine.core.bll.UpdateVdsCommand] (ajp-/127.0.0.1:8702-1) [3de8ae44] Command [id=a3562da0-4421-4b39-8401-690a71ba77eb]: Compensating CHANGED_STATUS_ONLY of org.ovirt.engine.core.common.businessentities.VdsDynamic; snapshot: EntityStatusSnapshot [id=24c97fea-12b5-40dc-b90f-030341c888a3, status=Maintenance]. 2014-04-29 17:00:19,396 INFO [org.ovirt.engine.core.bll.UpdateVdsCommand] (ajp-/127.0.0.1:8702-1) [3de8ae44] Command [id=a3562da0-4421-4b39-8401-690a71ba77eb]: Compensating CHANGED_ENTITY of org.ovirt.engine.core.common.businessentities.VdsStatic; snapshot: id=24c97fea-12b5-40dc-b90f-030341c888a3. 2014-04-29 17:00:19,462 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-1) [3de8ae44] Correlation ID: 3de8ae44, Call Stack: null, Custom Event ID: -1, Message: Failed to update Host cinteg26.ci.lab.tlv.redhat.com (User: admin). 2014-04-29 17:00:19,462 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (ajp-/127.0.0.1:8702-1) Operation Failed: [Cannot upgrade Host. Host version is not compatible with selected ISO version. Please select an ISO with major version 6.x.]
Created attachment 891421 [details] logs
Reproduced with this script: #!/bin/sh -x url="https://192.168.xx.xx:8443/ovirt-engine/api" user="admin@internal" password="mysuperadminpassword" host="fd61be82-23af-4120-8f8f-5d924dcd71fd" # got from vdc_static table curl \ --insecure \ --request POST \ --header "Accept: application/xml" \ --header "Content-Type: application/xml" \ --user "${user}:${password}" \ --data " <action> <async>false</async> <grace_period> <expiry>10</expiry> </grace_period> <root_password>mysuperrootpassword</root_password> <image>rhevh-latest-6.iso</image> </action> " \ ${url}/hosts/${host}/install
I installed rhevh RHEV Hypervisor - 6.5 - 20140501.1.el6ev and via rest tried to reinstall it and the result was Installation failed ... version: rhevm-3.4.0-0.1000.0.f68f9a9.rc.el6ev.noarch Events: Host monique-vds04 installation failed. SSH session timeout host 'root.2.48'. Failed to install Host monique-vds04. Processing stopped due to timeout. Installing Host monique-vds04. Sending file /usr/share/rhev-hypervisor/rhevh-latest-6.iso to /data/updates/ovirt-node-image.iso. \log is attached
Created attachment 893632 [details] engineloggz {talayan-laptop:~} % cat reinstall.sh #!/bin/sh -x url="https://10.35.161.144/ovirt-engine/api" user="admin@internal" password="XXXXXXXXXXX" host="4da1b351-1c5c-4697-bd8f-b60625824440" # got from vdc_static table curl \ --insecure \ --request POST \ --header "Accept: application/xml" \ --header "Content-Type: application/xml" \ --user "${user}:${password}" \ --data " <action> <async>false</async> <grace_period> <expiry>10</expiry> </grace_period> <root_password>XXXXXXXXXXXXXXXXXXXX</root_password> <image>rhevh-latest-6.iso</image> </action> " \ ${url}/hosts/${host}/install
We still see this issue in our CI. Please contact Tareq and Ohad for more info. - Kiril
Hello, (In reply to Tareq Alayan from comment #7) > I installed rhevh RHEV Hypervisor - 6.5 - 20140501.1.el6ev > > and via rest tried to reinstall it and the result was Installation failed ... > > version: > rhevm-3.4.0-0.1000.0.f68f9a9.rc.el6ev.noarch > > Events: > Host monique-vds04 installation failed. SSH session timeout host > 'root.2.48'. > Failed to install Host monique-vds04. Processing stopped due to timeout. > Installing Host monique-vds04. Sending file > /usr/share/rhev-hypervisor/rhevh-latest-6.iso to > /data/updates/ovirt-node-image.iso. It's not related to this bugzilla, please go to the below bugzilla and request the 3.4. flags. Glad that I am not the only one reporting this issue. timeout, install failed: Sending iso from ovirt-engine to ovirt-node during upgrad https://bugzilla.redhat.com/show_bug.cgi?id=1093882 Thanks!
Verified with rhevm-3.4.0-0.18.el6ev.noarch. upgraded rhev-h host with rhevh-6.5-20140501.1.el6ev.iso installed to rhev-hypervisor6-6.5-20140508.0.el6ev.noarch: /bin/sh -x url="https://10.35.xx.xx:8443/ovirt-engine/api" user="admin@internal" password=xxxxxxxxxxxx host="3c1379f9-5460-470b-a9e0-5d24d101611f" curl \ --insecure \ --request POST \ --header "Accept: application/xml" \ --header "Content-Type: application/xml" \ --user "${user}:${password}" \ --data " <action> <async>false</async> <grace_period> <expiry>10</expiry> </grace_period> <root_password>xxxxxxxxxxx</root_password> <image>rhevh-latest-6.iso</image> </action> " \ ${url}/hosts/${host}/install action was successful.
Closing as part of 3.4.0