Hide Forgot
Created attachment 1212649 [details] Result Impossible download image to horizon Dashboard i click images and i have thaïs message : The current Horizon settings indicate no valid image creation methods are available. Providing an image location and/or uploading from the local file system must be allowed to support image creation. Version-Release number of selected component (if applicable): openstack newton How reproducible: Steps to Reproduce: 1. click admin 2. Click images 3. And click create images Actual result : The current Horizon settings indicate no valid image creation methods are available. Providing an image location and/or uploading from the local file system must be allowed to support image creation. Expected results: Additional info:
What are your horizon settings?
In particular, I'm interested in the values of the following two settings in /etc/openstack_dashboard/local_settings: # Set to 'legacy' or 'direct' to allow users to upload images to glance via # Horizon server. When enabled, a file form field will appear on the create # image form. If set to 'off', there will be no file form field on the create # image form. See documentation for deployment considerations. #HORIZON_IMAGES_UPLOAD_MODE = 'legacy' # Allow a location to be set when creating or updating Glance images. # If using Glance V2, this value should be False unless the Glance # configuration and policies allow setting locations. #IMAGES_ALLOW_LOCATION = False
In openstack newton rdo "/etc/openstack_dashboard/local_settings" this => ===> # Set to 'legacy' or 'direct' to allow users to upload images to glance via # Horizon server. When enabled, a file form field will appear on the create # image form. If set to 'off', there will be no file form field on the create # image form. See documentation for deployment considerations. #HORIZON_IMAGES_UPLOAD_MODE = 'legacy' # Allow a location to be set when creating or updating Glance images. # If using Glance V2, this value should be False unless the Glance # configuration and policies allow setting locations. #IMAGES_ALLOW_LOCATION = False ===> not exist. Do you have a solution??
(In reply to Radomir Dopieralski from comment #2) > In particular, I'm interested in the values of the following two settings in > /etc/openstack_dashboard/local_settings: > > # Set to 'legacy' or 'direct' to allow users to upload images to glance via > # Horizon server. When enabled, a file form field will appear on the create > # image form. If set to 'off', there will be no file form field on the create > # image form. See documentation for deployment considerations. > #HORIZON_IMAGES_UPLOAD_MODE = 'legacy' > > # Allow a location to be set when creating or updating Glance images. > # If using Glance V2, this value should be False unless the Glance > # configuration and policies allow setting locations. > #IMAGES_ALLOW_LOCATION = False ======================================================================================= ====> In "/etc/openstack_dashboard/local_settings" not exist. Do you have a solution??
I'm sorry, it was supposed to be /etc/openstack-dashboard/local_settings
(In reply to Radomir Dopieralski from comment #5) > I'm sorry, it was supposed to be /etc/openstack-dashboard/local_settings why it changes the parameter like this. Normally it is the user to have the option to activate it or not.
http://docs.openstack.org/developer/horizon/topics/settings.html#openstack-settings-partial I search. :(
(In reply to Bruno Azoulay from comment #6) > (In reply to Radomir Dopieralski from comment #5) > > I'm sorry, it was supposed to be /etc/openstack-dashboard/local_settings > > why it changes the parameter like this. Normally it is the user to have the > option to activate it or not. I don't quite understand your question. Can you please rephrase?
i have solution <3. in /etc/openstack-dashboard/local_settings. search =>"EST_API_REQUIRED_SETTINGS". and add => 'OPENSTACK_HYPERVISOR_FEATURES', 'LAUNCH_INSTANCE_DEFAULTS', 'OPENSTACK_IMAGE_FORMATS'. Result : REST_API_REQUIRED_SETTINGS = ['OPENSTACK_HYPERVISOR_FEATURES', 'LAUNCH_INSTANCE_DEFAULTS', 'OPENSTACK_IMAGE_FORMATS'] Restart http and memcached => 'service httpd restart && service memcached restart'
Works for me, closing.