Description of problem: Cannot upload the overcloud image to glance. Version-Release number of selected component (if applicable): OSP8 RC How reproducible: 100% Steps to Reproduce: 1. Download the overcloud image from: https://access.redhat.com/downloads/content/191/ver=7/rhel---7/7/x86_64/product-software 2. Select version 8 and download the two files (Ironic Python Agent Image for RHOSP director 8.0 RC & Overcloud Image for RHOSP director 8.0 RC) 3. Extract them and get: ironic-python-agent.initramfs overcloud-full.qcow2 overcloud-full.vmlinuz ironic-python-agent.kernel overcloud-full.initrd 4. Run the following command to upload them to glance: openstack overcloud image upload --image-path /home/stack/images/ Actual results: Complains that "The given file overcloud-full.vmlinuz is not a regular file" Expected results: Upload successfully and be able to list them using glance command Additional info:
Created attachment 1147602 [details] glance api log
Created attachment 1147603 [details] glance registry log
Issue resolved the latest image update.
This issue can happen if "openstack overcloud image upload --image-path /home/stack/images/" is run from another directory. It works fine if run from /home/stack/images/ If run from /home/stack/images/, the error won't show up. This is a rare error as usually one will upload the images right after untaring them, so from the right directory...
This probably needs to be reopened. I'm running into the problem and i'm in the correct directory. [stack@undercloud images]$ ls ironic-python-agent.initramfs overcloud-full.initrd overcloud-full.vmlinuz ironic-python-agent.kernel overcloud-full.qcow2 [stack@undercloud images]$ openstack overcloud image upload --image-path /home/s tack/images/ 400 Bad Request: Client disconnected before sending all data to backend (HTTP 40 0) [stack@undercloud images]$ openstack image list [stack@undercloud images]$ openstack image list [stack@undercloud images]$ openstack overcloud image upload --image-path /home/stack/images/ 400 Bad Request: Client disconnected before sending all data to backend (HTTP 400) [stack@undercloud images]$ pwd /home/stack/images
Sorry, this is for Red Hat 9.0
Can you check this on 10?
*** This bug has been marked as a duplicate of bug 1275326 ***
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days