OpenStack has a preview [[OpenStack#Preview repository|repository]], allowing Fedora N-1 users to try out OpenStack packages from the latest Fedora release.

=== '''Configuration''' ===

=== '''Configuration''' ===

Line 23:

Line 25:

The above script makes use of a number of default settings. Make use of the ''--help'' option to see what can be configured. This will ensure that Quantum database is installed, started and configured. In addition to this the user will be requested to supply the relevant plugin. The plugins are discussed below.

The above script makes use of a number of default settings. Make use of the ''--help'' option to see what can be configured. This will ensure that Quantum database is installed, started and configured. In addition to this the user will be requested to supply the relevant plugin. The plugins are discussed below.

+

+

Once the database has been created an configured the quantum service should be enabled and started.

+

+

#> sudo systemctl enable quantum-server.service

+

#> sudo systemctl start quantum-server.service

+

+

'''Note''' the Quantum server should always start after the mysqld. This can be addressed by the following command:

An OVS “integration” bridge must be created. The VMs will connect to this bridge.

+

+

#> sudo ovs-vsctl add-br br-int

+

+

If you wish to connect this to an physical NIC, for example eth0), then do:

+

+

#> sudo ovs-vsctl add-port br-int eth0

+

+

'''Note''' that br-int is defined in the ovs-quantum_plugin.ini file.

+

+

* RYU

#> sudo yum install openstack-quantum-ryu

#> sudo yum install openstack-quantum-ryu

−

The plugin needs to be installed on all of the nodes.

+

The agents need to be installed on all of the compute nodes.

=== '''Configuration''' ===

=== '''Configuration''' ===

−

The Quatum plugin must be configured so that it can interface with the Quantum server. This can be achieved by running the following:

+

The Quantum plugin must be configured so that it can interface with the Quantum server. This can be achieved by running the following:

#> sudo quantum-node-setup

#> sudo quantum-node-setup

−

This will ensure that Quantum plugin is installed, started and configured.

+

The above script makes use of a number of default settings. Make use of the ''--help'' option to see what can be configured. The Quantum database hostname is very important. Please make sure that this is defined in the hosts file.

+

+

+

Both the linuxbridge and openvswitch plugins use qemu's "ethernet" network device, so to work around the problem described in https://bugzilla.redhat.com/show_bug.cgi?id=770020, do the following if using one of these plugins:

+

+

$> sudo systemctl stop libvirtd.service

+

$> cat >> /etc/libvirt/qemu.conf <<EOF

+

cgroup_device_acl = [

+

"/dev/null", "/dev/full", "/dev/zero",

+

"/dev/random", "/dev/urandom",

+

"/dev/ptmx", "/dev/kvm", "/dev/kqemu",

+

"/dev/rtc", "/dev/hpet", "/dev/net/tun",

+

]

+

EOF

+

$> sudo systemctl start libvirtd.service

+

+

+

Please note that you need to enable and start the relevant plugin agents. These are listed below:

+

+

* Linux Bridge

+

+

#> sudo systemctl enable quantum-linuxbridge-agent.service

+

#> sudo systemctl start quantum-linuxbridge-agent.service

+

+

* Open vSwitch

+

+

#> sudo systemctl enable quantum-openvswitch-agent.service

+

#> sudo systemctl start quantum-openvswitch-agent.service

+

+

In addition to this make sure that the openvswitch service is enabled and running.

+

+

#> sudo systemctl enable openvswitch.service

+

#> sudo systemctl start openvswitch.service

+

+

* RYU

+

+

#> sudo systemctl enable quantum-ryu-agent.service

+

#> sudo systemctl start quantum-ryu-agent.service

=== '''OpenStack''' ===

=== '''OpenStack''' ===

Please note that the script ''quantum-node-setup'' will update the nova configuration file.

Please note that the script ''quantum-node-setup'' will update the nova configuration file.

Quantum Server

Installation

OpenStack has a preview repository, allowing Fedora N-1 users to try out OpenStack packages from the latest Fedora release.

Configuration

The Quantum service requires the installation and configuration of a database. This can be achieved by running the following:

#> sudo quantum-server-setup

The above script makes use of a number of default settings. Make use of the --help option to see what can be configured. This will ensure that Quantum database is installed, started and configured. In addition to this the user will be requested to supply the relevant plugin. The plugins are discussed below.

Once the database has been created an configured the quantum service should be enabled and started.

An OVS “integration” bridge must be created. The VMs will connect to this bridge.

#> sudo ovs-vsctl add-br br-int

If you wish to connect this to an physical NIC, for example eth0), then do:

#> sudo ovs-vsctl add-port br-int eth0

Note that br-int is defined in the ovs-quantum_plugin.ini file.

RYU

#> sudo yum install openstack-quantum-ryu

The agents need to be installed on all of the compute nodes.

Configuration

The Quantum plugin must be configured so that it can interface with the Quantum server. This can be achieved by running the following:

#> sudo quantum-node-setup

The above script makes use of a number of default settings. Make use of the --help option to see what can be configured. The Quantum database hostname is very important. Please make sure that this is defined in the hosts file.