[client] TODO for swit.rb library in cookbook

Bug #1398161 reported by JJ Asghar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Won't Fix
Low
Alexander Pugachev

Bug Description

https://review.openstack.org/#/c/126365/15/libraries/swift.rb

Looks like there are other options that are also optional that we should consider adding here for completeness: https://github.com/fog/fog/blob/master/lib/fog/openstack/storage.rb
persistent, service_type and endpoint_type.

Looks like all three have defaults: false, 'object-store', and 'publicURL'.

The openstack_temp_url_key does not have a default. This will need to be set if the request action :get_object_http_url or :get_object_https_url
Maybe at least doc that somewhere?

Tags: client
JJ Asghar (d-jj)
Changed in openstack-chef:
importance: Undecided → Low
status: New → Triaged
description: updated
JJ Asghar (d-jj)
Changed in openstack-chef:
milestone: none → kilo-rc1
tags: added: client
Changed in openstack-chef:
milestone: kilo-rc1 → liberity-rc1
Revision history for this message
Alexander Pugachev (a-pugachev-wd) wrote :

This is not an issue with :get_object_http_url because only :get_object_https_url requests module calls create_temp_url() and fails if there is not openstack_temp_key set on the client creation: https://github.com/fog/fog-openstack/search?q=openstack_temp_url_key&unscoped_q=openstack_temp_url_key

Changed in openstack-chef:
assignee: nobody → Alexander Pugachev (a-pugachev-wd)
status: Triaged → In Progress
Revision history for this message
Alexander Pugachev (a-pugachev-wd) wrote :

Sorry, in fog 1.23.0 :get_object_http_url also creates temp url, as well as :get_object_https_url.

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

Fix proposed to branch: master
Review: https://review.openstack.org/608236

Changed in openstack-chef:
status: In Progress → Won't Fix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on cookbook-openstack-client (master)

Change abandoned by Lance Albertson (<email address hidden>) on branch: master
Review: https://review.opendev.org/608236
Reason: unmaintained cookbook

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.