summaryrefslogtreecommitdiff
path: root/openstack
Commit message (Collapse)AuthorAgeFilesLines
* Move patch link creation into openvswitchRichard Maw2015-03-236-71/+19
| | | | | | | | | | This is required for Open vSwitch to be able to signal that every network interface required has been configured. It also means we no longer need to set the links to promiscuous mode ourselves, since interfaces need to be set in promiscuous mode to allow bridging to work and Open vSwitch handles this responsibility if it is configured to be the one to do the link setup.
* Only start neutron-openvswitch-plugin after cleanup has finishedRichard Maw2015-03-231-2/+4
| | | | | | | | | ovs-cleanup is responsible for reconciling the state in openvswitch's database and neutron's configuration. This can fail if other services are also changing ovs configuration though, and the missing dependency resulted in neutron removing the interface while ovs-cleanup was about to do so.
* Rejigger networking so the bridge has the MAC of the external interfaceRichard Maw2015-03-231-9/+20
| | | | | | | | | | This allows the subsequent DHCP request to get the same IP address back, which means it only needs one address for first boot, and the address can be pre-allocated by the DHCP server before deployment. This is needed for the floating address range to be allocated in some set-ups, such as our local one at the office, where a subnet in a different class is routed to the server.
* Ensure newly brought up devices are correctly configuredRichard Maw2015-03-231-16/+21
| | | | | | | | | This adds masking config for the virtual devices to prevent them from attempting to DHCP, and stops us from giving the ip of eno1 to the bridge device, since eno1's address was obtained by DHCP, so it's against the rules to statically allocate that address to an interface. Now, we DHCP for a new address for the bridge.
* Deallocate IP address from bound interface after bindingRichard Maw2015-03-231-0/+3
| | | | | | If we leave that interface with its address, then the routing table is incorrect, as it will try to send connections out from an interface that cannot handle them.
* After initial switching setup, switch DHCP to external ifaceRichard Maw2015-03-231-0/+15
| | | | | | | | | | After the external interface has been bound to Open vSwitch, we should not attempt to DHCP on it, as it won't receive the DHCP responses. Attempting to DHCP results in startup stalling on network-online.target, because systemd-networkd-wait-online.service looks at every network interface it should configure based on the [Match] sections, and waits for all of them to be configured by systemd-networkd, which will never finish if DHCP is broken.
* Start Open vSwitch before network-pre.targetRichard Maw2015-03-231-0/+2
| | | | | | | We want the network links to be configured before we start systemd-networkd, because we have to use ovs instead of networkd's config for the interfaces in OpenStack, but we still want to use networkd to manage DHCP on the interfaces.
* Fix region typoFrancisco Redondo Marchena2015-03-231-1/+1
|
* Set novncproxy server ip in nova.confFrancisco Redondo Marchena2015-03-233-8/+12
| | | | | | | | | | | | The ip of the compute node is gotten from the bridge device and this value is set in the novncproxy configuration in nova.conf. This is required for horizon to access to the compute node so have access to the VMs created on it. Also: - remove /usr/share/vnc which is now created in the vnc chunk. - add explicity where to find novnc client to nova-novncproxy systemd unit.
* Collect statics for horizon and move install commands to the chunkFrancisco Redondo Marchena2015-03-233-29/+5
| | | | | | Collecting the static files (css, js, png, ...) for horizon, compressing them and storing them in a folder accessible by horizon, fixes the problem when some css are not found and improves loading and navigating the pages.
* Fix Redirect in HorizonZara Zaimeche2015-03-231-1/+3
|
* Fix apache-httpd and horizon setup because of the change of layoutFrancisco Redondo Marchena2015-03-232-4/+4
|
* Fix issues with ordering and enabling neutron-setup and neutron-serverFrancisco Redondo Marchena2015-03-232-1/+2
|
* Fix .blackhole location for HorizonFrancisco Redondo Marchena2015-03-231-1/+1
|
* Install rootwrap filters on post-install timeFrancisco Redondo Marchena2015-03-231-24/+0
| | | | | | Installing rootwrap filters from their repositories will make easy to deal with updates. Also move neutron rootwrap filters to the right location without duplication.
* WIP: Add OpenStack initial configurationRichard Maw2015-03-23145-0/+16717
TODO: Split this out into: 1. initial config (openstack/etc) default values 2+. as many individual changes to initial config as possible to extract, including support scripts and configuration extensions