Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
RHEV-H upgrade failed when run "ovirt-node-upgrade" command for the second time.
Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.5-20130725.0.auto1831.el6.iso
ovirt-node-3.0.1-999.0.20130913165928git1078b75.el6.noarch
How reproducible:
100%
Steps to Reproduce:
1. Clean install rhev-hypervisor6-6.5-20130725.0.auto1831.el6.iso
2. Run command "ovirt-node-upgrade --iso $ISONAME"
3. Run command "ovirt-node-upgrade --iso $ISONAME --reboot 5"
4. Focus on the output.
Actual results:
1. RHEV-H Upgrade Failed.
2. RHEV-H upgrade can successful after reboot the host.
====================================
# ovirt-node-upgrade --iso rhev-hypervisor6-6.4-20130815.0.auto778.el6_4.iso --reboot 5
ovirt-node-upgrade.UpgradeTool: INFO Temporary Directory is: /data/tmp8dl3hL
ovirt-node-upgrade.LockFile: INFO Acquiring Lock
ovirt-node-upgrade.UpgradeTool: INFO Running pre-upgrade hooks
ovirt-node-upgrade.UpgradeTool: INFO pre-upgrade hooks completed
ovirt-node-upgrade.UpgradeTool: INFO hooks: False
ovirt-node-upgrade.UpgradeTool: INFO Installing Bootloader
INFO:ovirt-node-upgrade.UpgradeTool:Installing Bootloader
ovirt-node-upgrade.UpgradeTool: ERROR Error: Upgrade Failed: [Errno 30] Read-only file system: '/liveos/grub'
Traceback (most recent call last):
File "/usr/sbin/ovirt-node-upgrade", line 343, in run
self._run_upgrade()
File "/usr/sbin/ovirt-node-upgrade", line 242, in _run_upgrade
if not upgrade.ovirt_boot_setup():
File "/usr/lib/python2.6/site-packages/ovirtnode/install.py", line 391, in ovirt_boot_setup
File "/usr/lib64/python2.6/os.py", line 157, in makedirs
OSError: [Errno 30] Read-only file system: '/liveos/grub'
ERROR:ovirt-node-upgrade.UpgradeTool:Error: Upgrade Failed: [Errno 30] Read-only file system: '/liveos/grub'
Traceback (most recent call last):
File "/usr/sbin/ovirt-node-upgrade", line 343, in run
self._run_upgrade()
File "/usr/sbin/ovirt-node-upgrade", line 242, in _run_upgrade
if not upgrade.ovirt_boot_setup():
File "/usr/lib/python2.6/site-packages/ovirtnode/install.py", line 391, in ovirt_boot_setup
File "/usr/lib64/python2.6/os.py", line 157, in makedirs
OSError: [Errno 30] Read-only file system: '/liveos/grub'
ovirt-node-upgrade.UpgradeTool: INFO Running rollback hooks
INFO:ovirt-node-upgrade.UpgradeTool:Running rollback hooks
ovirt-node-upgrade.UpgradeTool: INFO rollback hooks completed
INFO:ovirt-node-upgrade.UpgradeTool:rollback hooks completed
ovirt-node-upgrade.UpgradeTool: INFO Upgrade Failed, Rollback Completed
INFO:ovirt-node-upgrade.UpgradeTool:Upgrade Failed, Rollback Completed
ovirt-node-upgrade.UpgradeTool: INFO Cleaning up temporary directory
INFO:ovirt-node-upgrade.UpgradeTool:Cleaning up temporary directory
DEBUG:ovirt-node-upgrade.UpgradeTool:('/bin/umount', '/data/tmp8dl3hL/rootfs')
DEBUG:ovirt-node-upgrade.UpgradeTool:[]
DEBUG:ovirt-node-upgrade.UpgradeTool:
DEBUG:ovirt-node-upgrade.UpgradeTool:('/bin/umount', '/data/tmp8dl3hL/squashfs')
DEBUG:ovirt-node-upgrade.UpgradeTool:[]
DEBUG:ovirt-node-upgrade.UpgradeTool:
DEBUG:ovirt-node-upgrade.UpgradeTool:('/bin/umount', '/live')
DEBUG:ovirt-node-upgrade.UpgradeTool:[]
DEBUG:ovirt-node-upgrade.UpgradeTool:
Expected results:
RHEV-H upgrade successful.
Additional info:
Description of problem: RHEV-H upgrade failed when run "ovirt-node-upgrade" command for the second time. Version-Release number of selected component (if applicable): rhev-hypervisor6-6.5-20130725.0.auto1831.el6.iso ovirt-node-3.0.1-999.0.20130913165928git1078b75.el6.noarch How reproducible: 100% Steps to Reproduce: 1. Clean install rhev-hypervisor6-6.5-20130725.0.auto1831.el6.iso 2. Run command "ovirt-node-upgrade --iso $ISONAME" 3. Run command "ovirt-node-upgrade --iso $ISONAME --reboot 5" 4. Focus on the output. Actual results: 1. RHEV-H Upgrade Failed. 2. RHEV-H upgrade can successful after reboot the host. ==================================== # ovirt-node-upgrade --iso rhev-hypervisor6-6.4-20130815.0.auto778.el6_4.iso --reboot 5 ovirt-node-upgrade.UpgradeTool: INFO Temporary Directory is: /data/tmp8dl3hL ovirt-node-upgrade.LockFile: INFO Acquiring Lock ovirt-node-upgrade.UpgradeTool: INFO Running pre-upgrade hooks ovirt-node-upgrade.UpgradeTool: INFO pre-upgrade hooks completed ovirt-node-upgrade.UpgradeTool: INFO hooks: False ovirt-node-upgrade.UpgradeTool: INFO Installing Bootloader INFO:ovirt-node-upgrade.UpgradeTool:Installing Bootloader ovirt-node-upgrade.UpgradeTool: ERROR Error: Upgrade Failed: [Errno 30] Read-only file system: '/liveos/grub' Traceback (most recent call last): File "/usr/sbin/ovirt-node-upgrade", line 343, in run self._run_upgrade() File "/usr/sbin/ovirt-node-upgrade", line 242, in _run_upgrade if not upgrade.ovirt_boot_setup(): File "/usr/lib/python2.6/site-packages/ovirtnode/install.py", line 391, in ovirt_boot_setup File "/usr/lib64/python2.6/os.py", line 157, in makedirs OSError: [Errno 30] Read-only file system: '/liveos/grub' ERROR:ovirt-node-upgrade.UpgradeTool:Error: Upgrade Failed: [Errno 30] Read-only file system: '/liveos/grub' Traceback (most recent call last): File "/usr/sbin/ovirt-node-upgrade", line 343, in run self._run_upgrade() File "/usr/sbin/ovirt-node-upgrade", line 242, in _run_upgrade if not upgrade.ovirt_boot_setup(): File "/usr/lib/python2.6/site-packages/ovirtnode/install.py", line 391, in ovirt_boot_setup File "/usr/lib64/python2.6/os.py", line 157, in makedirs OSError: [Errno 30] Read-only file system: '/liveos/grub' ovirt-node-upgrade.UpgradeTool: INFO Running rollback hooks INFO:ovirt-node-upgrade.UpgradeTool:Running rollback hooks ovirt-node-upgrade.UpgradeTool: INFO rollback hooks completed INFO:ovirt-node-upgrade.UpgradeTool:rollback hooks completed ovirt-node-upgrade.UpgradeTool: INFO Upgrade Failed, Rollback Completed INFO:ovirt-node-upgrade.UpgradeTool:Upgrade Failed, Rollback Completed ovirt-node-upgrade.UpgradeTool: INFO Cleaning up temporary directory INFO:ovirt-node-upgrade.UpgradeTool:Cleaning up temporary directory DEBUG:ovirt-node-upgrade.UpgradeTool:('/bin/umount', '/data/tmp8dl3hL/rootfs') DEBUG:ovirt-node-upgrade.UpgradeTool:[] DEBUG:ovirt-node-upgrade.UpgradeTool: DEBUG:ovirt-node-upgrade.UpgradeTool:('/bin/umount', '/data/tmp8dl3hL/squashfs') DEBUG:ovirt-node-upgrade.UpgradeTool:[] DEBUG:ovirt-node-upgrade.UpgradeTool: DEBUG:ovirt-node-upgrade.UpgradeTool:('/bin/umount', '/live') DEBUG:ovirt-node-upgrade.UpgradeTool:[] DEBUG:ovirt-node-upgrade.UpgradeTool: Expected results: RHEV-H upgrade successful. Additional info: