Swiftcheck are broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Aleksey Zvyagintsev |
Bug Description
Version: fuel8
cat /etc/fuel/
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "570"
build_id: "570"
even with updates:
rpm -qa |grep fuel-lib
fuel-library8.
$ cat osnailyfacter/
class { 'openstack:
endpoint => "${swift_
scan_target => "${internal_
only_from => "127.0.0.1 240.0.0.2 ${storage_nets} ${mgmt_nets}",
con_timeout => 5
}
Problem: due wrong scan_target value , haproxy think that swift down :
$ daemon.log
<30>May 12 13:44:41 node-10 xinetd[91467]: START: swiftcheck pid=130411 from=240.0.0.2
<30>May 12 13:44:43 node-10 xinetd[91467]: START: swiftcheck pid=130576 from=240.0.0.2
<30>May 12 13:44:44 node-10 xinetd[91467]: EXIT: swiftcheck signal=13 pid=130411 duration=3(sec)
$ haproxy-status.sh |grep -i swift
swift FRONTEND Status: OPEN Sessions: 0 Rate: 0
swift node-10 Status: DOWN/L7RSP Sessions: 0 Rate: 0
swift node-7 Status: DOWN/L7RSP Sessions: 0 Rate: 0
swift BACKEND Status: DOWN Sessions: 0 Rate: 0
$ root@node-
nc: port number invalid: //10.168.0.2:5000
nc: port number invalid: //10.168.0.2:5000
nc: port number invalid: //10.168.0.2:5000
nc: port number invalid: //10.168.0.2:5000
HTTP/1.1 503 Service Unavailable
Content-Type: text/plain
Connection: close
Content-Length: 8
Error.
Since correct call should be :
$ swiftcheck http://
HTTP/1.1 200 OK
Content-Type: text/plain
Connection: close
Content-Length: 5
OK.
tags: | added: customer-found |
Changed in fuel: | |
milestone: | 8.0-updates → 8.0-mu-2 |
Changed in fuel: | |
status: | Confirmed → Fix Committed |
tags: | added: on-verification |
tags: | removed: on-verification |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: stable/8.0 /review. openstack. org/315509
Review: https:/