<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#3366ff">Hi,</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#3366ff"><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#3366ff">It's ok I figured it out.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#3366ff">When using packstack with 7.4 it must be a fresh install and not an update from 7.3.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif;font-size:small;color:#3366ff">WHen using 7.4 it works fine.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 September 2017 at 15:16, david caughey <span dir="ltr"><<a href="mailto:djc636@gmail.com" target="_blank">djc636@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(51,102,255)">Hi Folks,</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(51,102,255)"><br></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(51,102,255)">I am trying to install Packstack Newton behind a proxy.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(51,102,255)">I recently got the go ahead to build an oVirt environment which went well but I'm having issues getting Openstack Newton installed behind the proxy.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(51,102,255)">There seems to be an issue with Proxy swift server?</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(51,102,255)">I have placed the necessary proxy settings in /etc/environment along wit the no_proxy settings and also set firefox to respect the proxy.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(51,102,255)">Everything seems to go fine except proxy swift.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(51,102,255)">Are there any guides or how tos for this type of situation?</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(51,102,255)">Or should I create the environment outside and import,</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(51,102,255)"><br></div><div class="gmail_default"><font color="#3366ff" face="trebuchet ms, sans-serif"> /etc/swift/swift.conf</font><br></div><div class="gmail_default"><div class="gmail_default"><font color="#3366ff" face="trebuchet ms, sans-serif">[swift-hash]</font></div><div class="gmail_default"><font color="#3366ff" face="trebuchet ms, sans-serif">swift_hash_path_suffix = 6201ab08e9d345b7</font></div><div class="gmail_default"><font color="#3366ff" face="trebuchet ms, sans-serif"><br></font></div><div class="gmail_default"><font color="#3366ff" face="trebuchet ms, sans-serif">[swift-constraints]</font></div><div class="gmail_default"><font color="#3366ff" face="trebuchet ms, sans-serif">max_header_size=8192</font></div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small"><br></div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small"><div>]# openstack endpoint show swift</div><div>+--------------+--------------<wbr>------------------------------<wbr>---+</div><div>| Field | Value |</div><div>+--------------+--------------<wbr>------------------------------<wbr>---+</div><div>| adminurl | <a href="http://10.20.30.91:8080/v1/AUTH_%(tenant_id)s" target="_blank">http://10.20.30.91:8080/v1/<wbr>AUTH_%(tenant_id)s</a> |</div><div>| enabled | True |</div><div>| id | 5ac84270d5cb406eaaf9181cb54ac1<wbr>41 |</div><div>| internalurl | <a href="http://10.20.30.91:8080/v1/AUTH_%(tenant_id)s" target="_blank">http://10.20.30.91:8080/v1/<wbr>AUTH_%(tenant_id)s</a> |</div><div>| publicurl | <a href="http://10.20.30.91:8080/v1/AUTH_%(tenant_id)s" target="_blank">http://10.20.30.91:8080/v1/<wbr>AUTH_%(tenant_id)s</a> |</div><div>| region | RegionOne |</div><div>| service_id | 30fbf4a88f8e4ae5bc945e7c4a1db8<wbr>51 |</div><div>| service_name | swift |</div><div>| service_type | object-store |</div><div>+--------------+--------------<wbr>------------------------------<wbr>---+</div><div><br></div></div><div><div><font color="#3366ff" face="trebuchet ms, sans-serif"># systemctl status openstack-swift-proxy</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">â openstack-swift-proxy.service - OpenStack Object Storage (swift) - Proxy Server</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif"> Loaded: loaded (/usr/lib/systemd/system/<wbr>openstack-swift-proxy.service; enabled; vendor preset: disabled)</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif"> Active: failed (Result: exit-code) since Thu 2017-09-21 15:34:21 IST; 23h ago</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif"> Process: 7123 ExecStart=/usr/bin/swift-<wbr>proxy-server /etc/swift/proxy-server.conf (code=exited, status=1/FAILURE)</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif"> Main PID: 7123 (code=exited, status=1/FAILURE)</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif"><br></font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: File "/usr/lib/python2.7/site-<wbr>packages/keystoneauth1/<wbr>session.py", line 681, in post</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: return self.request(url, 'POST', **kwargs)</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: File "/usr/lib/python2.7/site-<wbr>packages/positional/__init__.<wbr>py", line 101, in inner</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: return wrapped(*args, **kwargs)</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: File "/usr/lib/python2.7/site-<wbr>packages/keystoneauth1/<wbr>session.py", line 570, in request</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: raise exceptions.from_response(resp, method, url)</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: keystoneauth1.exceptions.http.<wbr>Unauthorized: The request you have made requires ...35d80)</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">Sep 21 15:34:21 newton-1.eitte.lab systemd[1]: openstack-swift-proxy.service: main process exited, code=exited, status=1/FAILURE</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">Sep 21 15:34:21 newton-1.eitte.lab systemd[1]: Unit openstack-swift-proxy.service entered failed state.</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">Sep 21 15:34:21 newton-1.eitte.lab systemd[1]: openstack-swift-proxy.service failed.</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">Hint: Some lines were ellipsized, use -l to show in full.</font></div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small"><br></div></div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small"><div># tail /var/log/messages</div><div>Sep 22 15:07:54 newton-1 swift-proxy-server: File "/usr/lib/python2.7/site-<wbr>packages/keystoneauth1/<wbr>session.py", line 681, in post</div><div>Sep 22 15:07:54 newton-1 swift-proxy-server: return self.request(url, 'POST', **kwargs)</div><div>Sep 22 15:07:54 newton-1 swift-proxy-server: File "/usr/lib/python2.7/site-<wbr>packages/positional/__init__.<wbr>py", line 101, in inner</div><div>Sep 22 15:07:54 newton-1 swift-proxy-server: return wrapped(*args, **kwargs)</div><div>Sep 22 15:07:54 newton-1 swift-proxy-server: File "/usr/lib/python2.7/site-<wbr>packages/keystoneauth1/<wbr>session.py", line 570, in request</div><div>Sep 22 15:07:54 newton-1 swift-proxy-server: raise exceptions.from_response(resp, method, url)</div><div>Sep 22 15:07:54 newton-1 swift-proxy-server: keystoneauth1.exceptions.http.<wbr>Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-bfdb735b-36c9-4d42-b071-<wbr>e79354d3cb9e)</div><div>Sep 22 15:07:54 newton-1 systemd: openstack-swift-proxy.service: main process exited, code=exited, status=1/FAILURE</div><div>Sep 22 15:07:54 newton-1 systemd: Unit openstack-swift-proxy.service entered failed state.</div><div>Sep 22 15:07:54 newton-1 systemd: openstack-swift-proxy.service failed.</div><div><br></div></div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small">Keystone logs (only error)</div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small"><div>2017-09-22 15:05:23.158 3131 WARNING oslo_log.versionutils [req-87b12ed7-e93d-4dbc-832a-<wbr>0a7b5e1e7f43 3c6b71072fdf48b0ac3f027b19fc15<wbr>98 36354e11031a4f1a9676cd52b0b9f2<wbr>88 - default default] Deprecated: get_services of the v2 API is deprecated as of Mitaka in favor of a similar function in the v3 API and may be removed in Q.</div><div><br></div><div>NetworkManager is disabled</div><div>firewalld is disabled</div><div>selinux is disabled</div></div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small"><br></div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small">httpd access</div><div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small">10.20.30.1 - - [21/Sep/2017:15:31:23 +0100] "GET /dashboard HTTP/1.1" 500 531 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"</div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small">10.20.30.1 - - [21/Sep/2017:15:36:30 +0100] "GET /favicon.ico HTTP/1.1" 404 209 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"</div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small">10.20.30.1 - - [21/Sep/2017:15:36:30 +0100] "GET /favicon.ico HTTP/1.1" 404 209 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0"</div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small"><br></div><div><div><font color="#3366ff" face="trebuchet ms, sans-serif">]# openstack service list</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">+-----------------------------<wbr>-----+------------+-----------<wbr>-----+</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| ID | Name | Type |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">+-----------------------------<wbr>-----+------------+-----------<wbr>-----+</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| 08b9cd749a7c4088a51b49184c9805<wbr>49 | glance | image |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| 288278e3de374eb59089ee4f2ae351<wbr>d4 | aodh | alarming |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| 298db4cec1ec4d109e11627a1719d7<wbr>f3 | heat | orchestration |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| 30fbf4a88f8e4ae5bc945e7c4a1db8<wbr>51 | swift | object-store |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| 421ca271cfb145459c9a668a0a80b0<wbr>b6 | neutron | network |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| 896d90902f4541309595def5eacc60<wbr>ca | nova | compute |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| 8e8c0f9f141344499dfb46f99f0121<wbr>2c | cinderv2 | volumev2 |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| a91615f268fa4847a0e180097b6dfb<wbr>71 | cinderv3 | volumev3 |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| ca0f48037e2b4349ba39ffb6fe9b22<wbr>1f | cinder | volume |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| defa7e6ded2549c69b6186e3ef5cc9<wbr>4f | ceilometer | metering |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| f3af042581654378ade38856bb2d86<wbr>df | keystone | identity |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| f3bd2e15def2481ca83ba5451bd17b<wbr>01 | heat-cfn | cloudformation |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">| fe83eba206b446e4812a6c0ba30d16<wbr>bd | gnocchi | metric |</font></div><div><font color="#3366ff" face="trebuchet ms, sans-serif">+-----------------------------<wbr>-----+------------+-----------<wbr>-----+</font></div></div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small"><br></div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small">It seems the only thing not working is the horizon dashboard.</div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small">Any ideas or hints would be appreciated,</div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small"><br></div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small"><br></div></div><div style="color:rgb(51,102,255);font-family:"trebuchet ms",sans-serif;font-size:small"><br></div></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif;font-size:small;color:rgb(51,102,255)">BR/David</div></div>
</blockquote></div><br></div>