Bug 1383030 - openstack overcloud image upload doesn't work
Summary: openstack overcloud image upload doesn't work
Keywords:
Status: CLOSED DUPLICATE of bug 1382956
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Angus Thomas
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-09 08:46 UTC by Alexandre Maumené
Modified: 2016-10-10 20:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-10 20:16:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alexandre Maumené 2016-10-09 08:46:38 UTC
Description of problem:
[stack@undercloud1 ~]$ openstack overcloud image upload --image-path /home/stack/images/               
Invalid URL 'x/v1/images/detail?limit=20': No schema supplied. Perhaps you meant http://x/v1/images/detail?limit=20?

Version-Release number of selected component (if applicable):
Latest puddle (2016-10-07.4)

How reproducible:
Every time.

Steps to Reproduce:
1.openstack overcloud image upload --image-path /home/stack/images/ 

Actual results:
Invalid URL 'x/v1/images/detail?limit=20': No schema supplied. Perhaps you meant http://x/v1/images/detail?limit=20?

Expected results:
Uploading of overcloud images to glance.

Fix:
Manually upload images to glance ?
glance image-create --name bm-deploy-kernel --disk-format aki --container-format aki --file ironic-python-agent.kernel --progress
glance image-create --name bm-deploy-ramdisk --disk-format ari --container-format ari --file ironic-python-agent.initramfs --progress
glance image-create --name overcloud-full --disk-format qcow2 --container-format bare --file overcloud-full.qcow2 --progress
glance image-create --name overcloud-full-initrd --disk-format ari --container-format ari --file overcloud-full.initrd --progress
glance image-create --name overcloud-full-vmlinuz --disk-format aki --container-format aki --file overcloud-full.vmlinuz --progress

Comment 1 Alexandre Maumené 2016-10-09 09:01:05 UTC
Also need to:
cd /home/stack/images
sudo cp ironic-python-agent.kernel /httpboot/agent.kernel
sudo cp ironic-python-agent.initramfs /httpboot/agent.ramdisk
sudo cp /usr/lib/python2.7/site-packages/ironic/drivers/modules/boot.ipxe /httpboot/
sudo chown ironic:ironic /httpboot/boot.ipxe
sudo mkdir /httpboot/pxelinux.cfg
sudo chown ironic:ironic /httpboot/pxelinux.cfg/

Then introspection can start.

Comment 3 James Slagle 2016-10-10 20:16:38 UTC

*** This bug has been marked as a duplicate of bug 1382956 ***


Note You need to log in before you can comment on or make changes to this bug.