Bug 1859453 - The memcached servers is set 127.0.0.1:11211 not memcached server in docker swift_object_expirer.
Summary: The memcached servers is set 127.0.0.1:11211 not memcached server in docker s...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-tripleo
Version: 13.0 (Queens)
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ga
: 17.1
Assignee: Pete Zaitcev
QA Contact: Evelina Shames
Andy Stillman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-22 07:37 UTC by youngcheol
Modified: 2024-12-20 19:10 UTC (History)
10 users (show)

Fixed In Version: puppet-tripleo-14.2.3-1.20230517011019.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:09:23 UTC
Target Upstream Version:
Embargoed:
cschwede: needinfo-
cschwede: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1889663 0 None None None 2020-07-30 16:49:24 UTC
OpenStack gerrit 744015 0 None MERGED Use correct memcached IPs for Swift object-expirer 2021-02-03 16:18:21 UTC
Red Hat Issue Tracker OSP-2178 0 None None None 2021-11-18 14:32:35 UTC
Red Hat Knowledge Base (Solution) 5280071 0 None None None 2020-09-15 04:58:50 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:10:54 UTC

Description youngcheol 2020-07-22 07:37:15 UTC
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.

Comment 34 errata-xmlrpc 2023-08-16 01:09:23 UTC
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

Comment 35 Red Hat Bugzilla 2023-12-25 04:25:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.