Bug 1754134

Summary: Quickstart fails at "Run virt-customize" with a lack of space
Product: [Community] RDO Reporter: Pete Zaitcev <zaitcev>
Component: openstack-tripleoAssignee: OSP Team <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: trunk   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:59:55 UTC 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:
Attachments:
Description Flags
_home_stack_repo_setup.sh.log none

Description Pete Zaitcev 2019-09-20 23:18:46 UTC
Description of problem:

[zaitcev@rhev-a24c-01 ~]$ bash quickstart.sh -R master --tags all $VIRTHOST

TASK [modify-image : Run virt-customize on the provided image] *****************
task path: /home/zaitcev/.quickstart/usr/local/share/ansible/roles/modify-image/
tasks/libguestfs.yml:47
Friday 20 September 2019  18:44:30 -0400 (0:00:04.140)       0:05:05.644 ******
fatal: [rhev-a24c-04]: FAILED! => {"changed": true, "cmd": "virt-customize  --ru
n /home/stack/repo_setup.sh -a /home/stack/overcloud-full.qcow2 > /home/stack/_h
ome_stack_repo_setup.sh.log 2>&1", "delta": "0:03:39.447566", "end": "2019-09-20
 18:48:11.784393", "failed": true, "msg": "non-zero return code", "rc": 1, "star
t": "2019-09-20 18:44:32.336827", "stderr": "", "stderr_lines": [], "stdout": ""
, "stdout_lines": []}

The _home_stack_repo_setup.sh.log contains:

Transaction Summary
================================================================================
Install    1 Package  (+6 Dependent packages)
Upgrade  316 Packages

Total download size: 371 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
--------------------------------------------------------------------------------
Total                                              3.1 MB/s | 371 MB  02:00     
Running transaction check
Running transaction test

Transaction check error:
  installing package libicu-50.2-3.el7.x86_64 needs 12MB on the / filesystem
  installing package passwd-0.79-5.el7.x86_64 needs 13MB on the / filesystem
...................................

Error Summary
-------------
Disk Requirements:
  At least 88MB more space needed on the / filesystem.

virt-customize: error: /home/stack/repo_setup.sh: command exited with an 
error

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

Unknown, latest at filing

How reproducible:

Synchronous

Steps to Reproduce:
1. Run quickstart per report above
2.
3.

Actual results:

Quikstart fails

Expected results:

Quickstart succeeds

Additional info:

[stack@rhev-a24c-04 ~]$ df
Filesystem                             1K-blocks     Used  Available Use% Mounted on
/dev/mapper/rhel_rhev--a24c--04-root2 1814141468 11498076 1802643392   1% /
devtmpfs                                32880744        0   32880744   0% /dev
tmpfs                                   32932652        0   32932652   0% /dev/shm
tmpfs                                   32932652    17880   32914772   1% /run
tmpfs                                   32932652        0   32932652   0% /sys/fs/cgroup
/dev/sda1                                1038336   239136     799200  24% /boot
tmpfs                                    6586532        0    6586532   0% /run/user/0
tmpfs                                    6586532        4    6586528   1% /run/user/1003
[stack@rhev-a24c-04 ~]$ 

I strongly suspect that it runs out of space inside an image.
So, the default image is too small to contain default packages.

Comment 1 Pete Zaitcev 2019-09-20 23:19:55 UTC
Created attachment 1617334 [details]
_home_stack_repo_setup.sh.log

Comment 2 Red Hat Bugzilla 2025-02-10 03:59:55 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.