Bug 876482
Summary: | rhevm-upgrade must check for enough disk space to perform an upgrade before starting the upgrade | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ilanit Stein <istein> | |
Component: | ovirt-engine-setup | Assignee: | Alex Lourie <alourie> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilanit Stein <istein> | |
Severity: | urgent | Docs Contact: | ||
Priority: | high | |||
Version: | 3.1.0 | CC: | bazulay, cpelland, dyasny, gickowic, iheim, meltingrobot, mgoldboi, oschreib, pstehlik, Rhev-m-bugs, sgrinber, ykaul | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | 3.2.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | integration | |||
Fixed In Version: | sf-5 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 891631 (view as bug list) | Environment: | ||
Last Closed: | Type: | Bug | ||
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 891631, 915537 |
Description
Ilanit Stein
2012-11-14 09:27:42 UTC
In addition to what mentioned in description, The notifier service, which go down during rhevm upgrade, stay at down state after the upgrade failure - please fix it, in case this is not the correct behaviour. Patch posted upstream: http://gerrit.ovirt.org/#/c/9744/ *** Bug 885606 has been marked as a duplicate of this bug. *** Verified on sf16->sf-17 upgrade for 200M and 0 free disk space cases: 1. [root@istein-32 tmp]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-v_root 9.2G 8.5G 232M 98% / tmpfs 1.9G 0 1.9G 0% /dev/shm /dev/vda1 485M 32M 428M 7% /boot /dev/mapper/vg0-v_home 914M 18M 850M 2% /home [root@istein-32 tmp]# rhevm-upgrade Warning: available disk space at / (231 MB) is lower than the minimum requirement for the upgrade (1510 MB) Not enough free space available for the upgrade operation.Stopping upgrade. If you would like to perform an upgrade and ignore the space check, run the upgrade with --no-space-check option Error: Upgrade failed. please check log at /var/log/ovirt-engine/ovirt-engine-upgrade_2013_05_21_04_17_16.log 2. [root@istein-32 tmp]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-v_root 9.2G 8.8G 0 100% / tmpfs 1.9G 0 1.9G 0% /dev/shm /dev/vda1 485M 32M 428M 7% /boot /dev/mapper/vg0-v_home 914M 18M 850M 2% /home [root@istein-32 tmp]# yum update rhevm-setup Loaded plugins: product-id, rhnplugin, subscription-manager, versionlock This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. This system is receiving updates from RHN Classic or RHN Satellite. Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package rhevm-setup.noarch 0:3.2.0-10.25.beta3.el6ev will be updated ---> Package rhevm-setup.noarch 0:3.2.0-10.26.rc.el6ev will be an update --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================================================================= Updating: rhevm-setup noarch 3.2.0-10.26.rc.el6ev rhevm-upgrade 170 k Transaction Summary ============================================================================================================================================================================================================================================= Upgrade 1 Package(s) Total download size: 170 k Is this ok [y/N]: y Downloading Packages: Error Downloading Packages: rhevm-setup-3.2.0-10.26.rc.el6ev.noarch: Insufficient space in download directory /var/cache/yum/x86_64/6Server/rhevm-upgrade/packages * free 0 * needed 170 k 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released |