Skip to content

Commit

Permalink
cephadm-adopt: rgw service fails after being redeployed
Browse files Browse the repository at this point in the history
rgw services do not start after adoption due to path to asok file
too long:

AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen:
The UNIX domain socket path /var/run/ceph/ceph-client.rgw.hostname.service_id.gmlofh.6.94425541769128.asok
is too long! The maximum length on this system is 107

to fix that, service_id in the spec which was the hostname
has been replaced by "rgw"

Signed-off-by: Teoman ONAY <[email protected]>
  • Loading branch information
asm0deuz committed Jan 22, 2025
1 parent a1f65bb commit 1558378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure-playbooks/cephadm-adopt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@
fsid: "{{ fsid }}"
spec: |
service_type: rgw
service_id: {{ ansible_facts['hostname'] }}
service_id: rgw
placement:
count_per_host: {{ radosgw_num_instances }}
hosts:
Expand Down

0 comments on commit 1558378

Please sign in to comment.