summaryrefslogtreecommitdiff
path: root/install-files
Commit message (Collapse)AuthorAgeFilesLines
* Added new GNOME specific PAM configuration to install-filesTristan Van Berkom2015-11-247-5/+93
| | | | | | | | | | | | | | | | | | The new PAM configuration ensures both that: o Setting a user's password updates the keyring o Starting a user session automatically unlocks the keyring with the users login o Fixes bug in systemd installed system-auth file which tries to pass try_authtok to pam_unix.so, which is not a valid option for that module Overall the PAM configuration is custom and modeled after the fedora configuration but without the selinux bits. Change-Id: I348e2e520e186fc7592d2aa167abae73152bf8c1
* Adding polkit rules for geoclue in GNOME systemTristan Van Berkom2015-11-172-0/+8
| | | | | | | | | | It is necessary to install a polkit rules file for geoclue in order to authorize geoclue's communication with ModemManager. More details on this available in this bugreport: https://bugs.freedesktop.org/show_bug.cgi?id=92915 Change-Id: I2c30aa32a2496f2896d0d284a248b7bb7b2a942a
* Adding custom gdm-launch-environment PAM configurationTristan Van Berkom2015-10-272-0/+14
| | | | | | | The default setup does not work with gnome-initial-setup tool, which requires a separate username from gdm. Change-Id: I349797f6752e0cde3f80acacdd67721d75e424c9
* core: Use python3 instead python2Javier Jardón2015-10-161-6/+6
| | | | | | | | | | | | | | | From [1]: "Python 2.x is legacy, Python 3.x is the present and future of the language" As a reference, python3 is already the default python version in Arch, and other distros like Ubuntu/Debian [2] or Fedora [3] are planning to switch soon [1] https://wiki.python.org/moin/Python2orPython3 [2] https://wiki.ubuntu.com/Python/3 [3] https://fedoraproject.org/wiki/Changes/Python_3_as_Default Change-Id: I6d4d11844d4424bfa49b37fe7d9a3639547c0139
* Adding install-files for gnome-system-x86_64 system & clusterTristan Van Berkom2015-10-123-0/+145
| | | | | | | | | | | For starters, add the /etc/securetty configuration, avoids some warnings from the journal. Also, setup sshd configuration to use PAM. This is recommended for a systemd running system, and required for the system to create a session any login comming in through ssh. Change-Id: I3edc016b1bec73fb93f834829329416a40c81a05
* 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
* essential-files: create symlink /etc/os-release -> /usr/lib/os-releasebaserock/pedroalvarez/improve-mason-reportJavier Jardón2015-06-233-6/+8
| | | | | | | | | | | | | | | systemd is moving towards having /usr to be vendor operating system only, whilst /etc will be used for configuration only (the contents of this directory could be erased to do a factory reset) [1]. /usr/lib is the recommended place to place this file [2] [1] http://0pointer.net/blog/projects/stateless.html [2] http://www.freedesktop.org/software/systemd/man/os-release.html This has been reported by Tiago Gomes Change-Id: I58dd711fac162751a71e8a7d9c65ce9583a23cc7
* essential-files: Install brpaste by defaultPedro Alvarez2015-06-222-0/+31
| | | | | | This script helps developers to share logs via paste.baserock.org Change-Id: I22b255c90e0b42a4b65dea41ec196ae92577a7f8
* 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-1122-409/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-02196-0/+21641
Change-Id: I309c183ce8b9ff9d0f5ac4807244547f2cc4ddf5