port 6000 which is used by swift object-server isn't listening after deploy openstack with multi-node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Undecided
|
MarginHu | ||
Ocata |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi Guys,
After I deploy a environment with multi-node, I found It failed to upload file to container in swift.In my environment, I deployed a storage node which located in "kode1", and use 3 disks as swift storage devices.
[root@kode0 ~]# source admin-openrc.sh
[root@kode0 ~]# swift stat
X-Openstack-
[root@kode0 ~]#
[root@kode0 ~]# swift upload mycontainer dnsmasq.log
Object HEAD failed: http://
the swift log has the following output:
2017-03-
192.168.101.0/24 is my external network.
192.168.104.0/24 is my storage network.
[root@kode1 ~]# docker ps | grep swift-object
09821d264ed9 192.168.
7dc5dcd2e9b6 192.168.
d1eebab1fc5c 192.168.
d3e08921a239 192.168.
b0fd76ea8601 192.168.
[root@kode1 ~]# docker logs b0fd76ea8601
[root@kode1 ~]#
[root@kode1 ~]# docker inspect b0fd76ea8601 | grep -i pid
"Pid": 24196,
[root@kode1 ~]# netstat -anlp | grep -i 24196
[root@kode1 ~]#
my openstack is ocata version from rdo.
Changed in kolla: | |
milestone: | none → pike-1 |
status: | New → Confirmed |
Changed in kolla: | |
assignee: | nobody → MarginHu (margin2017) |
Changed in kolla: | |
status: | Confirmed → Fix Released |
I enter into the container, and found it is "sleep 1"
()[root@kode1 /]# ps aux bin/dumb- init /bin/bash /usr/local/ bin/kolla_ start
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
swift 1 0.0 0.0 192 4 ? Ss+ 15:07 0:00 /usr/local/
swift 7 0.0 0.0 11632 1404 ? Ss 15:07 0:00 /bin/bash /usr/local/
root 1012 0.1 0.0 15200 2016 ? S 15:24 0:00 -bash
swift 1048 0.0 0.0 4308 344 ? S 15:24 0:00 sleep 1
root 1049 0.0 0.0 50872 1828 ? R+ 15:24 0:00 ps aux
()[root@kode1 /]# ls
anaconda-post.log dev home lib64 media opt root sbin sys usr
bin etc lib lost+found mnt proc run srv tmp var
()[root@kode1 /]#
()[root@kode1 /]# cat /usr/local/ bin/kolla_ start local/bin/ dumb-init /bin/bash
#!/usr/
set -o errexit
# Wait for the log socket LOG_SETUP[ @]}" && -e /var/lib/kolla/heka ]]; then kolla/heka/ log ]]; do
if [[ ! "${!SKIP_
while [[ ! -S /var/lib/
sleep 1
done
fi
....
but I found other swift process works well, why? it seems that root cause is located in heka.