The process marks:
● swift-proxy.service - LSB: Swift proxy server
Loaded: loaded (/etc/init.d/swift-proxy; generated)
Active: active (exited) since Sat 2019-02-23 12:03:14 UTC; 1min 4s ago
Docs: man:systemd-sysv-generator(8)
Process: 54857 ExecStop=/etc/init.d/swift-proxy stop (code=exited, status=0/SUCCESS)
Process: 54865 ExecStart=/etc/init.d/swift-proxy start (code=exited, status=0/SUCCESS)
Feb 23 12:03:14 juju-b57129-2-lxd-17 swift-proxy[54865]: pid = self.spawn(conf_file, **kwargs)
Feb 23 12:03:14 juju-b57129-2-lxd-17 swift-proxy[54865]: File "/usr/lib/python2.7/dist-packages/swift/common/manager.py", line 669, in spawn
Feb 23 12:03:14 juju-b57129-2-lxd-17 swift-proxy[54865]: proc = subprocess.Popen(args, stdout=re_out, stderr=re_err)
Feb 23 12:03:14 juju-b57129-2-lxd-17 swift-proxy[54865]: File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
Feb 23 12:03:14 juju-b57129-2-lxd-17 swift-proxy[54865]: errread, errwrite)
Feb 23 12:03:14 juju-b57129-2-lxd-17 swift-proxy[54865]: File "/usr/lib/python2.7/subprocess.py", line 938, in _execute_child
Feb 23 12:03:14 juju-b57129-2-lxd-17 swift-proxy[54865]: self.pid = os.fork()
Feb 23 12:03:14 juju-b57129-2-lxd-17 swift-proxy[54865]: OSError: [Errno 11] Resource temporarily unavailable
Feb 23 12:03:14 juju-b57129-2-lxd-17 swift-proxy[54865]: ...fail!
Feb 23 12:03:14 juju-b57129-2-lxd-17 systemd[1]: Started LSB: Swift proxy server.
The problem disappears when switching to your PPA. However, I still see some trace on journalctl for swift-proxy: https:/ /pastebin. ubuntu. com/p/RFzk7qRQ6 J/
The process marks: d/swift- proxy; generated) sysv-generator( 8) /etc/init. d/swift- proxy stop (code=exited, status=0/SUCCESS) /etc/init. d/swift- proxy start (code=exited, status=0/SUCCESS)
● swift-proxy.service - LSB: Swift proxy server
Loaded: loaded (/etc/init.
Active: active (exited) since Sat 2019-02-23 12:03:14 UTC; 1min 4s ago
Docs: man:systemd-
Process: 54857 ExecStop=
Process: 54865 ExecStart=
Feb 23 12:03:14 juju-b57129- 2-lxd-17 swift-proxy[54865]: pid = self.spawn( conf_file, **kwargs) 2-lxd-17 swift-proxy[54865]: File "/usr/lib/ python2. 7/dist- packages/ swift/common/ manager. py", line 669, in spawn 2-lxd-17 swift-proxy[54865]: proc = subprocess. Popen(args, stdout=re_out, stderr=re_err) 2-lxd-17 swift-proxy[54865]: File "/usr/lib/ python2. 7/subprocess. py", line 394, in __init__ 2-lxd-17 swift-proxy[54865]: errread, errwrite) 2-lxd-17 swift-proxy[54865]: File "/usr/lib/ python2. 7/subprocess. py", line 938, in _execute_child 2-lxd-17 swift-proxy[54865]: self.pid = os.fork() 2-lxd-17 swift-proxy[54865]: OSError: [Errno 11] Resource temporarily unavailable 2-lxd-17 swift-proxy[54865]: ...fail! 2-lxd-17 systemd[1]: Started LSB: Swift proxy server.
Feb 23 12:03:14 juju-b57129-
Feb 23 12:03:14 juju-b57129-
Feb 23 12:03:14 juju-b57129-
Feb 23 12:03:14 juju-b57129-
Feb 23 12:03:14 juju-b57129-
Feb 23 12:03:14 juju-b57129-
Feb 23 12:03:14 juju-b57129-
Feb 23 12:03:14 juju-b57129-
Feb 23 12:03:14 juju-b57129-
Although it marks as Started, I fail to connect to swift with: https:/ /pastebin. canonical. com/p/m23rCwsTj S/
The VIP is correctly allocated to one swift-proxy instance.
I dont see any process referring to swift-proxy on my lxd: system/ jujud-unit- swift-proxy- 3/exec- start.sh juju/tools/ unit-swift- proxy-3/ jujud unit --data-dir /var/lib/juju --unit-name swift-proxy/3 --debug system/ jujud-unit- hacluster- swift-5/ exec-start. sh juju/tools/ unit-hacluster- swift-5/ jujud unit --data-dir /var/lib/juju --unit-name hacluster-swift/5 --debug
root 823 0.0 0.0 21768 3524 ? Ss 11:36 0:00 bash /lib/systemd/
root 827 0.0 0.0 3617772 75964 ? Sl 11:36 0:07 /var/lib/
root 16347 0.0 0.0 21768 3512 ? Ss 11:39 0:00 bash /lib/systemd/
root 16362 0.0 0.0 3543528 70764 ? Sl 11:39 0:02 /var/lib/
ubuntu 70915 0.0 0.0 13160 1076 pts/0 S+ 12:14 0:00 grep --color=auto swift