Created attachment 1273070 [details] runlog for building rhel7 Amphora images Description of problem: Followed instructions from: https://review.openstack.org/#/c/447496/11/doc/source/advanced_deployment/deploy_octavia.rst Failed with first Post deploy step: "octavia-diskimage-create.sh -i rhel" failes with: Error: Error writing to file /var/cache/yum/rhel-7-server-rpms/gen/primary_db.sqlite: [Errno 28] No space left on device Increasing available disk space to rhel7-guest.qcow2 didn't fix the problem. Version-Release number of selected component (if applicable): OSP11 How reproducible: Every time Steps to Reproduce: on undercloud 1. sudo yum install -y openstack-octavia-diskimage-create 2. source varables: export DIB_LOCAL_IMAGE=/home/stack/rhel7-octavia.qcow2 export REG_METHOD=portal export REG_USER="<removed>" export REG_PASSWORD="<removed>" export REG_POOL_ID="<removed>" export REG_REPOS="rhel-7-server-rpms rhel-7-server-extras-rpms rhel-ha-for-rhel-7-server-rpms \ rhel-7-server-optional-rpms rhel-7-server-openstack-beta-rpms" 3.octavia-diskimage-create.sh -i rhel Actual results: Error: Error writing to file /var/cache/yum/rhel-7-server-rpms/gen/primary_db.sqlite: [Errno 28] No space left on device Expected results: Amphora image successfully crated Additional info: Please see attachment for runlog
Chris, The default disk used in diskimage-create.sh is 2GB, which is not enough for the RHEL cloud image. Please use at least a 3GB disk by simply appending '-s 3' to how command you used to invoke the script. Let me know if that worked for you.
Nir, That worked good. I would recommend including this information in the docs: https://review.openstack.org/#/c/447496/11/doc/source/advanced_deployment/deploy_octavia.rst Or whatever becomes official doc for the solution, otherwise we are going to have other folks tripping over it. Thanks again!
Closing and adding a comment here: https://review.openstack.org/#/c/447496/11/doc/source/advanced_deployment/deploy_octavia.rst