Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

radosgw-admin fails due to socket conflict #107

Open
robbat2 opened this issue Jul 13, 2017 · 3 comments
Open

radosgw-admin fails due to socket conflict #107

robbat2 opened this issue Jul 13, 2017 · 3 comments

Comments

@robbat2
Copy link
Contributor

robbat2 commented Jul 13, 2017

The cookbook uses the same client name for running radosgw-admin as radosgw itself uses. If radosgw is already running, this makes the radosgw-admin call FAIL.

STDERR: warning: line 38: 'max_open_files' in section 'global' redefined 
warning: line 41: 'mon_pg_warn_max_per_osd' in section 'global' redefined 
warning: line 94: 'admin_socket' in section 'client' redefined 
2017-07-13 23:13:02.477423 7f2d8c85f900 -1 asok(0x55b9db93d580) AdminSocketConfigObs::init: failed: AdminSocket::bind_and_listen: failed to bind the UNIX domain socket to '/var/run/ceph/ceph-client.radosgw.us-east-1-iad1.asok': (17) File exists
failed to init realm: (2) No such file or directory
---- End output of           sudo radosgw-admin region set --infile /etc/ceph/us-east-1-iad1-region.json --rgw-region us-east-1-iad1 --name client.radosgw.us-east-1-iad1
 ----
Ran           sudo radosgw-admin region set --infile /etc/ceph/us-east-1-iad1-region.json --rgw-region us-east-1-iad1 --name client.radosgw.us-east-1-iad1
 returned 2
@hanscj1
Copy link
Contributor

hanscj1 commented Jul 14, 2017

Is this the latest version? Thanks

@robbat2
Copy link
Contributor Author

robbat2 commented Jul 14, 2017

I've diverged slightly from master, but I'll retest w/ PR105 merged, will report back soon.

@robbat2
Copy link
Contributor Author

robbat2 commented Jul 14, 2017

Yes, this does still happen even with master merged up.

Related error, we need to run realm create at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants