swift-docker: saio docker alpine uncorrect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Good afternoon
When trying to get acquainted with swift, I ran into the problem of launching it.
Instructions on the page https:/
When trying to launch "docker run -d -p 8080:8080 openstackswift/
Output of the netstat command:
1c1fe1064f44:/# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:11211 0.0.0.0:* LISTEN 639/memcached
tcp 0 0 127.0.0.11:37845 0.0.0.0:* LISTEN -
udp 0 0 127.0.0.11:55677 0.0.0.0:* -
Analysis of the /var/log/
1c1fe1064f44:
2024-06-21 09:36:46.955165500 [s6-init] making user provided files available at /var/run/
2024-06-21 09:36:47.078039500 [s6-init] ensuring user provided files have correct perms...exited 0.
2024-06-21 09:36:47.080081500 [fix-attrs.d] applying ownership & permissions fixes...
2024-06-21 09:36:47.082251500 [fix-attrs.d] logging: applying...
2024-06-21 09:36:47.101616500 s6-envuidgid: fatal: unknown user: syslog
2024-06-21 09:36:47.102357500 [fix-attrs.d] logging: exited 0.
2024-06-21 09:36:47.103892500 [fix-attrs.d] srv_node: applying...
2024-06-21 09:36:47.119211500 [fix-attrs.d] srv_node: exited 0.
2024-06-21 09:36:47.120799500 [fix-attrs.d] swift: applying...
2024-06-21 09:36:47.221288500 [fix-attrs.d] swift: exited 0.
2024-06-21 09:36:47.222632500 [fix-attrs.d] tmp: applying...
2024-06-21 09:36:47.236795500 [fix-attrs.d] tmp: exited 0.
2024-06-21 09:36:47.238017500 [fix-attrs.d] done.
2024-06-21 09:36:47.239748500 [cont-init.d] executing container initialization scripts...
2024-06-21 09:36:47.241770500 [cont-init.d] 01_swift_logs: executing...
2024-06-21 09:36:47.247731500 [cont-init.d] 01_swift_logs: exited 0.
2024-06-21 09:36:47.249333500 [cont-init.d] 02_build_
2024-06-21 09:36:47.258000500 [[ checking --privileged ]]
2024-06-21 09:36:47.259259500 ip: RTNETLINK answers: Operation not permitted
2024-06-21 09:36:47.259443500 storage type is internal_dirs. container is privileged? false
2024-06-21 09:36:47.259455500 [[ checking what to use as storage devices ]]
2024-06-21 09:36:47.260856500 [[ creating directories ]]
2024-06-21 09:36:47.262075500 created /srv/node/swift-d0
2024-06-21 09:36:47.263094500 created /srv/node/swift-d1
2024-06-21 09:36:47.264194500 created /srv/node/swift-d2
2024-06-21 09:36:47.265232500 created /srv/node/swift-d3
2024-06-21 09:36:47.266292500 created /srv/node/swift-d4
2024-06-21 09:36:47.267310500 created /srv/node/swift-d5
2024-06-21 09:36:47.270391500 started /etc/swift/
2024-06-21 09:36:47.270457500 started /etc/swift/
2024-06-21 09:36:47.270530500 started /etc/swift/
2024-06-21 09:36:47.272752500 pushed command to add r1z1-127.
2024-06-21 09:36:47.272863500 pushed command to add r1z1-127.
2024-06-21 09:36:47.272970500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273069500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273164500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273255500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273349500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273440500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273641500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273721500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273779500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273832500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273887500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273941500 pushed command to add r1z1-127.
2024-06-21 09:36:47.273992500 pushed command to add r1z1-127.
2024-06-21 09:36:47.274045500 pushed command to add r1z1-127.
2024-06-21 09:36:47.274096500 pushed command to add r1z1-127.
2024-06-21 09:36:47.274147500 pushed command to add r1z1-127.
2024-06-21 09:36:47.274209500 pushed command to rebalance ring into /etc/swift/
2024-06-21 09:36:47.274234500 pushed command to rebalance ring into /etc/swift/
2024-06-21 09:36:47.274258500 pushed command to rebalance ring into /etc/swift/
2024-06-21 09:36:47.274380500 created umbrella /etc/swift/
2024-06-21 09:36:47.275575500 pushed /etc/swift/
2024-06-21 09:36:47.276637500 deleted /etc/swift/
2024-06-21 09:36:47.277651500 pushed /etc/swift/
2024-06-21 09:36:47.278657500 deleted /etc/swift/
2024-06-21 09:36:47.279635500 pushed /etc/swift/
2024-06-21 09:36:47.280623500 deleted /etc/swift/
2024-06-21 09:36:47.281597500 made remaketings executable (+x)
2024-06-21 09:36:47.284256500 /etc/swift/
2024-06-21 09:36:47.284269500 /etc/swift/
2024-06-21 09:36:47.284297500 /etc/swift/
2024-06-21 09:36:47.284310500 /etc/swift/
2024-06-21 09:36:47.284345500 /etc/swift/
2024-06-21 09:36:47.284379500 /etc/swift/
2024-06-21 09:36:47.284417500 /etc/swift/
2024-06-21 09:36:47.284442500 /etc/swift/
2024-06-21 09:36:47.284586500 /etc/swift/
2024-06-21 09:36:47.284598500 /etc/swift/
2024-06-21 09:36:47.284600500 /etc/swift/
2024-06-21 09:36:47.284603500 /etc/swift/
2024-06-21 09:36:47.284627500 /etc/swift/
2024-06-21 09:36:47.284655500 /etc/swift/
2024-06-21 09:36:47.284685500 /etc/swift/
2024-06-21 09:36:47.284723500 /etc/swift/
2024-06-21 09:36:47.284747500 /etc/swift/
2024-06-21 09:36:47.284854500 /etc/swift/
2024-06-21 09:36:47.284865500 /etc/swift/
2024-06-21 09:36:47.284867500 /etc/swift/
2024-06-21 09:36:47.284885500 /etc/swift/
2024-06-21 09:36:47.284902500 /etc/swift/
2024-06-21 09:36:47.284947500 /etc/swift/
2024-06-21 09:36:47.284962500 /etc/swift/
2024-06-21 09:36:47.285971500 [cont-init.d] 02_build_
2024-06-21 09:36:47.287532500 [cont-init.d] ~-socklog: executing...
2024-06-21 09:36:47.366263500 [cont-init.d] ~-socklog: exited 0.
2024-06-21 09:36:47.367652500 [cont-init.d] done.
2024-06-21 09:36:47.369497500 [services.d] starting services
2024-06-21 09:36:47.377542500 s6-applyuidgid: fatal: unable to exec swift-init: No such file or directory
2024-06-21 09:36:47.377554500 s6-applyuidgid: fatal: unable to exec swift-init: No such file or directory
2024-06-21 09:36:47.377581500 s6-applyuidgid: fatal: unable to exec swift-init: No such file or directory
2024-06-21 09:36:47.377892500 s6-applyuidgid: fatal: unable to exec swift-init: No such file or directory
2024-06-21 09:36:47.381935500 [services.d] done.
2024-06-21 09:36:48.379177500 s6-applyuidgid: fatal: unable to exec swift-init: No such file or directory
2024-06-21 09:36:48.379420500 s6-applyuidgid: fatal: unable to exec swift-init: No such file or directory
2024-06-21 09:36:48.379526500 s6-applyuidgid: fatal: unable to exec swift-init: No such file or directory
2024-06-21 09:36:48.380205500 s6-applyuidgid: fatal: unable to exec swift-init: No such file or directory
2024-06-21 09:36:49.379997500 s6-applyuidgid: fatal: unable to exec swift-init: No such file or directory
2024-06-21 09:36:49.380726500 s6-applyuidgid: fatal: unable to exec swift-init: No such file or directory
Fixing the /init script and adding the /opt/swift/bin path did not help
After adding /opt/swift/bin to /etc/profile, I got other errors:
cca745000cc4:
2024-06-21 10:12:57.877741500 [s6-init] making user provided files available at /var/run/
2024-06-21 10:12:57.948843500 [s6-init] ensuring user provided files have correct perms...exited 0.
2024-06-21 10:12:57.950763500 [fix-attrs.d] applying ownership & permissions fixes...
2024-06-21 10:12:57.952907500 [fix-attrs.d] logging: applying...
2024-06-21 10:12:57.979778500 s6-envuidgid: fatal: unknown user: syslog
2024-06-21 10:12:57.980446500 [fix-attrs.d] logging: exited 0.
2024-06-21 10:12:57.981849500 [fix-attrs.d] srv_node: applying...
2024-06-21 10:12:58.026262500 [fix-attrs.d] srv_node: exited 0.
2024-06-21 10:12:58.027750500 [fix-attrs.d] swift: applying...
2024-06-21 10:12:58.094892500 [fix-attrs.d] swift: exited 0.
2024-06-21 10:12:58.096434500 [fix-attrs.d] tmp: applying...
2024-06-21 10:12:58.110325500 [fix-attrs.d] tmp: exited 0.
2024-06-21 10:12:58.111560500 [fix-attrs.d] done.
2024-06-21 10:12:58.112891500 [cont-init.d] executing container initialization scripts...
2024-06-21 10:12:58.114941500 [cont-init.d] 01_swift_logs: executing...
2024-06-21 10:12:58.117697500 ln: /var/log/
2024-06-21 10:12:58.119390500 ln: /var/log/
2024-06-21 10:12:58.120357500 [cont-init.d] 01_swift_logs: exited 1.
2024-06-21 10:12:58.121858500 [cont-init.d] 02_build_
2024-06-21 10:12:58.129773500 [[ checking --privileged ]]
2024-06-21 10:12:58.130977500 ip: RTNETLINK answers: Operation not permitted
2024-06-21 10:12:58.131143500 storage type is internal_dirs. container is privileged? false
2024-06-21 10:12:58.131149500 [[ checking what to use as storage devices ]]
2024-06-21 10:12:58.132570500 [[ creating directories ]]
2024-06-21 10:12:58.133714500 created /srv/node/swift-d0
2024-06-21 10:12:58.134702500 created /srv/node/swift-d1
2024-06-21 10:12:58.135687500 created /srv/node/swift-d2
2024-06-21 10:12:58.136644500 created /srv/node/swift-d3
2024-06-21 10:12:58.137596500 created /srv/node/swift-d4
2024-06-21 10:12:58.138687500 created /srv/node/swift-d5
2024-06-21 10:12:58.141883500 started /etc/swift/
2024-06-21 10:12:58.141987500 started /etc/swift/
2024-06-21 10:12:58.142094500 started /etc/swift/
2024-06-21 10:12:58.144361500 pushed command to add r1z1-127.
2024-06-21 10:12:58.144485500 pushed command to add r1z1-127.
2024-06-21 10:12:58.144593500 pushed command to add r1z1-127.
2024-06-21 10:12:58.144694500 pushed command to add r1z1-127.
2024-06-21 10:12:58.144794500 pushed command to add r1z1-127.
2024-06-21 10:12:58.144887500 pushed command to add r1z1-127.
2024-06-21 10:12:58.144980500 pushed command to add r1z1-127.
2024-06-21 10:12:58.145071500 pushed command to add r1z1-127.
2024-06-21 10:12:58.145163500 pushed command to add r1z1-127.
2024-06-21 10:12:58.145255500 pushed command to add r1z1-127.
2024-06-21 10:12:58.145346500 pushed command to add r1z1-127.
2024-06-21 10:12:58.145438500 pushed command to add r1z1-127.
2024-06-21 10:12:58.145549500 pushed command to add r1z1-127.
2024-06-21 10:12:58.145646500 pushed command to add r1z1-127.
2024-06-21 10:12:58.145742500 pushed command to add r1z1-127.
2024-06-21 10:12:58.145837500 pushed command to add r1z1-127.
2024-06-21 10:12:58.145927500 pushed command to add r1z1-127.
2024-06-21 10:12:58.146020500 pushed command to add r1z1-127.
2024-06-21 10:12:58.146106500 pushed command to rebalance ring into /etc/swift/
2024-06-21 10:12:58.146147500 pushed command to rebalance ring into /etc/swift/
2024-06-21 10:12:58.146186500 pushed command to rebalance ring into /etc/swift/
2024-06-21 10:12:58.146413500 created umbrella /etc/swift/
2024-06-21 10:12:58.147663500 pushed /etc/swift/
2024-06-21 10:12:58.148738500 deleted /etc/swift/
2024-06-21 10:12:58.149834500 pushed /etc/swift/
2024-06-21 10:12:58.150864500 deleted /etc/swift/
2024-06-21 10:12:58.151998500 pushed /etc/swift/
2024-06-21 10:12:58.153020500 deleted /etc/swift/
2024-06-21 10:12:58.154201500 made remaketings executable (+x)
2024-06-21 10:12:58.156806500 /etc/swift/
2024-06-21 10:12:58.156843500 /etc/swift/
2024-06-21 10:12:58.156879500 /etc/swift/
2024-06-21 10:12:58.156914500 /etc/swift/
2024-06-21 10:12:58.156947500 /etc/swift/
2024-06-21 10:12:58.156981500 /etc/swift/
2024-06-21 10:12:58.157015500 /etc/swift/
2024-06-21 10:12:58.157047500 /etc/swift/
2024-06-21 10:12:58.157081500 /etc/swift/
2024-06-21 10:12:58.157115500 /etc/swift/
2024-06-21 10:12:58.157149500 /etc/swift/
2024-06-21 10:12:58.157183500 /etc/swift/
2024-06-21 10:12:58.157217500 /etc/swift/
2024-06-21 10:12:58.157250500 /etc/swift/
2024-06-21 10:12:58.157284500 /etc/swift/
2024-06-21 10:12:58.157315500 /etc/swift/
2024-06-21 10:12:58.157348500 /etc/swift/
2024-06-21 10:12:58.157381500 /etc/swift/
2024-06-21 10:12:58.157415500 /etc/swift/
2024-06-21 10:12:58.157448500 /etc/swift/
2024-06-21 10:12:58.157490500 /etc/swift/
2024-06-21 10:12:58.157525500 /etc/swift/
2024-06-21 10:12:58.157558500 /etc/swift/
2024-06-21 10:12:58.157589500 /etc/swift/
2024-06-21 10:12:58.158589500 [cont-init.d] 02_build_
2024-06-21 10:12:58.160133500 [cont-init.d] ~-socklog: executing...
2024-06-21 10:12:58.484035500 [cont-init.d] ~-socklog: exited 0.
2024-06-21 10:12:58.485575500 [cont-init.d] done.
2024-06-21 10:12:58.486993500 [services.d] starting services
2024-06-21 10:12:58.499241500 [services.d] done.
2024-06-21 10:12:58.519582500 Traceback (most recent call last):
2024-06-21 10:12:58.519586500 File "/opt/swift/
2024-06-21 10:12:58.519605500 from swift.common.
2024-06-21 10:12:58.519606500 ImportError: No module named swift.common.
2024-06-21 10:12:58.519662500 Traceback (most recent call last):
2024-06-21 10:12:58.519663500 File "/opt/swift/
2024-06-21 10:12:58.519664500 from swift.common.
2024-06-21 10:12:58.519665500 ImportError: No module named swift.common.
2024-06-21 10:12:58.519665500 Traceback (most recent call last):
2024-06-21 10:12:58.519668500 File "/opt/swift/
2024-06-21 10:12:58.519669500 Traceback (most recent call last):
2024-06-21 10:12:58.519669500 File "/opt/swift/
2024-06-21 10:12:58.519671500 from swift.common.
2024-06-21 10:12:58.519677500 ImportError : from swift.common.
2024-06-21 10:12:58.519677500 No module named swift.common.
2024-06-21 10:12:58.519679500 ImportError: No module named swift.common.
2024-06-21 10:12:59.509998500 Traceback (most recent call last):
2024-06-21 10:12:59.510002500 Traceback (most recent call last):
2024-06-21 10:12:59.510003500 File "/opt/swift/
2024-06-21 10:12:59.510003500 File "/opt/swift/
2024-06-21 10:12:59.510004500 from swift.common.
2024-06-21 10:12:59.510004500 from swift.common.
2024-06-21 10:12:59.510005500 ImportErrorImpo
2024-06-21 10:12:59.510005500
2024-06-21 10:12:59.510005500 Traceback (most recent call last):
2024-06-21 10:12:59.510006500 File "/opt/swift/
2024-06-21 10:12:59.510006500 from swift.common.
2024-06-21 10:12:59.510006500 ImportError: No module named swift.common.
I don't understand how to fix such problems
docker image openstackswift/ saio:py3 is working