Container hostnames contain underscores which breaks deployment

Bug #1749764 reported by Michael H Wilson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Undecided
Unassigned

Bug Description

Environment is an internal OpenStack Mitaka cloud. On top of that I am creating virtual networks, servers, etc. When I deploy I get containers that have underscores in the hostname.

Revision history for this message
Michael H Wilson (geekinutah) wrote :
Revision history for this message
Michael H Wilson (geekinutah) wrote :

Commit is 2092ef59e15ce66fb2ad5f9f661477b03c4ce7f0 which is pike/stable.

Revision history for this message
Michael H Wilson (geekinutah) wrote :
Revision history for this message
Michael H Wilson (geekinutah) wrote :
Revision history for this message
Michael H Wilson (geekinutah) wrote :

root@infra-0:~# lxc-ls
infra0_ceph-mon_container-5fd3d11a infra0_cinder_api_container-2c741a19 infra0_cinder_scheduler_container-67896107 infra0_galera_container-4bf47f57 infra0_glance_container-24d2e7e1
infra0_heat_apis_container-1c2be672 infra0_heat_engine_container-85c2ebe0 infra0_horizon_container-b8256baa infra0_keystone_container-bc0c45ad infra0_memcached_container-408159eb
infra0_neutron_agents_container-422042c7 infra0_neutron_server_container-3a507af3 infra0_nova_api_metadata_container-61607eb8 infra0_nova_api_os_compute_container-7b645244 infra0_nova_api_placement_container-4dca0a14
infra0_nova_conductor_container-6a93bbfe infra0_nova_console_container-a053cb53 infra0_nova_scheduler_container-4eaf56ee infra0_rabbit_mq_container-02d2824f infra0_repo_container-92e7d631
infra0_utility_container-e28ff551
root@infra-0:~# lxc-attach --name infra0_nova_api_metadata_container-61607eb8
root@infra0_nova_api_metadata_container-61607eb8:~# cat /etc/hostname
infra0_nova_api_metadata_container-61607eb8
root@infra0_nova_api_metadata_container-61607eb8:~# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 infra0_nova_api_metadata_container-61607eb8

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
root@infra0_nova_api_metadata_container-61607eb8:~#

Revision history for this message
Michael H Wilson (geekinutah) wrote :

This is my heat template in case that is helpful. Undercloud is mitaka, don't let that confuse you.

Revision history for this message
Michael H Wilson (geekinutah) wrote :

One more template

Revision history for this message
Michael H Wilson (geekinutah) wrote :

After re-creating my environment it worked. Closing.

Changed in openstack-ansible:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.