quickstart fails with virt-customize out of space

Bug #1844840 reported by Pete Zaitcev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Unassigned

Bug Description

Running per instructions at RDO site ($VIRTHOST is CentOS):

[zaitcev@rhev-a24c-01 ~]$ echo $VIRTHOST
rhev-a24c-04
[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

Disk space on the $VIRTHOST:

[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 virt-customize runs out of space inside an image.
So, the default image is too small to contain default packages.

Revision history for this message
wes hayutin (weshayutin) wrote :

will take a look, may be a few days

Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → train-rc1
tags: added: alert quickstart
Changed in tripleo:
milestone: train-rc1 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
Revision history for this message
wes hayutin (weshayutin) wrote :

We're not seeing this.. please reopen if it's an issue

Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.