Merge "Ensure that nova and neutron provide consistent DHCP domain values"

This commit is contained in:
Jenkins 2015-08-21 13:57:27 +00:00 committed by Gerrit Code Review
commit 980866d19f
4 changed files with 11 additions and 1 deletions

View File

@ -58,6 +58,9 @@ glance_swift_store_endpoint_type: internalURL
# nova_cpu_allocation_ratio: 2.0
# nova_ram_allocation_ratio: 1.0
# If you wish to change the dhcp_domain configured for both nova and neutron
# dhcp_domain:
## Glance with Swift
### Extra options when configuring swift as a glance back-end.
### By default it will use the local swift install

View File

@ -69,6 +69,8 @@ memcached_servers: "{% for host in groups['memcached'] %}{{ hostvars[host]['ansi
## Region Name
service_region: RegionOne
## DHCP Domain Name
dhcp_domain: openstacklocal
## OpenStack global Endpoint Protos
#openstack_service_publicuri_proto: http
@ -85,6 +87,7 @@ ceilometer_service_adminuri: "{{ ceilometer_service_proto }}://{{ internal_lb_vi
ceilometer_service_adminurl: "{{ ceilometer_service_adminuri }}/"
ceilometer_service_region: "{{ service_region }}"
## Nova
nova_service_port: 8774
nova_service_proto: http
@ -100,6 +103,7 @@ nova_metadata_port: 8775
nova_keystone_auth_plugin: password
nova_ceph_client: '{{ cinder_ceph_client }}'
nova_ceph_client_uuid: '{{ cinder_ceph_client_uuid | default() }}'
nova_dhcp_domain: "{{ dhcp_domain }}"
## Neutron
@ -119,6 +123,7 @@ neutron_service_l3_program_enabled: true
neutron_service_linuxbridge_program_enabled: true
neutron_service_metadata_program_enabled: true
neutron_service_metering_program_enabled: true
neutron_dhcp_domain: "{{ dhcp_domain }}"
## Glance

View File

@ -204,6 +204,7 @@ nova_max_age: 0
nova_remove_unused_resized_minimum_age_seconds: 3600
nova_image_cache_manager_interval: 0
nova_resume_guests_state_on_host_boot: False
nova_dhcp_domain: novalocal
# Nova quota
nova_quota_cores: 20
@ -253,7 +254,7 @@ nova_ceph_client_uuid: 517a4663-3927-44bc-9ea7-4a90e1cd4c66
nova_libvirt_disk_cachemodes: '{{ nova_libvirt_images_rbd_pool is defined | ternary("network=writeback", "") }}'
nova_libvirt_hw_disk_discard: '{{ nova_libvirt_images_rbd_pool is defined | ternary("unmap", "ignore") }}'
## General Neutron configuration
## General Nova configuration
# If ``nova_osapi_compute_workers`` is unset the system will use half the number of available VCPUS to
# compute the number of api workers to use.
# nova_osapi_compute_workers: 16

View File

@ -83,6 +83,7 @@ metadata_port = {{ nova_metadata_port }}
metadata_workers = {{ nova_metadata_workers | default(api_threads) }}
# Network
dhcp_domain = {{ nova_dhcp_domain }}
force_dhcp_release = True
dhcpbridge_flagfile = /etc/nova/nova.conf
firewall_driver = {{ nova_firewall_driver }}