Merge "Move nova.conf/neutron.conf database configuration variables to [database] section"
This commit is contained in:
commit
ff02f0d9f2
@ -13,9 +13,6 @@ compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
|
|||||||
# VOLUMES
|
# VOLUMES
|
||||||
# configured in cinder.conf
|
# configured in cinder.conf
|
||||||
|
|
||||||
# DATABASE
|
|
||||||
sql_connection=mysql://nova:yourpassword@192.168.206.130/nova
|
|
||||||
|
|
||||||
# COMPUTE
|
# COMPUTE
|
||||||
libvirt_type=qemu
|
libvirt_type=qemu
|
||||||
compute_driver=libvirt.LibvirtDriver
|
compute_driver=libvirt.LibvirtDriver
|
||||||
@ -67,3 +64,7 @@ admin_tenant_name = service
|
|||||||
admin_user = nova
|
admin_user = nova
|
||||||
admin_password = nova
|
admin_password = nova
|
||||||
signing_dirname = /tmp/keystone-signing-nova
|
signing_dirname = /tmp/keystone-signing-nova
|
||||||
|
|
||||||
|
# DATABASE
|
||||||
|
[database]
|
||||||
|
connection=mysql://nova:yourpassword@192.168.206.130/nova
|
||||||
|
@ -13,9 +13,6 @@ compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
|
|||||||
# VOLUMES
|
# VOLUMES
|
||||||
# configured in cinder.conf
|
# configured in cinder.conf
|
||||||
|
|
||||||
# DATABASE
|
|
||||||
sql_connection=mysql://nova:yourpassword@192.168.206.130/nova
|
|
||||||
|
|
||||||
# COMPUTE
|
# COMPUTE
|
||||||
libvirt_type=qemu
|
libvirt_type=qemu
|
||||||
compute_driver=libvirt.LibvirtDriver
|
compute_driver=libvirt.LibvirtDriver
|
||||||
@ -68,3 +65,7 @@ admin_tenant_name = service
|
|||||||
admin_user = nova
|
admin_user = nova
|
||||||
admin_password = nova
|
admin_password = nova
|
||||||
signing_dirname = /tmp/keystone-signing-nova
|
signing_dirname = /tmp/keystone-signing-nova
|
||||||
|
|
||||||
|
# DATABASE
|
||||||
|
[database]
|
||||||
|
connection=mysql://nova:yourpassword@192.168.206.130/nova
|
||||||
|
@ -337,11 +337,12 @@ api_paste_config=c:\openstack\nova\etc\nova\api-paste.ini
|
|||||||
rabbit_host=<replaceable>IP_ADDRESS</replaceable>
|
rabbit_host=<replaceable>IP_ADDRESS</replaceable>
|
||||||
glance_api_servers=<replaceable>IP_ADDRESS</replaceable>:9292
|
glance_api_servers=<replaceable>IP_ADDRESS</replaceable>:9292
|
||||||
image_service=nova.image.glance.GlanceImageService
|
image_service=nova.image.glance.GlanceImageService
|
||||||
sql_connection=mysql://nova:passwd@<replaceable>IP_ADDRESS</replaceable>/nova
|
|
||||||
instances_shared_storage=false
|
instances_shared_storage=false
|
||||||
limit_cpu_features=true
|
limit_cpu_features=true
|
||||||
compute_driver=nova.virt.hyperv.driver.HyperVDriver
|
compute_driver=nova.virt.hyperv.driver.HyperVDriver
|
||||||
volume_api_class=nova.volume.cinder.API</programlisting>
|
volume_api_class=nova.volume.cinder.API
|
||||||
|
[database]
|
||||||
|
connection=mysql://nova:passwd@<replaceable>IP_ADDRESS</replaceable>/nova</programlisting>
|
||||||
<para>The following table contains a reference of all optionsfor hyper-v</para>
|
<para>The following table contains a reference of all optionsfor hyper-v</para>
|
||||||
<xi:include href="tables/nova-hyperv.xml"/>
|
<xi:include href="tables/nova-hyperv.xml"/>
|
||||||
</section>
|
</section>
|
||||||
|
@ -78,7 +78,6 @@
|
|||||||
an internal Rackspace test system.</para>
|
an internal Rackspace test system.</para>
|
||||||
<programlisting language="ini">verbose
|
<programlisting language="ini">verbose
|
||||||
nodaemon
|
nodaemon
|
||||||
sql_connection=mysql://root:<password>@127.0.0.1/nova
|
|
||||||
network_manager=nova.network.manager.FlatManager
|
network_manager=nova.network.manager.FlatManager
|
||||||
image_service=nova.image.glance.GlanceImageService
|
image_service=nova.image.glance.GlanceImageService
|
||||||
flat_network_bridge=xenbr0
|
flat_network_bridge=xenbr0
|
||||||
@ -96,7 +95,9 @@ ipv6_backend=account_identifier
|
|||||||
ca_path=./nova/CA
|
ca_path=./nova/CA
|
||||||
|
|
||||||
# Add the following to your conf file if you're running on Ubuntu Maverick
|
# Add the following to your conf file if you're running on Ubuntu Maverick
|
||||||
xenapi_remap_vbd_dev=true</programlisting>
|
xenapi_remap_vbd_dev=true
|
||||||
|
[database]
|
||||||
|
connection=mysql://root:<password>@127.0.0.1/nova</programlisting>
|
||||||
<figure xml:id="Nova_conf_XEN_Flat">
|
<figure xml:id="Nova_conf_XEN_Flat">
|
||||||
<title>KVM, Flat, MySQL, and Glance, OpenStack or EC2
|
<title>KVM, Flat, MySQL, and Glance, OpenStack or EC2
|
||||||
API</title>
|
API</title>
|
||||||
|
@ -62,7 +62,7 @@ verbose = True</programlisting>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>Edit <filename>/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini</filename>:
|
<para>Edit <filename>/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini</filename>:
|
||||||
<programlisting language="ini">[database]
|
<programlisting language="ini">[database]
|
||||||
sql_connection = mysql://neutron:password@10.10.10.1/neutron
|
connection = mysql://neutron:password@10.10.10.1/neutron
|
||||||
[ovs]
|
[ovs]
|
||||||
tenant_network_type = gre
|
tenant_network_type = gre
|
||||||
tunnel_id_ranges = 1:1000
|
tunnel_id_ranges = 1:1000
|
||||||
|
@ -164,7 +164,8 @@ vncserver_listen=0.0.0.0</programlisting></para>
|
|||||||
nova-conductor to manage your database connections, you will need to add
|
nova-conductor to manage your database connections, you will need to add
|
||||||
the following lines to your
|
the following lines to your
|
||||||
<filename>nova.conf</filename>:
|
<filename>nova.conf</filename>:
|
||||||
<programlisting language="ini">sql_connection=mysql://nova:password@10.10.10.10/nova
|
<programlisting language="ini">[database]
|
||||||
|
connection=mysql://nova:password@10.10.10.10/nova
|
||||||
[conductor]
|
[conductor]
|
||||||
use_local=True</programlisting></para></note></listitem>
|
use_local=True</programlisting></para></note></listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -51,7 +51,7 @@ admin_password = password</programlisting>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>Edit
|
<para>Edit
|
||||||
<filename>/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini</filename>: <programlisting language="ini">[database]
|
<filename>/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini</filename>: <programlisting language="ini">[database]
|
||||||
sql_connection = mysql://neutron:password@localhost/neutron
|
connection = mysql://neutron:password@localhost/neutron
|
||||||
[ovs]
|
[ovs]
|
||||||
tenant_network_type = gre
|
tenant_network_type = gre
|
||||||
tunnel_id_ranges = 1:1000
|
tunnel_id_ranges = 1:1000
|
||||||
@ -61,7 +61,7 @@ local_ip = 10.10.10.10
|
|||||||
firewall_driver = \
|
firewall_driver = \
|
||||||
neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</programlisting>
|
neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</programlisting>
|
||||||
<programlisting os="centos;rhel;fedora" language="ini">[database]
|
<programlisting os="centos;rhel;fedora" language="ini">[database]
|
||||||
sql_connection = mysql://neutron:password@localhost/neutron
|
connection = mysql://neutron:password@localhost/neutron
|
||||||
[ovs]
|
[ovs]
|
||||||
enable_tunneling = False
|
enable_tunneling = False
|
||||||
[securitygroup]
|
[securitygroup]
|
||||||
|
@ -53,7 +53,6 @@ admin_password = password</programlisting>
|
|||||||
them as-is.
|
them as-is.
|
||||||
<programlisting os="ubuntu;debian" language="ini">[DEFAULT]
|
<programlisting os="ubuntu;debian" language="ini">[DEFAULT]
|
||||||
|
|
||||||
sql_connection=mysql://nova:password@localhost/nova
|
|
||||||
my_ip=10.10.10.10
|
my_ip=10.10.10.10
|
||||||
rabbit_password=password
|
rabbit_password=password
|
||||||
auth_strategy=keystone
|
auth_strategy=keystone
|
||||||
@ -129,10 +128,11 @@ image_service=nova.image.glance.GlanceImageService
|
|||||||
novnc_enable=true
|
novnc_enable=true
|
||||||
novncproxy_port=6080
|
novncproxy_port=6080
|
||||||
novncproxy_host=10.0.0.10
|
novncproxy_host=10.0.0.10
|
||||||
vncserver_listen=0.0.0.0</programlisting>
|
vncserver_listen=0.0.0.0
|
||||||
<programlisting os="opensuse" language="ini">[DEFAULT]
|
|
||||||
|
|
||||||
sql_connection=mysql://nova:password@localhost/nova
|
[database]
|
||||||
|
connection=mysql://nova:password@localhost/nova</programlisting>
|
||||||
|
<programlisting os="opensuse" language="ini">[DEFAULT]
|
||||||
rabbit_password=password
|
rabbit_password=password
|
||||||
auth_strategy=keystone
|
auth_strategy=keystone
|
||||||
|
|
||||||
@ -169,7 +169,9 @@ novnc_enable=true
|
|||||||
novncproxy_port=6080
|
novncproxy_port=6080
|
||||||
novncproxy_host=10.0.0.10
|
novncproxy_host=10.0.0.10
|
||||||
vncserver_listen=0.0.0.0
|
vncserver_listen=0.0.0.0
|
||||||
</programlisting>
|
|
||||||
|
[database]
|
||||||
|
connection=mysql://nova:password@localhost/nova</programlisting>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
|
@ -155,7 +155,7 @@ admin_password = password</programlisting></para>
|
|||||||
<para>Edit
|
<para>Edit
|
||||||
<filename>/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini</filename>,
|
<filename>/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini</filename>,
|
||||||
as follows: <programlisting language="ini">[database]
|
as follows: <programlisting language="ini">[database]
|
||||||
sql_connection = mysql://neutron:password@10.10.10.10/neutron
|
connection = mysql://neutron:password@10.10.10.10/neutron
|
||||||
[ovs]
|
[ovs]
|
||||||
tenant_network_type = gre
|
tenant_network_type = gre
|
||||||
tunnel_id_ranges = 1:1000
|
tunnel_id_ranges = 1:1000
|
||||||
|
@ -33,7 +33,8 @@ postgres> exit</screen></para>
|
|||||||
<para>Configure the <filename>/etc/nova/nova.conf</filename> file,
|
<para>Configure the <filename>/etc/nova/nova.conf</filename> file,
|
||||||
to ensure it knows to use the PostgreSQL database:</para>
|
to ensure it knows to use the PostgreSQL database:</para>
|
||||||
|
|
||||||
<literallayout class="monospaced">sql_connection = postgres://novadbadmin:[<replaceable>[YOUR_NOVADB_PASSWORD]</replaceable>]@127.0.0.1/nova</literallayout>
|
<literallayout class="monospaced">[database]
|
||||||
|
connection = postgres://novadbadmin:[<replaceable>[YOUR_NOVADB_PASSWORD]</replaceable>]@127.0.0.1/nova</literallayout>
|
||||||
<para>The command to populate the database is described later in the
|
<para>The command to populate the database is described later in the
|
||||||
documentation, in the section entitled <link
|
documentation, in the section entitled <link
|
||||||
linkend="compute-db-sync">Configuring the Database for Compute</link>.
|
linkend="compute-db-sync">Configuring the Database for Compute</link>.
|
||||||
|
@ -60,12 +60,13 @@
|
|||||||
<filename>nova.conf</filename> file.</para>
|
<filename>nova.conf</filename> file.</para>
|
||||||
</note>
|
</note>
|
||||||
<para>Ensure the database connection defines your backend data
|
<para>Ensure the database connection defines your backend data
|
||||||
store by adding a <literal>sql_connection</literal> line to
|
store by adding a <literal>connection</literal> line to the
|
||||||
|
<literal>[database]</literal> section in
|
||||||
<filename>nova.conf</filename>:
|
<filename>nova.conf</filename>:
|
||||||
<literal>sql_connection=mysql://<replaceable>[user]</replaceable>:<replaceable>[pass]</replaceable>@<replaceable>[primary
|
<literal>connection=mysql://<replaceable>[user]</replaceable>:<replaceable>[pass]</replaceable>@<replaceable>[primary
|
||||||
IP]</replaceable>/<replaceable>[db
|
IP]</replaceable>/<replaceable>[db
|
||||||
name]</replaceable></literal>, such as
|
name]</replaceable></literal>, such as
|
||||||
<literal>sql_connection=mysql://nova:yourpassword@192.168.206.130/nova</literal>.</para>
|
<literal>connection=mysql://nova:yourpassword@192.168.206.130/nova</literal>.</para>
|
||||||
<para>Add these settings to
|
<para>Add these settings to
|
||||||
<filename>/etc/nova/nova.conf</filename> for the network
|
<filename>/etc/nova/nova.conf</filename> for the network
|
||||||
configuration assumptions made for this installation scenario.
|
configuration assumptions made for this installation scenario.
|
||||||
|
Loading…
Reference in New Issue
Block a user