[Docs] all examples lacking correct horizon image upload mode

Bug #1815631 reported by panic!
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Dmitriy Rabotyagov

Bug Description

- [ ] This doc is inaccurate in this way:
- [X] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.

All example configuration are lacking the correct image upload mode for horizon.

To successfully upload a image to glance through horizon the upload mode needs to be set to "remote" in user_varibales.yml

horizon_images_upload_mode: remote

Revision history for this message
Romain Acciari (romain-acciari) wrote :

+1
Got the "Unable to create the image." error message in Horizon Dashboard and got to modify this option to upload images.

Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

Actually I do think, that "remote" is not valid option here. As according to [1] only "direct", "legacy" or "off" can be set here.

However you're right and as it's 'direct' by default, which requires CORS to be configured, which has been implemented since rocky https://review.opendev.org/#/c/579224/

But yeah, we should document it better I guess.

[1] https://docs.openstack.org/horizon/latest/configuration/settings.html#horizon-images-upload-mode

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_horizon (master)

Fix proposed to branch: master
Review: https://review.opendev.org/718509

Changed in openstack-ansible:
assignee: nobody → Dmitriy Rabotyagov (noonedeadpunk)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_horizon (master)

Reviewed: https://review.opendev.org/718509
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_horizon/commit/?id=abbfeb0529520bc047db44fb550df80822b7fae6
Submitter: Zuul
Branch: master

commit abbfeb0529520bc047db44fb550df80822b7fae6
Author: Dmitriy Rabotyagov <email address hidden>
Date: Wed Apr 8 19:09:41 2020 +0300

    [doc] Add description to horizon_images_upload_mode

    Change-Id: Ic670e4e5070df748e9f0b2e23630ffe60cc87bab
    Closes-Bug: #1815631

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon ussuri-eol

This issue was fixed in the openstack/openstack-ansible-os_horizon ussuri-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon yoga-eom

This issue was fixed in the openstack/openstack-ansible-os_horizon yoga-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon victoria-eom

This issue was fixed in the openstack/openstack-ansible-os_horizon victoria-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon wallaby-eom

This issue was fixed in the openstack/openstack-ansible-os_horizon wallaby-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_horizon xena-eom

This issue was fixed in the openstack/openstack-ansible-os_horizon xena-eom release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.