[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [rdo-list] proxy



Hi,

It's ok I figured it out.
When using packstack with 7.4 it must be a fresh install and not an update from 7.3.
WHen using 7.4 it works fine.

On 22 September 2017 at 15:16, david caughey <djc636 gmail com> wrote:
Hi Folks,

I am trying to install Packstack Newton behind a proxy.
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.
There seems to be an issue with Proxy swift server?
I have placed the necessary proxy settings in /etc/environment along wit the no_proxy settings and also set firefox to respect the proxy.
Everything seems to go fine except proxy swift.
Are there any guides or how tos for this type of situation?
Or should I create the environment outside and import,

 /etc/swift/swift.conf
[swift-hash]
swift_hash_path_suffix = 6201ab08e9d345b7

[swift-constraints]
max_header_size=8192

]# openstack endpoint show swift
+--------------+-----------------------------------------------+
| Field        | Value                                         |
+--------------+-----------------------------------------------+
| enabled      | True                                          |
| id           | 5ac84270d5cb406eaaf9181cb54ac141              |
| region       | RegionOne                                     |
| service_id   | 30fbf4a88f8e4ae5bc945e7c4a1db851              |
| service_name | swift                                         |
| service_type | object-store                                  |
+--------------+-----------------------------------------------+

# systemctl status openstack-swift-proxy
â openstack-swift-proxy.service - OpenStack Object Storage (swift) - Proxy Server
   Loaded: loaded (/usr/lib/systemd/system/openstack-swift-proxy.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2017-09-21 15:34:21 IST; 23h ago
  Process: 7123 ExecStart=/usr/bin/swift-proxy-server /etc/swift/proxy-server.conf (code=exited, status=1/FAILURE)
 Main PID: 7123 (code=exited, status=1/FAILURE)

Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 681, in post
Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: return self.request(url, 'POST', **kwargs)
Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: return wrapped(*args, **kwargs)
Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 570, in request
Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: raise exceptions.from_response(resp, method, url)
Sep 21 15:34:21 newton-1.eitte.lab swift-proxy-server[7123]: keystoneauth1.exceptions.http.Unauthorized: The request you have made requires ...35d80)
Sep 21 15:34:21 newton-1.eitte.lab systemd[1]: openstack-swift-proxy.service: main process exited, code=exited, status=1/FAILURE
Sep 21 15:34:21 newton-1.eitte.lab systemd[1]: Unit openstack-swift-proxy.service entered failed state.
Sep 21 15:34:21 newton-1.eitte.lab systemd[1]: openstack-swift-proxy.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

# tail /var/log/messages
Sep 22 15:07:54 newton-1 swift-proxy-server: File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 681, in post
Sep 22 15:07:54 newton-1 swift-proxy-server: return self.request(url, 'POST', **kwargs)
Sep 22 15:07:54 newton-1 swift-proxy-server: File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
Sep 22 15:07:54 newton-1 swift-proxy-server: return wrapped(*args, **kwargs)
Sep 22 15:07:54 newton-1 swift-proxy-server: File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 570, in request
Sep 22 15:07:54 newton-1 swift-proxy-server: raise exceptions.from_response(resp, method, url)
Sep 22 15:07:54 newton-1 swift-proxy-server: keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-bfdb735b-36c9-4d42-b071-e79354d3cb9e)
Sep 22 15:07:54 newton-1 systemd: openstack-swift-proxy.service: main process exited, code=exited, status=1/FAILURE
Sep 22 15:07:54 newton-1 systemd: Unit openstack-swift-proxy.service entered failed state.
Sep 22 15:07:54 newton-1 systemd: openstack-swift-proxy.service failed.

Keystone logs (only error)
2017-09-22 15:05:23.158 3131 WARNING oslo_log.versionutils [req-87b12ed7-e93d-4dbc-832a-0a7b5e1e7f43 3c6b71072fdf48b0ac3f027b19fc1598 36354e11031a4f1a9676cd52b0b9f288 - 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.

NetworkManager is disabled
firewalld is disabled
selinux is disabled

httpd access
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"
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"
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"

]# openstack service list
+----------------------------------+------------+----------------+
| ID                               | Name       | Type           |
+----------------------------------+------------+----------------+
| 08b9cd749a7c4088a51b49184c980549 | glance     | image          |
| 288278e3de374eb59089ee4f2ae351d4 | aodh       | alarming       |
| 298db4cec1ec4d109e11627a1719d7f3 | heat       | orchestration  |
| 30fbf4a88f8e4ae5bc945e7c4a1db851 | swift      | object-store   |
| 421ca271cfb145459c9a668a0a80b0b6 | neutron    | network        |
| 896d90902f4541309595def5eacc60ca | nova       | compute        |
| 8e8c0f9f141344499dfb46f99f01212c | cinderv2   | volumev2       |
| a91615f268fa4847a0e180097b6dfb71 | cinderv3   | volumev3       |
| ca0f48037e2b4349ba39ffb6fe9b221f | cinder     | volume         |
| defa7e6ded2549c69b6186e3ef5cc94f | ceilometer | metering       |
| f3af042581654378ade38856bb2d86df | keystone   | identity       |
| f3bd2e15def2481ca83ba5451bd17b01 | heat-cfn   | cloudformation |
| fe83eba206b446e4812a6c0ba30d16bd | gnocchi    | metric         |
+----------------------------------+------------+----------------+

It seems the only thing not working is the horizon dashboard.
Any ideas or hints would be appreciated,



BR/David


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]