-
Notifications
You must be signed in to change notification settings - Fork 900
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
heat client don't populate correctly the "files" parameter #15563
Comments
@bzwei which is the miq code in charge for calling the stack? |
@ioggstream https://github.com/ManageIQ/manageiq-providers-openstack/blob/master/app/models/manageiq/providers/openstack/cloud_manager/orchestration_stack.rb#L4
It uses fog gem to create stack |
@bzwei We need to fix fog gem, right? Here's the Heat API reference https://developer.openstack.org/api-ref/orchestration/v1/index.html?expanded=create-stack-detail#stacks And here's the fog/fog-openstack file
|
@bzwei here's a stub of file gathering. It's my first ruby code... @suuuper shouldn' t be hard to make it work for http resources too. .https://gist.github.com/ioggstream/bedea98dc53aa61b0ebd48cd1bb73486 |
@ioggstream Thanks for all the findings. We now have sufficient information to fix the problem, just need to find a time. |
@bzwei as we're on cloudforms is there an easy way to apply the patch once you release it? |
@ioggstream Is this an urgent issue? We don't have the capacity to fix the problem right now, likely until September. |
@bzwei afaik a cloudforms' case have been open on that - This updated snippet - very simple and without proper error handling - should resolve Here's the python-heatclient implementation https://github.com/openstack/python-heatclient/blob/master/heatclient/common/template_utils.py#L103 |
@ioggstream Is there a link to the CloudForms' case? We also need a bugzilla RFE to track the work. |
@bzwei https://bugzilla.redhat.com/show_bug.cgi?id=1471948 , case is linked to the BZ. |
@bzwei I'm working on that. Feedback welcome on fog/fog-openstack#317 |
This issue has been automatically marked as stale because it has not been updated for at least 6 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! |
This issue should be closed since it has been resolved by fog/fog-openstack#317. |
@miq-bot close_issue |
Reproduce
Create an Orchestration template that references external files:
I expect
Instead
get_file: https://www.google.com/robots.txt
not in the files dictThe error is probably the MIQ counterpart of the horizon one https://bugs.launchpad.net/horizon/+bug/1467781
The text was updated successfully, but these errors were encountered: