Object storage on Openstack breaks with upgrade to 11.9
### Summary
Remote storage on Openstack breaks when upgrading from 11.8.3 to 11.9.0
### Steps to reproduce
upgrade working setup from 11.8.3 to 11.9.0
try to download a attachment, of list issues with attachments
### Example config
```
gitlab_rails['uploads_object_store_connection'] = {
'provider' => 'OpenStack',
'openstack_username' => 'USERNAME',
'openstack_api_key' => 'APIKEY',
'openstack_temp_url_key' => 'TEMPKEY',
'openstack_auth_url' => 'https://auth.cloud.ovh.net/v2.0/tokens',
'openstack_region' => 'DE1',
}
```
### What is the current *bug* behavior?
500 Error on the web interface, the log gives a 404 from Openstack
### What is the expected *correct* behavior?
list issues, or view attachment
### Relevant logs and/or screenshots
```
caught error of type Excon::Error::NotFound in after callback inside Grape::Middleware::Formatter : Expected([200, 201]) <=> Actual(404 Not Found)
excon.error.response
:body => "{\"error\": {\"message\": \"The resource could not be found.\", \"code\": 404, \"title\": \"Not Found\"}}"
:cookies => [
]
:headers => {
"Content-Length" => "93"
"Content-Type" => "application/json"
"Vary" => "X-Auth-Token"
"X-IPLB-Instance" => "24496"
"x-openstack-request-id" => "req-ed490cab-a7a5-46d1-8f8f-d77deb9994c9"
}
:host => "auth.cloud.ovh.net"
:local_address => "MYIP"
:local_port => 60370
:path => "/v2.0/tokens/v3/auth/tokens"
:port => 443
:reason_phrase => "Not Found"
:remote_ip => "51.68.65.247"
:status => 404
:status_line => "HTTP/1.1 404 Not Found\r\n"
```
### Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
#### Results of GitLab environment info
<details>
<summary>Expand for output related to GitLab environment info</summary>
<pre>
root@git:/var/opt/gitlab# sudo gitlab-rake gitlab:env:info
System information
System: Ubuntu 16.04
Proxy: no
Current User: git
Using RVM: no
Ruby Version: 2.5.3p105
Gem Version: 2.7.6
Bundler Version:1.16.6
Rake Version: 12.3.2
Redis Version: 3.2.12
Git Version: 2.18.1
Sidekiq Version:5.2.5
Go Version: unknown
GitLab information
Version: 11.8.3-ee
Revision: 822e412
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
DB Version: 9.6.11
URL: https://git.dealerdirect.io
HTTP Clone URL: https://git.dealerdirect.io/some-group/some-project.git
SSH Clone URL: git@git.dealerdirect.io:some-group/some-project.git
Elasticsearch: no
Geo: no
Using LDAP: no
Using Omniauth: yes
Omniauth Providers: github
GitLab Shell
Version: 8.4.4
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
Git: /opt/gitlab/embedded/bin/git
</pre>
</details>
#### Results of GitLab application Check
<details>
<summary>Expand for output related to the GitLab application check</summary>
<pre>
Checking GitLab subtasks ...
Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 8.4.4 ? ... OK (8.4.4)
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Redis available via internal API: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Checking Reply by email ...
IMAP server credentials are correct? ... yes
Init.d configured correctly? ... skipped
MailRoom running? ... skipped
Checking Reply by email ... Finished
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab App ...
Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
Projects have namespace: ...
2/1 ... yes
13/2 ... yes
13/3 ... yes
2/4 ... yes
2/5 ... yes
6/6 ... yes
6/7 ... yes
16/8 ... yes
16/9 ... yes
16/10 ... yes
16/11 ... yes
16/12 ... yes
16/13 ... yes
16/14 ... yes
16/15 ... yes
9/16 ... yes
16/17 ... yes
16/18 ... yes
16/19 ... yes
16/20 ... yes
16/21 ... yes
16/22 ... yes
16/23 ... yes
16/24 ... yes
16/25 ... yes
16/26 ... yes
16/27 ... yes
16/28 ... yes
9/29 ... yes
9/30 ... yes
9/31 ... yes
9/32 ... yes
9/33 ... yes
9/34 ... yes
13/35 ... yes
6/36 ... yes
12/37 ... yes
9/38 ... yes
9/39 ... yes
9/40 ... yes
9/41 ... yes
9/42 ... yes
9/43 ... yes
9/44 ... yes
12/45 ... yes
2/46 ... yes
9/47 ... yes
9/48 ... yes
9/50 ... yes
9/51 ... yes
12/52 ... yes
10/53 ... yes
11/54 ... yes
12/56 ... yes
16/57 ... yes
9/59 ... yes
9/60 ... yes
9/61 ... yes
9/62 ... yes
9/63 ... yes
6/65 ... yes
6/66 ... yes
6/67 ... yes
9/68 ... yes
12/69 ... yes
12/70 ... yes
11/72 ... yes
13/73 ... yes
12/74 ... yes
11/76 ... yes
13/77 ... yes
10/78 ... yes
9/79 ... yes
9/80 ... yes
2/82 ... yes
10/85 ... yes
4/86 ... yes
28/87 ... yes
28/88 ... yes
12/89 ... yes
28/90 ... yes
9/91 ... yes
11/92 ... yes
14/93 ... yes
9/95 ... yes
18/96 ... yes
15/97 ... yes
6/100 ... yes
21/101 ... yes
2/102 ... yes
16/103 ... yes
14/104 ... yes
15/105 ... yes
13/106 ... yes
13/107 ... yes
14/108 ... yes
13/110 ... yes
14/111 ... yes
6/112 ... yes
2/113 ... yes
13/114 ... yes
16/116 ... yes
13/118 ... yes
28/119 ... yes
10/121 ... yes
13/123 ... yes
15/127 ... yes
13/128 ... yes
15/129 ... yes
6/130 ... yes
24/131 ... yes
9/133 ... yes
6/134 ... yes
2/135 ... yes
15/136 ... yes
18/137 ... yes
18/139 ... yes
2/140 ... yes
3/141 ... yes
11/143 ... yes
9/145 ... yes
14/146 ... yes
11/147 ... yes
11/148 ... yes
9/149 ... yes
9/150 ... yes
9/151 ... yes
9/152 ... yes
30/153 ... yes
34/154 ... yes
24/156 ... yes
38/157 ... yes
38/158 ... yes
42/161 ... yes
42/163 ... yes
42/164 ... yes
42/165 ... yes
24/166 ... yes
38/167 ... yes
37/168 ... yes
13/169 ... yes
37/170 ... yes
37/171 ... yes
37/172 ... yes
40/173 ... yes
37/174 ... yes
51/176 ... yes
13/177 ... yes
2/178 ... yes
2/179 ... yes
3/181 ... yes
34/182 ... yes
13/183 ... yes
34/184 ... yes
11/185 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.5 ? ... yes (2.5.3)
Git version >= 2.18.0 ? ... yes (2.18.1)
Git user has default SSH configuration? ... yes
Active users: ... 14
Elasticsearch version 5.6 - 6.x? ... skipped (elasticsearch is disabled)
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished
</pre>
</details>
### Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
issue