swift3 middleware not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
New
|
Undecided
|
Unassigned |
Bug Description
We installed Openstack newton version as per below URLS and swift is working fine without issues.
https:/
https:/
[root@NFSSRV ~]# swift stat
Containers in policy "policy-0": 1
Objects in policy "policy-0": 1
Bytes in policy "policy-0": 267
X-Account-
[root@NFSSRV ~]#
later we configured swift3 middleware from below URL after which ran into below issues.
https:/
[root@NFSSRV ~]# systemctl restart openstack-
[root@NFSSRV ~]# systemctl status openstack-
Jun 02 11:47:44 NFSSRV swift-proxy-
Jun 02 11:47:44 NFSSRV swift-proxy-
Then we installed lxml.
[root@NFSSRV ~]# yum install python-lxml
Installed:
python-
Proxy is not getting restarted again after lxml installation.
[root@NFSSRV ~]# systemctl restart openstack-
[root@NFSSRV ~]# systemctl status openstack-
? openstack-
Loaded: loaded (/usr/lib/
Active: failed (Result: exit-code) since Fri 2017-06-02 11:55:23 IST; 6s ago
Process: 11071 ExecStart=
Main PID: 11071 (code=exited, status=1/FAILURE)
Jun 02 11:55:23 NFSSRV swift-proxy-
Jun 02 11:55:23 NFSSRV swift-proxy-
Jun 02 11:55:23 NFSSRV swift-proxy-
Jun 02 11:55:23 NFSSRV swift-proxy-
Jun 02 11:55:23 NFSSRV swift-proxy-
Jun 02 11:55:23 NFSSRV swift-proxy-
Jun 02 11:55:23 NFSSRV swift-proxy-
Jun 02 11:55:23 NFSSRV systemd[1]: openstack-
Jun 02 11:55:23 NFSSRV systemd[1]: Unit openstack-
Jun 02 11:55:23 NFSSRV systemd[1]: openstack-
Please let us know what is the issue and how it can be resolved. This is a critical issue and quick reply will be really appreciated.
Thanks in advance. If need more info, will be happy to provide.
Recently, swift3 started requiring a more-recent version of swift to be installed[1]. This allows the project to move forward (eventually) on various bugs[2][3], primarily related to multipart upload support, as well as new features such as bucket versioning support. I'd recommend upgrading to a more-recent version of swift (a lot of great stuff has landed since 2.10.1!) or, if staying on the Newton release is a requirement, installing an older version of swift3. The last release (1.11) can run with swift as old as 2.1.0; the last commit off of master that supported your version of swift was fc66da8.
[1] https:/ /github. com/openstack/ swift3/ commit/ 31d4353 /bugs.launchpad .net/swift3/ +bug/1522578 which needed at least https:/ /github. com/openstack/ swift/commit/ 2d25fe6 upstream /bugs.launchpad .net/swift3/ +bug/1636663 which needed https:/ /github. com/openstack/ swift/commit/ bb71657 upstream
[2] https:/
[3] https:/