Red Hat Bugzilla – Bug 1400386
openstack overcloud image upload doesn't work with --image-path option
Last modified: 2017-05-17 15:49:34 EDT
Description of problem: When using openstack overcloud image upload --update-existing with the --image-path option see an error The given file overcloud-full.vmlinuz is not a regular file. Running the command from images directory without --image-path works Version-Release number of selected component (if applicable): RHOP 10 puddle from 2016-11-23.3 How reproducible: 100% Steps to Reproduce: 1. Try to update over cloud images using openstack overcloud image upload --update-existing --image-path images/ 2. 3. Actual results: Required file "images/ironic-python-agent.initramfs" does not exist. Expected results: Images should be update based on image path Additional info:
I can confirm as I ran into this myself, running from the ~/images directory is fine but trying to pass in --image-path results in similar error messages as previous comments. [stack@osp-tripleo ~]$ openstack overcloud image upload --update-existing --image-path ~/images/. The given file overcloud-full.vmlinuz is not a regular file
Marking as ON_DEV as there is currently a patch upstream. TripleO client has already branched for Ocata so the patch will get in Pike/12 first, will keep status up-to-date wrt backport.
Ocata backport proposed upstream - https://review.openstack.org/#/c/434975/
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2017:1245