Bug 1859453
| Summary: | The memcached servers is set 127.0.0.1:11211 not memcached server in docker swift_object_expirer. | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | youngcheol <yocha> |
| Component: | puppet-tripleo | Assignee: | Pete Zaitcev <zaitcev> |
| Status: | CLOSED ERRATA | QA Contact: | Evelina Shames <eshames> |
| Severity: | low | Docs Contact: | Andy Stillman <astillma> |
| Priority: | low | ||
| Version: | 13.0 (Queens) | CC: | cschwede, eshames, hkosti, jinjli, jjoyce, jschluet, lmarsh, slinaber, tvignaud, zaitcev |
| Target Milestone: | ga | Keywords: | Triaged, ZStream |
| Target Release: | 17.1 | Flags: | cschwede:
needinfo-
cschwede: needinfo- ifrangs: needinfo? (zaitcev) |
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | puppet-tripleo-14.2.3-1.20230517011019.el9ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-08-16 01:09:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2023:4577 |
The memcached servers is set 127.0.0.1:11211 not memcached server in docker swift_object_expirer. Description of problem: - The memcached servers is set 127.0.0.1:11211 not memcached server in docker swift_object_expirer when deploy distributed swift nodes. - below error are occurring at messages in swift nodes. Jul 22 15:39:49 swift-0 object-expirer: STDERR: ERROR:root:Error connecting to memcached: 127.0.0.1:11211: [Errno 111] ECONNREFUSED (txn: tx1734f10b89534b4b9590b-005f17df35) Jul 22 15:44:33 swift-0 object-expirer: STDERR: ERROR:root:Error connecting to memcached: 127.0.0.1:11211: [Errno 111] ECONNREFUSED (txn: tx7c3d35a10d3c4ecb9cdbd-005f17e051) How reproducible: - When not occured issue: -- 3 controller(integrate with swift) + 2 compute : not occurring - When not occured issue: Blocked SwiftStorage for controller role in roles_data.yaml and deploy distributed swift nodes. #- OS::TripleO::Services::SwiftStorage -- 3 controller + 2 compute + 3 swift -- 3 controller + 2 compute + 3 swift (Changed all internal_api to ctlplane at /home/stack/virt/service_net_map.yaml) -- 3 controller + 2 compute + 3 swift (Memcached swift nodes also) cat .. - name: ObjectStorage description: | Swift Object Storage node role networks: - InternalApi - Storage - StorageMgmt ..... - OS::TripleO::Services::Memcached << Added it. ... -- 3 controller + 2 compute + 3 swift (Memcached swift nodes also + Changed all internal_api to ctlplane at /home/stack/virt/service_net_map.yaml) Actual results: - The memcached servers is set 127.0.0.1:11211 not memcached server in docker swift_object_expirer. ()[swift@swift-2 /etc/swift]$ cat object-expirer.conf [DEFAULT] [object-expirer] # auto_create_account_prefix = . [pipeline:main] pipeline = catch_errors cache proxy-server [app:proxy-server] use = egg:swift#proxy [filter:cache] use = egg:swift#memcache memcache_servers = 127.0.0.1:11211 [filter:catch_errors] use = egg:swift#catch_errors [root@swift-2 hieradata]# cat /etc/puppet/hieradata/all_nodes.json ... "memcached_network": "ctlplane", "memcached_node_ips": [ "192.168.24.21", "192.168.24.13", "192.168.24.11" ], "memcached_node_names": [ "controller-0.ctlplane.localdomain", "controller-1.ctlplane.localdomain", "controller-2.ctlplane.localdomain" ], .... - There are no object-expirer.conf in swift node. [root@swift-2 ~]# ls /var/lib/config-data/puppet-generated/swift/etc/swift/ account.builder backups/ container-server.conf object-server.conf account.ring.gz container.builder object.builder swift.conf account-server/ container.ring.gz object.ring.gz swift_puppet_conf.txt account-server.conf container-server/ object-server/ Expected results: - Greneraging object-expirer.conf at '/var/lib/config-data/puppet-generated/swift/etc/swift/' in swift nodes when deploy distributed swift nodes. - and set memcached_node_ips at object-expirer.conf in docker swift_object_expirer.