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

Proposed by James Page
Status: Merged
Merged at revision: 98
Proposed branch: lp:~james-page/charms/trusty/nova-compute/kilo-support
Merge into: lp:~openstack-charmers-archive/charms/trusty/nova-compute/next
Diff against target: 145 lines (+140/-0)
1 file modified
templates/kilo/nova.conf (+140/-0)
To merge this branch: bzr merge lp:~james-page/charms/trusty/nova-compute/kilo-support
Reviewer Review Type Date Requested Status
Liam Young (community) Approve
Review via email: mp+247108@code.launchpad.net
To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #927 nova-compute-next for james-page mp247108
    LINT OK: passed

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

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

charm_unit_test #956 nova-compute-next for james-page mp247108
    UNIT OK: passed

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

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

charm_amulet_test #1149 nova-compute-next for james-page mp247108
    AMULET OK: passed

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

105. By James Page

Restore user config flags for kilo

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

charm_lint_check #934 nova-compute-next for james-page mp247108
    LINT OK: passed

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

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

charm_unit_test #963 nova-compute-next for james-page mp247108
    UNIT OK: passed

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

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
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #1156 nova-compute-next for james-page mp247108
    AMULET OK: passed

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

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
=== added directory 'templates/kilo'
=== added file 'templates/kilo/nova.conf'
--- templates/kilo/nova.conf 1970-01-01 00:00:00 +0000
+++ templates/kilo/nova.conf 2015-01-21 12:27:49 +0000
@@ -0,0 +1,140 @@
1# kilo
2###############################################################################
3# [ WARNING ]
4# Configuration file maintained by Juju. Local changes may be overwritten.
5{% if restart_trigger -%}
6# restart trigger: {{ restart_trigger }}
7{% endif -%}
8###############################################################################
9[DEFAULT]
10dhcpbridge_flagfile=/etc/nova/nova.conf
11dhcpbridge=/usr/bin/nova-dhcpbridge
12logdir=/var/log/nova
13state_path=/var/lib/nova
14lock_path=/var/lock/nova
15force_dhcp_release=True
16verbose=True
17use_syslog = {{ use_syslog }}
18ec2_private_dns_show_ip=True
19api_paste_config=/etc/nova/api-paste.ini
20enabled_apis=ec2,osapi_compute,metadata
21auth_strategy=keystone
22compute_driver=libvirt.LibvirtDriver
23my_ip = {{ host_ip }}
24
25{% include "parts/database" %}
26
27{% include "parts/rabbitmq" %}
28
29{% if console_vnc_type -%}
30vnc_enabled = True
31novnc_enabled = True
32vnc_keymap = {{ console_keymap }}
33vncserver_listen = 0.0.0.0
34vncserver_proxyclient_address = {{ console_listen_addr }}
35{% if console_access_protocol == 'novnc' or console_access_protocol == 'vnc' -%}
36novncproxy_base_url = {{ novnc_proxy_address }}
37{% endif -%}
38{% if console_access_protocol == 'xvpvnc' or console_access_protocol == 'vnc' -%}
39xvpvncproxy_port = {{ xvpvnc_proxy_port }}
40xvpvncproxy_host = {{ xvpvnc_proxy_host }}
41xvpvncproxy_base_url = {{ xvpvnc_proxy_address }}
42{% endif -%}
43{% else -%}
44vnc_enabled = False
45novnc_enabled = False
46{% endif -%}
47
48{% if neutron_plugin and neutron_plugin == 'ovs' -%}
49libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtGenericVIFDriver
50{% if neutron_security_groups -%}
51security_group_api = neutron
52firewall_driver = nova.virt.firewall.NoopFirewallDriver
53{% endif -%}
54{% endif -%}
55
56{% if neutron_plugin and (neutron_plugin == 'nvp' or neutron_plugin == 'nsx') -%}
57libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtOpenVswitchVirtualPortDriver
58security_group_api = neutron
59firewall_driver = nova.virt.firewall.NoopFirewallDriver
60{% endif -%}
61
62{% if network_manager != 'neutron' and network_manager_config -%}
63{% for key, value in network_manager_config.iteritems() -%}
64{{ key }} = {{ value }}
65{% endfor -%}
66{% endif -%}
67
68{% if network_manager == 'neutron' -%}
69network_api_class = nova.network.neutronv2.api.API
70{% else -%}
71network_manager = nova.network.manager.FlatDHCPManager
72{% endif -%}
73
74{% if volume_service -%}
75volume_api_class = nova.volume.cinder.API
76{% endif -%}
77
78{% if user_config_flags -%}
79{% for key, value in user_config_flags.iteritems() -%}
80{{ key }} = {{ value }}
81{% endfor -%}
82{% endif -%}
83
84{% if instances_path -%}
85instances_path = {{ instances_path }}
86{% endif -%}
87
88{% if sections and 'DEFAULT' in sections -%}
89{% for key, value in sections['DEFAULT'] -%}
90{{ key }} = {{ value }}
91{% endfor -%}
92{% endif -%}
93
94{% if network_manager == 'neutron' and network_manager_config -%}
95[neutron]
96url = {{ network_manager_config.neutron_url }}
97{% if network_manager_config.keystone_host -%}
98auth_strategy = keystone
99admin_tenant_name = {{ network_manager_config.neutron_admin_tenant_name }}
100admin_username = {{ network_manager_config.neutron_admin_username }}
101admin_password = {{ network_manager_config.neutron_admin_password }}
102admin_auth_url = {{ network_manager_config.auth_protocol }}://{{ network_manager_config.keystone_host }}:{{ network_manager_config.auth_port }}/v2.0
103{% endif -%}
104{% endif -%}
105
106{% if glance_api_servers -%}
107[glance]
108api_servers = {{ glance_api_servers }}
109{% endif -%}
110
111{% if console_access_protocol == 'spice' -%}
112[spice]
113agent_enabled = True
114enabled = True
115html5proxy_base_url = {{ spice_proxy_address }}
116keymap = {{ console_keymap }}
117server_listen = 0.0.0.0
118server_proxyclient_address = {{ console_listen_addr }}
119{% endif -%}
120
121[libvirt]
122{% if libvirt_images_type -%}
123images_type = {{ libvirt_images_type }}
124images_rbd_pool = {{ rbd_pool }}
125images_rbd_ceph_conf = {{ libvirt_rbd_images_ceph_conf }}
126inject_password=false
127inject_key=false
128inject_partition=-2
129{% endif -%}
130{% if rbd_pool -%}
131rbd_pool = {{ rbd_pool }}
132rbd_user = {{ rbd_user }}
133rbd_secret_uuid = {{ rbd_secret_uuid }}
134{% endif -%}
135{% if live_migration_uri -%}
136live_migration_uri = {{ live_migration_uri }}
137{% endif -%}
138{% if disk_cachemodes -%}
139disk_cachemodes = {{ disk_cachemodes }}
140{% endif -%}

Subscribers

People subscribed via source and target branches