Skip to content

Conversation

@tomassedovic
Copy link

This sets the HOST_IP value of Devstack to the floating IP address. That should in theory allow the OpenStack to be accessed from the outside.

What happens in practice is that ./stack.sh fails on teh Ceph plugin with:

# ceph --verbose -c /etc/ceph/ceph.conf osd create
parsed_args: Namespace(admin_socket=None, cephconf='/etc/ceph/ceph.conf', client_id=None, client_name=None, cluster=None, cluster_timeout=None, completion=False, help=False, input_file=None, output_file=None, output_format=None, setgroup=None, setuser=None, status=False, verbose=True, version=False, watch=False, watch_channel='cluster', watch_debug=False, watch_error=False, watch_info=False, watch_sec=False, watch_warn=False), childargs: ['osd', 'create']
2020-01-20 17:00:11.642674 7f11f7f54700  0 monclient(hunting): authenticate timed out after 300
2020-01-20 17:00:11.642755 7f11f7f54700  0 librados: client.admin authentication error (110) Connection timed out
[errno 110] error connecting to the cluster

I have not yet figured out how to fix that.

@tomassedovic
Copy link
Author

Okay, we need to update /etc/ceph/ceph.conf to set public_addr and mon_host to the server's fixed IP address (i.e. the private one).

Devstack already configures mon_host but sets it to the floating IP. That on its own doesn't work and trying to set public_addr to the floating IP is not working either.

Setting them to the private IP works at least for the ceph osd create command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants