summaryrefslogtreecommitdiff
path: root/install-files/openstack
Commit message (Collapse)AuthorAgeFilesLines
* openstack: fix the public endpointsTiago Gomes2015-08-197-9/+9
| | | | | | | | | | | | | | | | | The public keystone endpoints ought to be accessible outside of the three-node cluster. However, the CONTROLLER_HOST_ADDRESS parameter corresponds to an hostname that maps to an IP addess in the private management network. Resolve this by creating the public endpoints with the controller hostname, which should be public accessible. In addition, the admin endpoint for keystone needs to be public accessible as well. Also, remove unneeded entries in the hosts files. E.g threenode-controller could resolve to a private or public IP address, depending on the configuration on nsswitch.conf. Change-Id: Ibb305d0541ee4094fcc0aa1f8233a5d98fed58e5
* openstack: avoid binding glance-api with internal IPTiago Gomes2015-08-191-1/+1
| | | | | | | | Avoid binding the glance-api service with the management IP address, as doing so would prevent to access the service outside of the three-node system. Change-Id: I18c1a1c7a2cc55f90e8708f58d71c61c09b4690d
* openstack: use baremetal filtersTiago Gomes2015-08-191-1/+1
| | | | | | | | | Use baremetal filters when we are scheduling baremetal, as suggested on the Ironic install guide [1]. [1]: http://docs.openstack.org/developer/ironic/deploy/install-guide.html Change-Id: Ic6a82812748a98397b705e2428b06f77841d7437
* OpenStack: add configuration for scenario testsTiago Gomes2015-06-222-8/+17
| | | | Change-Id: Ifaaced5256ce7aeca786118a2075c991b3fa103f
* Tempest: Create custom flavor for running tempest test in VMFrancisco Redondo Marchena2015-06-181-0/+13
| | | | | | | | | | tempest requires to have an alternative flavor and the m1.small flavor by default is very big in terms of RAM and disk for a test VM. Adding the possibility to set a smaller custom flavor gives the possibility to run tempests test for onenode in a VM without having memory or disk allocation problems with libvirt. Change-Id: I14bfb5b8c1cca820e00877649f664fb921f2ec1f
* Cinder: Set explicitly the iSCSI listening portFrancisco Redondo Marchena2015-06-181-1/+1
| | | | Change-Id: I08ca6fa9a8b40d5f166f36930d91052e8299c83b
* Cinder: Wipe only the first 50 MiB of the Volumes when deletingFrancisco Redondo Marchena2015-06-181-2/+2
| | | | | | | | | | | This will wipe the partition table of the Volume making the process of deleting a volume faster. Note that before when deleting a volume it was filled by zeros wiping all the contents on it no matter the size of the volume. This process is very long and can cause performance issues to the the users if some volumes are deleting a the same time. Change-Id: I701810758683b715c98e10ac6a923c48afc519c4
* Tempest: Add extra configuration for neutron and novaFrancisco Redondo Marchena2015-06-181-4/+4
| | | | | | | | | | | | Nova: - Disable explicitly test migrations blocks in live migrations - Set apiv1 to true Neutron: - Add dns_server - Only test router extension Change-Id: I3b7b5e04996cd232fcff168ae669e6e54612a647
* OpenStack: configure dnsmasq to provide a MTUTiago Gomes2015-06-173-1/+5
| | | | | | | | | | | This is recommended in the OpenStack install guide if GRE tunnels are being used for inter VM traffic [1]. Without lowering the MTU from the typical 1500 bytes, I was unable to SSH into the VMs launched by Nova at least on my testing environment. [1]: http://docs.openstack.org/kilo/install-guide/install/apt/content/neutron-network-node.html Change-Id: I4e05144a4e9709e800e38a9008ff2295bfc5e2f6
* OpenStack: Add script to configure images for tempestFrancisco Redondo Marchena2015-06-112-0/+101
| | | | | | | | | This script creates a image for the admin user in the admin tenant and configure some tempest.conf variables in order to run tempest test for compute and other apis and services. Change-Id: I6a9adb990607a3d92a783590a95ee447157de8f4
* OpenStack: Add custom configuration for the componentsPedro Alvarez2015-06-1119-407/+439
| | | | | | | | | | | | | | | | | | | | | | | | | | Add custom configuration for Keystone, Nova, Neutron, Cinder, Glance, Ironic, Swift, Ceilometer, Horizon and Tempest for Openstack Kilo release. Notes: - Horizon configuration has change in order to be less error prone and to be close to the default configuration, the following changes has been made to achive this purpose: - Install the openstack_dashboard django project in /var/lib/horizon avoiding: - to write in /usr/lib/python2.7/site-packages/static - to maintain a copy of local_settings.py - to create a symlink as workaround to make django.wsgi to work with the previous configuration. - Change the path of django.wsgi file - Remove the 'horizon/' suffix to access Horizon via URL. - Grant permissions to access to /var/lib/horizon/static Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Signed-off-by: Patrick Darley <patrick.darley@codethink.co.uk> Signed-off-by: Tiago Gomes <tiago.gomes@codethink.co.uk> Change-Id: I1fda4f85eb334b1b5bfec54dfcd9780a6112ea3b
* OpenStack: Install default configuration filesPedro Alvarez2015-06-1169-8519/+6104
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add the default configuration files for Keystone, Nova, Neutron, Glance, Cinder, Swift, Ceilometer, Ironic and Tempest. Also install configuration files which will are not going to be modified in the following commit, in the post-install-commands for the chunk; as opposite to having them laying around in the repo and installing them with the install-files configuration extension. Note: - Some configuration files have been created using commands given in their documentations or they .conf.sample files. - To generate cinder.conf use the following command on the top of the cinder repository: ./tools/config/generate_sample.sh -b . -p cinder -o etc/cinder - Nova.conf has been taken from: http://pkgs.fedoraproject.org/cgit/openstack-nova.git/tree/nova.conf.sample commit 69755b4a072edff0957ee256290395600edbab9e - tempest.conf has been taken from the tag version '4'. Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Signed-off-by: Patrick Darley <patrick.darley@codethink.co.uk> Signed-off-by: Tiago Gomes <tiago.gomes@codethink.co.uk> Change-Id: Id26886aaaa9edd8509412615a65e681d5c8117ed
* Cinder: Don't start cinder-volume if cinder-lv-setup has failedPedro Alvarez2015-06-111-0/+1
| | | | Change-Id: I4e73c52254d4bd3dd54c383254a1f5430f5db88f
* OpenStack: Stop using Ansible modules for db sync-ingPedro Alvarez2015-06-114-9/+5
| | | | | | | | Every component has its own idempotent script to intitiate the databases, and they are maintained, whereas the Ansible modules have started failing with Kilo. Change-Id: I02aa4457b73177f706fdc5c4b29bca3e5883153e
* Increase the number of max connections for postgresqlFrancisco Redondo Marchena2015-06-111-1/+1
| | | | | | | | Openstack itself was generating more than 100 connections. This was blocking the services to access to the database, so failing to attempt to do any action/command. Change-Id: Ifdbb39c1875cd705fecf09294bb252cf97531f67
* Move all the directories used for install-files into a subdirectorybaserock/adamcoldrick/all-exts-in-definitions-v2Adam Coldrick2015-06-02154-0/+20356
Change-Id: I309c183ce8b9ff9d0f5ac4807244547f2cc4ddf5