Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1400386 - openstack overcloud image upload doesn't work with --image-path option
openstack overcloud image upload doesn't work with --image-path option
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient (Show other bugs)
10.0 (Newton)
Unspecified Unspecified
medium Severity medium
: rc
: 11.0 (Ocata)
Assigned To: Julie Pichon
Ola Pavlenko
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-30 22:46 EST by Sai Sindhur Malleni
Modified: 2017-05-17 15:49 EDT (History)
12 users (show)

See Also:
Fixed In Version: python-tripleoclient-6.1.0-1.el7ost
Doc Type: Bug Fix
Doc Text:
The 'openstack overcloud image upload' ignored the '--image-path' argument when uploading or updating overcloud images. Consequently, only images in the working directory could be used. The support for the '--image-path' argument has been added. Now images from different directories, specified by the argument, can be uploaded flawlessly.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-05-17 15:49:34 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1647519 None None None 2016-12-07 18:17 EST
OpenStack gerrit 434975 None None None 2017-02-27 05:24 EST
Red Hat Product Errata RHEA-2017:1245 normal SHIPPED_LIVE Red Hat OpenStack Platform 11.0 Bug Fix and Enhancement Advisory 2017-05-17 19:01:50 EDT

  None (edit)
Description Sai Sindhur Malleni 2016-11-30 22:46:09 EST
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:
Comment 1 Nathan Morell 2017-01-02 14:02:50 EST
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
Comment 3 Julie Pichon 2017-02-06 11:17:44 EST
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.
Comment 4 Julie Pichon 2017-02-27 05:24:13 EST
Ocata backport proposed upstream - https://review.openstack.org/#/c/434975/
Comment 8 errata-xmlrpc 2017-05-17 15:49:34 EDT
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

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