summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* iputils: Install all the iputils utilitiesbaserock/update-openstack-to-kiloPedro Alvarez2015-06-113-7/+28
| | | | | | | | | | | | | | | | | | | | | Utilities added are: - clockdiff - rdisc - tracepath - tracepath6 - ninfod - rarpd. Also it overwrites the following busybox network utilities: - traceroute6 - arping - tftpd - ping - ping6 Signed-off-by: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> Change-Id: Ie925709677c2a83d7e512911fc4cfa7de749e967
* 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-1124-440/+560
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-1176-8536/+6181
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* openstack-nova.configure: Don't do anyting with libvirt default network.Pedro Alvarez2015-06-111-8/+0
| | | | | | | This network is not going to autostart anymore, there is no need to do this anymore. Change-Id: Ic166a04a705255aac32a5dabc416b87a42e5f971
* 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
* Use a version of Babel with Unicode CLDR includedPedro Alvarez2015-06-112-2/+14
| | | | | | | | | | | | | Babel was failing with the following error: RuntimeError: The babel data files are not available. This usually happens because you are using a source checkout from Babel and you did not build the data files. Just make sure to run "python setup.py import_cldr" before installing the library. This commit fixes the problem. Change-Id: I9b3fbe8ea2c9ead276271dfab831da8c3e2ae465
* OpenStack: Add python-requests-aws required by CeilometerFrancisco Redondo Marchena2015-06-111-0/+5
| | | | | | | | AWS authentication for Amazon S3 for python request library. This is required by Ceilometer because of the following bug: https://bugs.launchpad.net/ceilometer/+bug/1424746 Change-Id: I2652a6491c4e0852a95e83ed81d01ae309585645
* OpenStack: Upgrade components to KiloPedro Alvarez2015-06-117-129/+290
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New components needed: - ordereddict 1.1 - oslo-concurrency 1.8.0 - oslo-context 0.2.0 - posix-ipc - oslo-log 1.0.0 - oslo-middleware 1.2.0 - aioeventlet 0.4 - trollius 1.0.4 - urllib3 1.10.4 - semantic-version 2.4.1 - pysaml2 2.4.0 - redis-py 2.10.3 - kafka-python 0.9.3 - werkzeug 0.10.4 - gf-complete 2 - jerasure 2 - liberasurecode 1.0.7 - pyeclib 1.0.7 - pint 0.6 as a horizon dependency - xstatic-angular-lrdragndrop 1.0.2.3 - xstatic-magic-search 0.2.0.1 - xstatic-termjs 0.0.4.2 - tempest-lib 0.5.0 The following upgrades were needed: - eventlet to v0.17.3 - sqlalchemy-migrate to 0.9.6 - httplib2 to v0.9.1 - kombu to v3.0.26 - oslo-config to 1.9.3 - oslo-utils to 1.4.0 - taskflow to 0.7.1 - keystonemiddleware to 1.5.1 - pycadf to 0.9.0 - oslo-vmware to 0.11.0 - suds to 0.4 - oslo-serialization to 1.4.0 - python-keystoneclient to 1.3.1 - oslo-i18n to 1.5.0 - oslo-db to 1.7.1 - alembic to 0.7.6 - testscenarios to 0.4 - oslo-messaging to 1.8.2 - oslo-policy 0.3.2 - glance_store to 0.4.0 - python-neutronclient to 2.4.0 - cmd2 to 0.6.7 - cliff to 1.10.1 - python-glanceclient to 0.17.1 - websockify to 0.6.1 - oslo-rootwrap to 1.6.0 - python-novaclient to 2.23.0 - python-barbicanclient to 3.0.3 - python-ceilometerclient to 1.0.14 - tooz to 0.13.2 - pymemcache to v1.2.9 - zake to 0.2.1 - django-openstack-auth to 1.2.0 - python-heatclient to 0.4.0 - python-saharaclient to 0.8.0 - xstatic-bootstrap-datepicker to 1.3.1 - xstatic-bootstrap-scss to 3.1.1.1 - xstatic-d3 to 3.1.6.2 - xstatic-hogan to 2.0.0.2 - testscenarios to 0.4 Other changes: - Use a stable version of prettytables 0.7.2 so that we know the version number of if. - Move netifaces to openstack-common, because it's needed for the new version of oslo-utils. - Remove duplicated oauthlib keeping the most recent - Rename pysinglefile to pysendfile - Add ironic runtime dependencies as build dependencies to track some information about them, and to be consistent with other OpenStack components. Change-Id: Ib8b5ac3ede6d37978a6665802cb24ae7a73d9b58
* 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
* Update GNU Make to patched version to fix segfaultSam Thursfield2015-06-101-4/+4
| | | | | | | | | | I found that running 'make' inside a linux-user-chroot environment from the commandline caused it to segfault. Running the same 'make' outside of linux-user-chroot worked fine. I have cherry-picked the following patch on top of the make-4.1 tarball, as it fixes the segfault for me: http://git.savannah.gnu.org/cgit/make.git/commit/?id=292da6f6867b75a5af7ddbb639a1feae022f438f Change-Id: Ib2fa6b9de507e4ed5807e4e8a45ff05f830db99e
* README: explain what it means for a system definition to be on systems/Javier Jardón2015-06-101-0/+6
| | | | | Thanks to Marc Dunford for the bug report Change-Id: Ie9d1545f766bca93979a576085896cf9af1006bf
* Move erlang-sd_notify to openstack-service stratumFrancisco Redondo Marchena2015-06-103-9/+6
| | | | | | | | | | | erlang-sd_notify is required only, at the moment, by rabbitmq server to be able to send notifications to systemd, so makes sense for it to belongs only to openstack-service stratum making the erlang stratum minimal. This movement makes erlang stratum not depends on systemd (because erlang-sd_notify needs systemd headers to compile), defo it can depends only in core stratum. Change-Id: Ie6fbb58502336d21fa882bae09860a56d4c14a60
* mini-utils: This chunk doesnt use autotools build systemJavier Jardón2015-06-101-2/+3
| | | | | | But a simple Makefile Change-Id: I83c0f5ce88512988011fb839655d9cc2cee9fce3
* Use binutils-tarball instead a tarball committed in binutils-redhatJavier Jardón2015-06-102-12/+12
| | | | Change-Id: I6f1d75272b2ee83d45e680002135f470ab16437b
* stage2-binutils: No need to disable c++ anymoreJavier Jardón2015-06-101-1/+1
| | | | | | | | | | | | We are generating a c++ compiler in stage 1, so no need to use the workaround introduced in commit e72775acb5326e948d2542622afb9bed4fd67c15 to be able to compile binutils without a c++ compiler This allows using upstream release tarballs of binutils, where before we had to patch out the AC_PROG_CXX statement from configure.in. Change-Id: I1ce9d2946f3a23a4355e8ec527a5ebfbce987d99
* fuse.morph: simplify morphologyJavier Jardón2015-06-091-2/+1
| | | | Change-Id: Ia283e3d4aa5b09f388d16d271fd308f129d523fa
* Make sed and diff not depend on gitJavier Jardón2015-06-072-4/+6
| | | | Change-Id: If8cd1c3632488ac28bb3f65af004d4f6d12a1999
* Use latest zlib (1.2.8)Javier Jardón2015-06-072-12/+2
| | | | | | Also remove morph file as doesnt seem to be needed Change-Id: I2be278552baee752db39d1af7f95e7e98de75cf9
* Fix some strata to depend on core instead foundationJavier Jardón2015-06-074-3/+4
| | | | Change-Id: If4d143dc41eebd901cc5670850ecec6ddb84c6cb
* parted.morph: Make parted not depend on rsyncJavier Jardón2015-06-071-0/+1
| | | | | | Similar to what we do with coreutils components Change-Id: Ice0ad31adb4afdeca74c6eab886d3506e70e994e
* Use unbundled version of gudev instead of the version bundled with systemdJavier Jardón2015-06-052-0/+6
| | | | | | | | gudev now lives in a different repository and will be removed soon from the systemd tree This also means systemd no longer depends on GLib. Change-Id: I316945cb17f3d41b7f4e4693fa645b0acdf03fac
* Update initramfs-test cluster to demonstrate how to use a shutdownramfsRichard Maw2015-06-041-0/+5
| | | | Change-Id: I3f5dcbc3484ad188366b5d9c151dbbf994efaf93
* initramfs: Update to include shutdownramfs supportRichard Maw2015-06-042-3/+2
| | | | Change-Id: I4f618fe3ba1c7ffe8be2226564f7c95d150d22fd
* tbdiff: Update to fix failure to deploy when files in /etc contain \Richard Maw2015-06-041-1/+1
| | | | Change-Id: I0fe801dda64a9a20a27e3d67aa36cb12560a1f3a
* gobject-introspection: depend on bashJavier Jardón2015-06-041-0/+1
| | | | | ... to avoid build failure when building gobject-introspection Change-Id: I9efdbe7063595fe147e00b4e5335ba6a32afa582
* libvirt.morph: Don't autostart the default networkPedro Alvarez2015-06-031-0/+3
| | | | | | | | | | | | | Remove the symlink that enables the default network to autostart. It's helpful to have a default network, but starting it automatically may create some confusion to the network if you didn't want it running, and didn't know it was there. I found that this network was running after configuring a OpenStack sub-network using the same range of IP addresses and suffering connectivity issues. Change-Id: I0d0c399236ba06547e20c6433f115633a97b01b9
* Fix install-essential-filesAdam Coldrick2015-06-031-2/+1
| | | | Change-Id: I6ace782d08aaa476e9da07d295724734e41b9837
* strata/foundation.morph: Upgrade to systemd v220Javier Jardón2015-06-031-2/+2
| | | | Change-Id: If22da124a46444fbcde69b12ff50ca3d44300173
* Fix bison dependencies so that it builds without git and bashRichard Dale2015-06-022-3/+5
| | | | Change-Id: Idd1a0c155f2872c2b4aba64fa388e505e04fe7ab
* Merge branch 'baserock/adamcoldrick/all-exts-in-definitions-v2'Adam Coldrick2015-06-02376-512/+3814
|\ | | | | | | Reviewed-by: Richard Maw <richard.maw@codethink.co.uk>
| * Move all the directories used for install-files into a subdirectorybaserock/adamcoldrick/all-exts-in-definitions-v2Adam Coldrick2015-06-02210-15/+15
| | | | | | | | Change-Id: I309c183ce8b9ff9d0f5ac4807244547f2cc4ddf5
| * Move chef-system-x86_64-container.morph into systems subdirectoryAdam Coldrick2015-06-021-0/+0
| | | | | | | | Change-Id: I9a523f5bbe744225b1f5fe30f29d197596337290
| * Move extensions into a subdirectoryAdam Coldrick2015-06-02180-498/+498
| | | | | | | | Change-Id: I12e7c03b30da78da1eb220d2826ce0003d6efe2e
| * Put the deployment extensions from morphlib in definitionsAdam Coldrick2015-06-0240-0/+3302
| |\ |/ / | | | | | | This merge commit merges the deployment extensions and all relevant history from morphlib into definitions.
| * Use keystoneclient python api in openstack.checkRichard Ipsum2015-05-291-29/+28
| | | | | | | | | | | | | | Switching to the keystoneclient python api gives us a more reliable means of detecting auth failure. Change-Id: I5f734bbfe5568c855f524a3448357f7cf46ab254
| * Fix mistake in sysroot.writeSam Thursfield2015-05-081-1/+1
| | | | | | | | | | | | The * should not be in quotes. Change-Id: Ieebdc7532ba1bff5ba9742f72440ed00b0c0de2a
| * Fix sysroot.write trying to overwrite existing filesSam Thursfield2015-05-072-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 807e6a90876c5469d242 changed the behaviour of sysroot.write to avoid deleting the contents of the sysroot. This was done so if you accidentally set 'sysroot=/' it wouldn't delete your whole system. It turns out that SDK deployments like clusters/sdk-example-cluster.morph depended on the contents of the directory being deleted. The system armv7lhf-cross-toolchain-system-x86_64.morph has a bunch of files installed by the cross-toolchain in /usr/armv7lhf-baserock-linux-gnueabi/sys-root. Previously sysroot.write would delete these, but since commit 807e6a90876c5469d242 it would fail with several errors like: mv: can't rename '/src/tmp/deployments/usr/armv7l.../sys-root/sbin' If we use 'cp -a' instead of 'mv' then it is slower to deploy, but there are no errors. I am still unsure why files from the cross-toolchain system are installed and then deleted. Although this patch fixes the immediate issue, I don't know if it's the right thing to do. It seems better to not install those files in the first place, if we do not need them. This commit also removes the check for the sysroot target location being empty. This doesn't work, because it runs /before/ the system being deployed is unpacked. Change-Id: I10671c2f3b2060cfb36f880675b83351c6cdd807
| * install-files.configure: make possible to overwrite symlinksJavier Jardón2015-04-301-1/+10
| | | | | | | | | | | | os.symlink will fail if the origin file/link already exist Change-Id: I8175c8dce699e55c3e39e35dfd45c0c19b8bd96d
| * Add ssh keys conf extRichard Ipsum2015-04-301-0/+25
| | | | | | | | Change-Id: I4e7888cbff2e4708154538f8f0a48aeaa1a8a811
| * Fix lines bigger than 79 characters in install-essential-files.configure.helpFrancisco Redondo Marchena2015-04-281-2/+2
| | | | | | | | | | | | This fixes morph check. Change-Id: I5f9c8f5e73c1976b623f9a75f97b5e9aa1887c44
| * Add install-essential-files configuration extensionJavier Jardón2015-04-282-0/+62
| | | | | | | | | | | | | | This is meant to add essential system files like /etc/profile, /etc/os-release ... Change-Id: I3d67b3a452b32205c5d3c7303d128bda80ce75de
| * Rename help file to work with 'help-extensions' subcommandPedro Alvarez2015-04-241-0/+0
| | | | | | | | Change-Id: Ibf7cf1f81998678f9354d77f52e54344294e89f7
| * Add distbuild-trove-nfsboot.writeSam Thursfield2015-04-213-0/+482
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nfsboot.write deployment extension has been deprecated for a while because it's not generally useful. It's only used for deploying distbuild nodes to a Trove, as far as I know. We still need to support setting up a bunch of machines that boot over NFS from a Trove. But we can do this in a special-purpose .write extension. The new distbuild-trove-nfsboot.write is much more efficient than the more generic nfsboot.write: instead of treating each system individually (thus copying an almost identical ~2GB rootfs to the Trove once per node) it copies the system image to the Trove once, and /then/ sets up a rootfs per node. Upgrades are now supported, although the code assumes distbuild nodes are stateless (as they should be) so nothing special is done for upgrades, other than checking that there is already a version of the given system in existance. The new extension does not create an orig/ and run/ version of each system, because there is no need when the deployed system is stateless. There could be further gains in efficiency, but I don't have time to do them right now. This write extension is full of compromises, its goal is to better support the existing users who have a Trove and a distbuild network deployed via NFS. It is specifically not intended to be useful for other purposes. Change-Id: I9a50c58b714ed272212d1d6c55b289aaa96051b1
| * Add dns option to simple-network conf extRichard Ipsum2015-04-151-1/+8
| | | | | | | | Change-Id: I0f4490d76caca802536b21085ea0d770fb8c0798
| * Add template option to install-files conf extRichard Ipsum2015-04-111-10/+32
| | | | | | | | | | | | | | | | | | This adds an optional 'template' option to the install-files manifest format. A file declared as a template will be rendered using jinja2 with variables substituted in from the environment. Change-Id: I2ed6fe58f5fff315b42b7e4ec478ada851e0a70d
| * Make kvm deploy check that host has virt-installRichard Ipsum2015-04-071-0/+9
| | | | | | | | | | | | | | This allows us to catch a case where virt-install hasn't been installed on the host we're deploying to much earlier in the deployment process. Change-Id: I413ad804a7e8bef4fc2d1231411e01d30d0cb9e8
| * Fix: strip 'network=' from NIC_CONFIGRichard Ipsum2015-04-011-3/+11
| | | | | | | | | | | | Also ensure NIC_CONFIG begins with 'network=', 'bridge=' or is 'user' Change-Id: I3bcbd25eb2c9a05b7fa276697f97a1080cb0316e
| * simple-network: only try to rename "10-dhcp.network" if it actually existJavier Jardon2015-03-241-6/+8
| | | | | | | | Change-Id: I1521c0bdec4d7a6812f8988a2349e66b08161de8