Wrong Swift config caused swift can't connect to memched
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Incomplete
|
High
|
JohnsonYi |
Bug Description
Environment: Fuel 8.0 with mu1 patch
Log:
<11>Sep 20 03:40:29 node-1 epmd: epmd: got partial packet only on file descriptor 5 (0)
<131>Sep 20 03:40:58 node-1 container-
<27>Sep 20 03:40:58 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
<27>Sep 20 03:40:58 node-1 ocf-mysql-wss: ERROR: Not enough arguments [1] to ocf_log.
swift connect to memcached with 127.0.0.1:1121, but iptables only support connection from br_mgmt ip for port 11211, and memcached also listen on br_mgmt ip for port 11211.
Impact:
Service swift-container
Expected result:
No error like " STDERR: ERROR:root:Error connecting to memcached: 127.0.0.1:11211#"
Actual result:
Lots of errors like " STDERR: ERROR:root:Error connecting to memcached: 127.0.0.1:11211#", and controller node will be offline every two days.
Configuration in memcached.conf under /etc/swift/ should be corrected.
/etc/swift/
memcached_server = <br_mgmt_ip>:11211
description: | updated |
description: | updated |
Changed in mos: | |
importance: | Undecided → High |
status: | Incomplete → Confirmed |
milestone: | none → 8.0-updates |
JohnsonYi - please provide diagnostic snapshot and describe impact and expected result. Why swift needs to connect to memcached?