Merge lp:~james-page/charms/trusty/nova-cloud-controller/kilo-support into lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next

Proposed by James Page
Status: Merged
Merged at revision: 138
Proposed branch: lp:~james-page/charms/trusty/nova-cloud-controller/kilo-support
Merge into: lp:~openstack-charmers-archive/charms/trusty/nova-cloud-controller/next
Diff against target: 156 lines (+151/-0)
1 file modified
templates/kilo/nova.conf (+151/-0)
To merge this branch: bzr merge lp:~james-page/charms/trusty/nova-cloud-controller/kilo-support
Reviewer Review Type Date Requested Status
Liam Young (community) Approve
Review via email: mp+247107@code.launchpad.net
To post a comment you must log in.
140. By James Page

Mark template as for kilo

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #926 nova-cloud-controller-next for james-page mp247107
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/926/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #955 nova-cloud-controller-next for james-page mp247107
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/955/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #1148 nova-cloud-controller-next for james-page mp247107
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/1148/

Revision history for this message
Ryan Beisner (1chb1n) wrote :

FYI, all deploy tests are happy. [P-I, T-I, T-J, U-J] x [Stable & Next] charms.

Revision history for this message
Liam Young (gnuoy) wrote :

Approve

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'templates/kilo'
2=== added file 'templates/kilo/nova.conf'
3--- templates/kilo/nova.conf 1970-01-01 00:00:00 +0000
4+++ templates/kilo/nova.conf 2015-01-21 09:24:37 +0000
5@@ -0,0 +1,151 @@
6+# kilo
7+###############################################################################
8+# [ WARNING ]
9+# Configuration file maintained by Juju. Local changes may be overwritten.
10+###############################################################################
11+[DEFAULT]
12+verbose={{ verbose }}
13+debug={{ debug }}
14+dhcpbridge_flagfile=/etc/nova/nova.conf
15+dhcpbridge=/usr/bin/nova-dhcpbridge
16+logdir=/var/log/nova
17+state_path=/var/lib/nova
18+lock_path=/var/lock/nova
19+force_dhcp_release=True
20+iscsi_helper=tgtadm
21+libvirt_use_virtio_for_bridges=True
22+connection_type=libvirt
23+root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
24+ec2_private_dns_show_ip=True
25+api_paste_config=/etc/nova/api-paste.ini
26+volumes_path=/var/lib/nova/volumes
27+enabled_apis=ec2,osapi_compute,metadata
28+auth_strategy=keystone
29+compute_driver=libvirt.LibvirtDriver
30+use_ipv6 = {{ use_ipv6 }}
31+osapi_compute_listen = {{ bind_host }}
32+metadata_host = {{ bind_host }}
33+s3_listen = {{ bind_host }}
34+ec2_listen = {{ bind_host }}
35+
36+osapi_compute_workers = {{ workers }}
37+ec2_workers = {{ workers }}
38+
39+scheduler_default_filters = RetryFilter,AvailabilityZoneFilter,CoreFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter
40+cpu_allocation_ratio = {{ cpu_allocation_ratio }}
41+ram_allocation_ratio = {{ ram_allocation_ratio }}
42+
43+use_syslog={{ use_syslog }}
44+my_ip = {{ host_ip }}
45+
46+{% if memcached_servers %}
47+memcached_servers = {{ memcached_servers }}
48+{% endif %}
49+
50+{% if keystone_ec2_url -%}
51+keystone_ec2_url = {{ keystone_ec2_url }}
52+{% endif -%}
53+
54+{% include "parts/rabbitmq" %}
55+
56+{% if rbd_pool -%}
57+rbd_pool = {{ rbd_pool }}
58+rbd_user = {{ rbd_user }}
59+rbd_secret_uuid = {{ rbd_secret_uuid }}
60+{% endif -%}
61+
62+{% if neutron_plugin and neutron_plugin == 'ovs' -%}
63+libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
64+libvirt_user_virtio_for_bridges = True
65+{% if neutron_security_groups -%}
66+security_group_api = {{ network_manager }}
67+nova_firewall_driver = nova.virt.firewall.NoopFirewallDriver
68+{% endif -%}
69+{% if external_network -%}
70+default_floating_pool = {{ external_network }}
71+{% endif -%}
72+{% endif -%}
73+
74+{% if neutron_plugin and neutron_plugin == 'nvp' -%}
75+security_group_api = neutron
76+nova_firewall_driver = nova.virt.firewall.NoopFirewallDriver
77+{% if external_network -%}
78+default_floating_pool = {{ external_network }}
79+{% endif -%}
80+{% endif -%}
81+
82+{% if network_manager_config -%}
83+{% for key, value in network_manager_config.iteritems() -%}
84+{{ key }} = {{ value }}
85+{% endfor -%}
86+{% endif -%}
87+
88+{% if network_manager and network_manager == 'neutron' -%}
89+network_api_class = nova.network.neutronv2.api.API
90+{% else -%}
91+network_manager = nova.network.manager.FlatDHCPManager
92+{% endif -%}
93+
94+{% if default_floating_pool -%}
95+default_floating_pool = {{ default_floating_pool }}
96+{% endif -%}
97+
98+{% if volume_service -%}
99+volume_api_class=nova.volume.cinder.API
100+{% endif -%}
101+
102+{% if user_config_flags -%}
103+{% for key, value in user_config_flags.iteritems() -%}
104+{{ key }} = {{ value }}
105+{% endfor -%}
106+{% endif -%}
107+
108+{% if listen_ports -%}
109+{% for key, value in listen_ports.iteritems() -%}
110+{{ key }} = {{ value }}
111+{% endfor -%}
112+{% endif -%}
113+
114+{% if sections and 'DEFAULT' in sections -%}
115+{% for key, value in sections['DEFAULT'] -%}
116+{{ key }} = {{ value }}
117+{% endfor -%}
118+{% endif %}
119+
120+{% include "parts/database-v2" %}
121+
122+{% if glance_api_servers -%}
123+[glance]
124+api_servers = {{ glance_api_servers }}
125+{% endif -%}
126+
127+{% if network_manager and network_manager == 'neutron' -%}
128+[neutron]
129+url = {{ neutron_url }}
130+{% if auth_host -%}
131+auth_strategy = keystone
132+admin_tenant_name = {{ admin_tenant_name }}
133+admin_username = {{ admin_user }}
134+admin_password = {{ admin_password }}
135+admin_auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}/v2.0
136+{% endif -%}
137+{% endif -%}
138+
139+{% if auth_host -%}
140+[keystone_authtoken]
141+auth_uri = {{ service_protocol }}://{{ service_host }}:{{ service_port }}/
142+auth_host = {{ auth_host }}
143+auth_port = {{ auth_port }}
144+auth_protocol = {{ auth_protocol }}
145+admin_tenant_name = {{ admin_tenant_name }}
146+admin_user = {{ admin_user }}
147+admin_password = {{ admin_password }}
148+{% endif -%}
149+
150+[osapi_v3]
151+enabled=True
152+
153+{% include "parts/cell" %}
154+
155+[conductor]
156+workers = {{ workers }}

Subscribers

People subscribed via source and target branches