From 0973c1cdccd16484e8212708cceb42db6f6be1b4 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 17 Oct 2015 16:04:10 -0400 Subject: [PATCH] Retire stackforge/packstack-vagrant --- .gitignore | 8 - .gitreview | 4 - LICENSE | 202 ------ README.rst | 15 +- Vagrantfile | 112 ---- ansible/controller.yaml | 26 - ansible/initialize.yaml | 17 - ansible/network.yaml | 11 - ansible/storage.yaml | 22 - config.yaml.sample | 51 -- contrib/config.ssh | 31 - doc/source/conf.py | 36 -- doc/source/configuration.rst | 192 ------ doc/source/contributing.rst | 12 - doc/source/index.rst | 22 - doc/source/initialization.rst | 19 - doc/source/requirements.rst | 34 - doc/source/usage.rst | 50 -- files/exports | 1 - files/gitconfig | 5 - files/hosts.j2 | 11 - files/id_rsa | 27 - files/id_rsa.pub | 1 - files/ifcfg-br-ex.j2 | 10 - files/ifcfg-enp0s9 | 6 - files/motd | 6 - files/openrc.j2 | 5 - files/packstack.answers.j2 | 1099 --------------------------------- files/scripts/nova_fake.sh | 6 - files/scripts/rally.sh | 26 - files/scripts/setup.sh.j2 | 30 - files/selinux | 11 - playbook.yaml | 11 - scripts/check_yaml_syntax.py | 21 - scripts/initialize.sh | 20 - setup.cfg | 21 - setup.py | 20 - test-requirements.txt | 9 - tests/hosts.test | 2 - tox.ini | 31 - 40 files changed, 5 insertions(+), 2238 deletions(-) delete mode 100644 .gitignore delete mode 100644 .gitreview delete mode 100644 LICENSE delete mode 100644 Vagrantfile delete mode 100644 ansible/controller.yaml delete mode 100644 ansible/initialize.yaml delete mode 100644 ansible/network.yaml delete mode 100644 ansible/storage.yaml delete mode 100644 config.yaml.sample delete mode 100644 contrib/config.ssh delete mode 100755 doc/source/conf.py delete mode 100644 doc/source/configuration.rst delete mode 100644 doc/source/contributing.rst delete mode 100644 doc/source/index.rst delete mode 100644 doc/source/initialization.rst delete mode 100644 doc/source/requirements.rst delete mode 100644 doc/source/usage.rst delete mode 100644 files/exports delete mode 100644 files/gitconfig delete mode 100644 files/hosts.j2 delete mode 100644 files/id_rsa delete mode 100644 files/id_rsa.pub delete mode 100644 files/ifcfg-br-ex.j2 delete mode 100644 files/ifcfg-enp0s9 delete mode 100644 files/motd delete mode 100644 files/openrc.j2 delete mode 100644 files/packstack.answers.j2 delete mode 100644 files/scripts/nova_fake.sh delete mode 100644 files/scripts/rally.sh delete mode 100644 files/scripts/setup.sh.j2 delete mode 100644 files/selinux delete mode 100644 playbook.yaml delete mode 100644 scripts/check_yaml_syntax.py delete mode 100644 scripts/initialize.sh delete mode 100644 setup.cfg delete mode 100755 setup.py delete mode 100644 test-requirements.txt delete mode 100644 tests/hosts.test delete mode 100644 tox.ini diff --git a/.gitignore b/.gitignore deleted file mode 100644 index cf63060..0000000 --- a/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -*.box -config.yaml -*.log -.vagrant -*.vdi -.tox -doc/build -*egg* diff --git a/.gitreview b/.gitreview deleted file mode 100644 index ed8bd0d..0000000 --- a/.gitreview +++ /dev/null @@ -1,4 +0,0 @@ -[gerrit] -host=review.openstack.org -port=29418 -project=stackforge/packstack-vagrant.git diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 50d4ebb..0000000 --- a/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2014-2015 B1 Systems GmbH - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - diff --git a/README.rst b/README.rst index a3c9ae5..9006052 100644 --- a/README.rst +++ b/README.rst @@ -1,12 +1,7 @@ -packstack-vagrant -================= +This project is no longer maintained. -This is a `Vagrant `__ environment providing -a `Packstack `__ installation -on top of `CentOS `__. +The contents of this repository are still available in the Git source code +management system. To see the contents of this repository before it reached +its end of life, please check out the previous commit with +"git checkout HEAD^1". -Documentation -------------- - -.. image:: https://readthedocs.org/projects/packstack-vagrant/badge/?version=latest - :target: http://packstack-vagrant.readthedocs.org/en/latest/ diff --git a/Vagrantfile b/Vagrantfile deleted file mode 100644 index 84573ef..0000000 --- a/Vagrantfile +++ /dev/null @@ -1,112 +0,0 @@ -# -*- mode: ruby -*- -# vi: set ft=ruby : - -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations -# under the License. - -require 'yaml' - -unless defined? CONFIG - configuration_file = File.join(File.dirname(__FILE__), 'config.yaml') - CONFIG = YAML.load(File.open(configuration_file, File::RDONLY).read) -end - -CONFIG['box'] = {} unless CONFIG.key?('box') -CONFIG['box']['name'] = 'b1-systems/centos-packstack' unless CONFIG['box'].key?('name') -CONFIG['box']['storage_controller'] = 'SATA Controller' unless CONFIG['box'].key?('storage_controller') - -def add_block_device(node, port, size) - node.vm.provider 'virtualbox' do |vb| - vb.customize ['createhd', '--filename', "#{node.vm.hostname}_#{port}.vdi", - '--size', size] - vb.customize ['storageattach', :id, '--storagectl', - CONFIG['box']['storage_controller'], '--port', port, - '--device', 0, '--type', 'hdd', '--medium', - "#{node.vm.hostname}_#{port}.vdi"] - end -end - -Vagrant.configure(2) do |config| - config.vm.box = CONFIG['box']['name'] - config.vm.synced_folder '.', '/vagrant', disabled: true - config.vm.provider 'virtualbox' do |vb| - vb.memory = CONFIG['resources']['memory'] - vb.cpus = CONFIG['resources']['vcpus'] - vb.customize ['modifyvm', :id, '--largepages', 'on'] - vb.customize ['modifyvm', :id, '--pae', 'off'] - end - config.vm.provision 'ansible' do |ansible| - ansible.playbook = 'playbook.yaml' - ansible.extra_vars = { - storage_backend: CONFIG['storage_backend'] - } - end - - if Vagrant.has_plugin?('vagrant-proxyconf') && - CONFIG['proxy'] != 'http://proxy.dummy.site:3128' - config.proxy.enabled = true - config.proxy.http = CONFIG['proxy'] - config.proxy.no_proxy = 'localhost,127.0.0.1' - end - - config.vbguest.auto_update = false if Vagrant.has_plugin?('vagrant-vbguest') - - CONFIG['address']['compute'].each_with_index do |address, index| - name = "compute#{index + 1}" - config.vm.define name do |node| - node.vm.hostname = name - node.vm.network :private_network, - ip: "10.0.0.2#{index}", - virtualbox__intnet: 'tunnel' - node.vm.network :public_network, - ip: address, - netmask: CONFIG['network']['external']['netmask'], - bridge: CONFIG['network']['external']['bridge'] - end - end - - config.vm.define 'network' do |node| - node.vm.hostname = 'network' - node.vm.network :private_network, - ip: '10.0.0.30', - virtualbox__intnet: 'tunnel' - node.vm.network :public_network, - bridge: CONFIG['network']['external']['bridge'], - auto_config: false - end - - config.vm.define 'storage' do |node| - node.vm.hostname = 'storage' - node.vm.network :public_network, - ip: CONFIG['address']['storage'], - netmask: CONFIG['network']['external']['netmask'], - bridge: CONFIG['network']['external']['bridge'] - add_block_device(node, 1, CONFIG['resources']['storage']) - add_block_device(node, 2, CONFIG['resources']['storage']) - add_block_device(node, 3, CONFIG['resources']['storage']) - end - - config.vm.define 'controller', primary: true do |node| - node.vm.hostname = 'controller' - node.vm.network :public_network, - ip: CONFIG['address']['controller'], - netmask: CONFIG['network']['external']['netmask'], - bridge: CONFIG['network']['external']['bridge'] - node.vm.provider 'virtualbox' do |vb| - memory = CONFIG['resources']['memory'] * 2 - vcpus = CONFIG['resources']['vcpus'] * 2 - vb.customize ['modifyvm', :id, '--memory', memory] - vb.customize ['modifyvm', :id, '--cpus', vcpus] - end - node.vm.provision 'shell', path: 'scripts/initialize.sh', privileged: false - end -end diff --git a/ansible/controller.yaml b/ansible/controller.yaml deleted file mode 100644 index 14a83a1..0000000 --- a/ansible/controller.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -- yum: name=http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm state=present -- yum: name=git state=present - when: development -- git: repo=https://github.com/stackforge/packstack - dest=/opt/packstack - when: development -- file: path=/opt/packstack owner=vagrant group=vagrant recurse=yes - when: development -- command: python setup.py install - chdir=/opt/packstack - when: development -- command: python setup.py install_puppet_modules - chdir=/opt/packstack - when: development -- yum: name=openstack-packstack state=present - when: not development -- template: src=files/openrc.j2 dest=/home/vagrant/openrc owner=vagrant group=vagrant mode=0644 -- lineinfile: dest=/home/vagrant/.bashrc line='source $HOME/openrc' -- copy: src=files/scripts/nova_fake.sh dest=/home/vagrant/scripts/nova_fake.sh owner=vagrant group=vagrant mode=0755 -- copy: src=files/scripts/rally.sh dest=/home/vagrant/scripts/rally.sh owner=vagrant group=vagrant mode=0755 -- template: src=files/scripts/setup.sh.j2 dest=/home/vagrant/scripts/setup.sh owner=vagrant group=vagrant mode=0755 -- template: src=files/packstack.answers.j2 dest=/home/vagrant/packstack.answers owner=vagrant group=vagrant -- copy: src=files/gitconfig dest=/home/vagrant/.gitconfig owner=vagrant group=vagrant mode=0644 -- file: src=/home/vagrant/.ssh/id_packstack dest=/home/vagrant/.ssh/id_rsa owner=vagrant group=vagrant state=link -- file: src=/home/vagrant/.ssh/id_packstack.pub dest=/home/vagrant/.ssh/id_rsa.pub owner=vagrant group=vagrant state=link diff --git a/ansible/initialize.yaml b/ansible/initialize.yaml deleted file mode 100644 index 0ac2be1..0000000 --- a/ansible/initialize.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -- lineinfile: dest=/etc/yum/pluginconf.d/fastestmirror.conf regexp=^enabled= line=enabled=0 -- yum: name=http://rdoproject.org/repos/openstack-kilo/rdo-release-kilo.rpm state=present -- yum: name=* state=latest -- yum: name={{ item }} state=present - with_items: - - openstack-selinux - - vim - - tcpdump -- copy: src=files/id_rsa dest=/home/vagrant/.ssh/id_packstack mode=0600 owner=vagrant group=vagrant -- copy: src=files/id_rsa.pub dest=/home/vagrant/.ssh/id_packstack.pub mode=0600 owner=vagrant group=vagrant -- copy: src=files/selinux dest=/etc/selinux/config mode=0644 owner=root group=root -- file: path=/home/vagrant/scripts state=directory owner=vagrant group=vagrant mode=0755 -- shell: cat /home/vagrant/.ssh/id_packstack.pub >> /home/vagrant/.ssh/authorized_keys -- file: path=/home/vagrant/.ssh/authorized_keys owner=vagrant group=vagrant -- copy: src=files/motd dest=/etc/motd owner=root group=root mode=0644 -- template: src=files/hosts.j2 dest=/etc/hosts owner=root group=root mode=0644 diff --git a/ansible/network.yaml b/ansible/network.yaml deleted file mode 100644 index fd0381a..0000000 --- a/ansible/network.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- sysctl: name=net.ipv4.ip_forward value=1 state=present -- yum: name=openvswitch state=present -- service: name=openvswitch state=started enabled=yes -- template: src=files/ifcfg-br-ex.j2 dest=/etc/sysconfig/network-scripts/ifcfg-br-ex -- copy: src=files/ifcfg-enp0s9 dest=/etc/sysconfig/network-scripts/ifcfg-enp0s9 -- service: name=network state=restarted -- command: /sbin/iptables -t nat -A POSTROUTING -o enp0s3 -j MASQUERADE -- command: /sbin/iptables -A FORWARD -i br-ex -o enp0s3 -m state --state RELATED,ESTABLISHED -j ACCEPT -- command: /sbin/iptables -A FORWARD -i br-ex -o enp0s3 -j ACCEPT -- shell: /usr/sbin/iptables-save > /etc/sysconfig/iptables diff --git a/ansible/storage.yaml b/ansible/storage.yaml deleted file mode 100644 index 2c99672..0000000 --- a/ansible/storage.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -- yum: name=nfs-utils state=present -- yum: name=xfsprogs state=present -- filesystem: fstype=xfs dev=/dev/{{ item }} force=yes - with_items: - - sdb - - sdc - - sdd -- mount: name=/export src=/dev/sdb fstype=xfs state=mounted -- file: path=/export state=directory mode=0777 -- copy: src=files/exports dest=/etc/exports mode=0644 owner=root group=root -- service: name=rpcbind state=started enabled=yes -- service: name=nfs-server state=started enabled=yes -- service: name=nfs-lock state=started enabled=yes - when: ansible_distribution_version == '7.0.1406' -- service: name=rpc-statd state=started enabled=yes - when: ansible_distribution_version == '7.1.1503' -- service: name=nfs-idmap state=started enabled=yes - when: ansible_distribution_version == '7.0.1406' -- service: name=nfs-idmapd state=started enabled=yes - when: ansible_distribution_version == '7.1.1503' -- command: /usr/sbin/exportfs -a diff --git a/config.yaml.sample b/config.yaml.sample deleted file mode 100644 index 70dd3d6..0000000 --- a/config.yaml.sample +++ /dev/null @@ -1,51 +0,0 @@ ---- -box: - name: boxcutter/centos71 - storage_controller: 'SATA Controller' -debug: false -development: false -network: - type: gre - agent: openvswitch - tunnel_interface: enp0s8 - dns1: 208.67.222.222 - dns2: 208.67.220.220 - internal: - network: 192.168.200.0/24 - external: - start: 10.100.50.100 - end: 10.100.50.200 - network: 10.100.50.0/16 - bridge: tap0 - netmask: 255.255.0.0 - broadcast: 10.100.255.255 -secret: password -proxy: http://proxy.dummy.site:3128 -storage_backend: nfs -address: - controller: 10.100.50.10 - network: 10.100.50.30 - storage: 10.100.50.40 - compute: - - 10.100.50.20 - - 10.100.50.21 -ntp: -- 0.pool.ntp.org -- 1.pool.ntp.org -- 2.pool.ntp.org -- 3.pool.ntp.org -resources: - memory: 4096 - vcpus: 2 - storage: 65536 -components: - ceilometer: true - cinder: true - heat: true - horizon: true - ironic: false - nagios: true - sahara: false - swift: true - tempest: false - trove: false diff --git a/contrib/config.ssh b/contrib/config.ssh deleted file mode 100644 index f90ed4f..0000000 --- a/contrib/config.ssh +++ /dev/null @@ -1,31 +0,0 @@ -# --- Packstack environment --- - -Host controller - HostName 10.100.50.10 - Port 22 - User vagrant - IdentityFile ~/.ssh/id_rsa.packstack - -Host compute1 - HostName 10.100.50.20 - Port 22 - User vagrant - IdentityFile ~/.ssh/id_rsa.packstack - -Host compute2 - HostName 10.100.50.21 - Port 22 - User vagrant - IdentityFile ~/.ssh/id_rsa.packstack - -Host network - HostName 10.100.50.30 - Port 22 - User vagrant - IdentityFile ~/.ssh/id_rsa.packstack - -Host storage - HostName 10.100.50.40 - Port 22 - User vagrant - IdentityFile ~/.ssh/id_rsa.packstack diff --git a/doc/source/conf.py b/doc/source/conf.py deleted file mode 100755 index 93e83c5..0000000 --- a/doc/source/conf.py +++ /dev/null @@ -1,36 +0,0 @@ -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import os -import sys - -sys.path.insert(0, os.path.abspath('../..')) - -# The suffix of source filenames. -source_suffix = '.rst' - -# The master toctree document. -master_doc = 'index' - -# General information about the project. -project = u'packstack-vagrant' -copyright = u'2014-2015, B1 Systems GmbH' - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' - -# Output file base name for HTML help builder. -htmlhelp_basename = '%sdoc' % project - -# The "theme" that the HTML output should use. -html_theme = "default" diff --git a/doc/source/configuration.rst b/doc/source/configuration.rst deleted file mode 100644 index ca60783..0000000 --- a/doc/source/configuration.rst +++ /dev/null @@ -1,192 +0,0 @@ -Configuration -============= - -Copy the sample configuration file ``config.yaml.sample`` to -``config.yaml`` and adjust the file accordingly. - -Base box --------- - -In theory (not tested) it is possible to use RHEL or Fedora instead of -CentOS. By default the box ``boxcutter/centos71`` will be used. - -:: - - box: - name: boxcutter/centos71 - -To change the used base box modify the value of ``name``. A list -of public available boxes is available on -`Atlas `__. - -Depending on the used base box you have to set the used storage -controller (``SATA Controller`` by default). The -storage controller of the used base box must support at least three ports. - -:: - - box: - name: boxcutter/centos71 - storage_controller: 'SATA Controller' - - -Networking ----------- - -Networks -~~~~~~~~ - -:: - - network: - dns1: 208.67.222.222 - dns2: 208.67.220.220 - internal: - network: 192.168.200.0/24 - external: - start: 10.100.50.100 - end: 10.100.50.200 - network: 10.100.50.0/16 - bridge: tap0 - netmask: 255.255.0.0 - broadcast: 10.100.255.255 - -Addresses -~~~~~~~~~ - -:: - - address: - controller: 10.100.50.10 - network: 10.100.50.30 - storage: 10.100.50.40 - compute: - - 10.100.50.20 - - 10.100.50.21 - -To increase the number of compute nodes add more addresses to the -``compute`` list. - -L2 agent -~~~~~~~~ - -:: - - network: - agent: openvswitch - -Tenant networks -~~~~~~~~~~~~~~~ - -:: - - network: - type: gre - -Clock synchronization (NTP) ---------------------------- - -Accurate clocks on every node are very important. Default is the the -usage of the `NTP Pool Project `__. - -:: - - ntp: - - 0.pool.ntp.org - - 1.pool.ntp.org - - 2.pool.ntp.org - - 3.pool.ntp.org - -Resources ---------- - -Default resources defined in ``~/.vagrant.d/Vagrantfile`` or the -``Vagrantfile`` provided by the base box will be overwritten. Resources -assigned to the controller node will be multiplied by two and additional -block storage devices will be attached to the controller and NFS nodes. - -:: - - resources: - memory: 4096 - vcpus: 2 - storage: 65536 - -Development version -------------------- - -To use the development version (``master``) of Packstack set -``development: true``. - -Debug mode ----------- - -To enable the debug mode for the deployed services set ``debug: true``. - -Storage backend ---------------- - -At the moment NFS is the only supported storage backend. Support for -Ceph will be added in the future (at the moment Ceph is not supported as -a storage backend in Packstack). - -Timezone --------- - -At the moment it is not possible to configure the timezone with -Packstack. - -Caching / Proxying ------------------- - -To speed up the provisioning the Vagrant plugin -`vagrant-proxyconf `__ -configures a HTTP proxy to be used by ``yum``. - -:: - - $ vagrant plugin install vagrant-proxyconf - -When the plugin is installed caching/proxying is not enabled by default. To -enable caching/proxying ``proxy`` has to point to an existing HTTP proxy -server. - -:: - - proxy: http://proxy.company.site:3128 - -Components ----------- - -It is possible to enable or disable the components ``ceilometer``, ``cinder``, -``heat``, ``horizon``, ``ironic``, ``nagios``, ``sahara``, ``swift``, -``tempest``, and ``trove``. - -For example to disable the component ``heat`` set ``heat`` to ``false``. - -For example to enable the component ``trove`` set ``trove`` to ``true``. - -:: - - components: - ceilometer: true - cinder: true - heat: true - horizon: true - ironic: false - nagios: true - sahara: false - swift: true - tempest: false - trove: false - -Passwords and tokens --------------------- - -For simplification ``packstack-vagrant`` uses the same secret for all used -passwords and tokens. By default this secret is ``password``. To change the -secret change the value of the parameter ``secret``. - -:: - - secret: password diff --git a/doc/source/contributing.rst b/doc/source/contributing.rst deleted file mode 100644 index ed342c6..0000000 --- a/doc/source/contributing.rst +++ /dev/null @@ -1,12 +0,0 @@ -Contributing -============ - -Details how to contribute are available in the -`OpenStack infrastructure manual `__. - -Changes be submitted for review via the Gerrit tool, following the workflow -documented in the -`OpenStack infrastructure manual `__. - -Bugs and feature requests should be filed on -`Launchpad `__, not GitHub: diff --git a/doc/source/index.rst b/doc/source/index.rst deleted file mode 100644 index 206fb2c..0000000 --- a/doc/source/index.rst +++ /dev/null @@ -1,22 +0,0 @@ -Welcome to packstack-vagrant's documentation! -============================================= - -This is a `Vagrant `__ environment providing -a `Packstack `__ installation -on top of `CentOS `__. - -Contents: - -.. toctree:: - :maxdepth: 2 - - requirements - configuration - initialization - usage - contributing - -Indices and tables -================== - -* :ref:`search` diff --git a/doc/source/initialization.rst b/doc/source/initialization.rst deleted file mode 100644 index fea8c09..0000000 --- a/doc/source/initialization.rst +++ /dev/null @@ -1,19 +0,0 @@ -Initialization -============== - -:: - - $ vagrant up - -- The installation log file is available at: - ``/var/tmp/packstack/YYMMDD-HHMMSS-abcdef/openstack-setup.log`` -- The generated manifests are available at: - ``/var/tmp/packstack/YYMMDD-HHMMSS-abcdef/manifests`` - -After the successful deployment you can run the ``setup.sh`` script -on the controller node as the unprivileged user ``vagrant`` -(``vagrant ssh controller``) to add cloud images etc. pp. - -:: - - $ /home/vagrant/scripts/setup.sh diff --git a/doc/source/requirements.rst b/doc/source/requirements.rst deleted file mode 100644 index 3137fb6..0000000 --- a/doc/source/requirements.rst +++ /dev/null @@ -1,34 +0,0 @@ -Requirements -============ - -Vagrant -------- - -The installation of Vagrant is documented in the `Vagrant -documentation `__. -Ensure to use at least version ``1.7.4`` of Vagrant. - -:: - - $ vagrant --version - Vagrant 1.7.4 - -Vagrant plugins -~~~~~~~~~~~~~~~ - -If you want to use an external HTTP proxy server for caching/proxying install -the Vagrant plugin ``vagrant-proxyconf``. - -:: - - $ vagrant plugin install vagrant-proxyconf - -Ansible -------- - -The used provisioner is `Ansible `__. To be able -to start this Vagrant environment install Ansible on the Vagrant host. - -:: - - $ sudo yum install -y ansible diff --git a/doc/source/usage.rst b/doc/source/usage.rst deleted file mode 100644 index 835e69a..0000000 --- a/doc/source/usage.rst +++ /dev/null @@ -1,50 +0,0 @@ -Usage -===== - - -Credentials ------------ - -- The password for the OpenStack user ``admin`` in the tenant ``admin`` - is ``password``. -- The password for the Nagios user ``nagiosadmin`` is ``password``. - -Webinterfaces -------------- - -- The OpenStack Dashboard is available on the controller node, by - default at http://10.100.50.10/dashboard/. -- The webinterface of Nagios is available on the controller node, by - default at http://10.100.50.10/nagios/. - -CLIs ----- - -All command line interfaces are installed on the controller node. - -APIs ----- - -All OpenStack API services are running on the controller node with the -default IP address ``10.100.50.10``. - -Helper scripts --------------- - -All helper scripts can be found on the ``controller`` node in the -``/home/vagrant/scripts`` directory. - -Rally -~~~~~ - -Install `Rally `_, a framework for -performance analysis and benchmarking of individual OpenStack components, -with ``/home/vagrant/scripts/rally.sh`` to ``/opt/rally``. The directory -is accessible through the webserver, by default at http://10.100.50.10/rally/. - -Fake Drivers -~~~~~~~~~~~~ - -To enable the `fake drivers `_ -for the ``nova-compute`` service on all compute nodes run the -script ``/home/vagrant/scripts/nova_fake.sh``. diff --git a/files/exports b/files/exports deleted file mode 100644 index e6b76d6..0000000 --- a/files/exports +++ /dev/null @@ -1 +0,0 @@ -/export 10.100.50.0/16(rw,fsid=0,no_subtree_check,sync,no_root_squash) diff --git a/files/gitconfig b/files/gitconfig deleted file mode 100644 index d464f93..0000000 --- a/files/gitconfig +++ /dev/null @@ -1,5 +0,0 @@ -[user] - name = packstack-vagrant - email = vagrant@controller -[push] - default = simple diff --git a/files/hosts.j2 b/files/hosts.j2 deleted file mode 100644 index c2e4b22..0000000 --- a/files/hosts.j2 +++ /dev/null @@ -1,11 +0,0 @@ -127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 -::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 - -# <<< Packstack >>> -{% for name in ['controller', 'network', 'storage'] %} -{{ address[name] }} {{ name }}.site {{ name }} -{% endfor %} -{% for ip in address['compute'] %} -{{ ip }} compute{{ loop.index }}.site compute{{ loop.index }} -{% endfor %} -# >>> Packstack <<< diff --git a/files/id_rsa b/files/id_rsa deleted file mode 100644 index 81ee802..0000000 --- a/files/id_rsa +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEA1nWq2oUYWBkVyQj0izl/9xUvMBAF4mgikJGaPnbPUxByc4/3 -NbwMin8BL3za5v3uV7jqMzUP78AF3mLIyaQcAoSRAfpP4gWJ1VihRhJWYQQadTfb -NNoHpB2eCnWhoTt+dQJC/jIV79SCNaufeYgiftH1fzLZNUJBmYZ0xtR+G+bfFbu/ -O/4qKRgf7S3hUB5ka9Cq8u38RZm6T1O5k4wxyXvGsI4qleVQFioPSE+z0VFggfn0 -6ue4556EALsuvmBdGvg8NerGwAV0VT11kSBLncPdNhn6AqDQx4tFR6nNTnNEQTuE -11pmFMQV+mdNZHQvaIGN972oisKq6FXox5avwQIDAQABAoIBAQCOJA0qql5ZPb8X -sKzMfj7XWB4ff+82gYivQyH1Vq/RQSxqdbgG0G2LeeQiQmGgChvn3nKzn+7BHAeH -vveP1gqOjKjDo9FAYCVb11OE6vB/esXCfVP3sq6v0sWF7zNCdvk4ulgGvNGXVMU8 -p1Saq2UZozVQqjYWu6RZCinqArrW6DbCMoGP8nd2zIQLB+73bUmmRwT7zwJjMC3f -bm2ehQTesrtINJPivLqDdBhLj6WAw6TVnxJGTwW9ovlXXUNYY4D1p1xe+JXRWOLp -AwjOD2auqN2XUfF/Wqq2SDC3ExOxozr3aVJkPOZz0f6qWUwP2urja3gbf//h9IG4 -NklPNZk1AoGBAO0tFhJssvJ5v4rxRseIg8K72OwRCmxl6PA1f+hS9hGh0yU1jB6o -Tfh/9YLlwK1aZykjch4zwn5RH6qg2fzMfUpiXNZ6p055rZwZMa9QUR4Vw4uE9CFe -RAWNN9czNOUDUjUejo+gIJsTOUE2QcH4wU1NdsPIkTQznf74zUxrknIvAoGBAOd7 -B9oX6576+obsr4Srb+KJghQZTnDv6Yzf6MfVqsA6AH4aBJkVbB95B0T2auEk0/zu -xuCRN+lIKNgTcS1ioeBLa6EyJj0lDtDNp0coQuHkfHXUlTZxVbQXAxaro+2HVqnn -P7KdZTaBvjVmw01InURck6jTo76SCqE3hhpZiTEPAoGAWT9O/+3hRHblyc3S2YCY -PC3dia874eBTUBiBohWdvLLNNkI5EMw6UtkrtG7qGxFaolNRPOYzOL8kEFvoy0TT -nKr4zkhnLpOA7a1ZUeQCMjT0WUrVZr0HEaO7MIJ3U/n09EIkWQ1jV5dbQxu8kNYf -Pwx4NWICqccGnAxZjHkqKUcCgYAtB7z+Szr14WMNDkwSpfsM+a0JVebxh2pKkmBJ -R6KA5IemAE+2q/ktojCs1Lbz92MZyCV+GCHlSrlPV3Dj4FUXOfTFFelkaaoZKniJ -GibwpK8liOZCAggnEXbzWQ55raNJSAgXKhE/ajvjTYtepGqbmtrKs+kdsHFK7W8z -/wj2NwKBgAOxCb1bYpMa/X9LLdMD7HkZmXwNgSTrjAHD4FCzYmRNf2KxUZ+PLBhR -iB9FmZLB8dBPG8fdboaZFvubRqGAbUAtPSM0aWV9/Cs4fmngiL4CjS2H8yTlL2D4 -HbVYPSl3qhwq4gaRMm5QCM6hQ2UCkRvQllDt8Shziszsz7YPZWM8 ------END RSA PRIVATE KEY----- diff --git a/files/id_rsa.pub b/files/id_rsa.pub deleted file mode 100644 index 542225c..0000000 --- a/files/id_rsa.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDWdarahRhYGRXJCPSLOX/3FS8wEAXiaCKQkZo+ds9TEHJzj/c1vAyKfwEvfNrm/e5XuOozNQ/vwAXeYsjJpBwChJEB+k/iBYnVWKFGElZhBBp1N9s02gekHZ4KdaGhO351AkL+MhXv1II1q595iCJ+0fV/Mtk1QkGZhnTG1H4b5t8Vu787/iopGB/tLeFQHmRr0Kry7fxFmbpPU7mTjDHJe8awjiqV5VAWKg9IT7PRUWCB+fTq57jnnoQAuy6+YF0a+Dw16sbABXRVPXWRIEudw902GfoCoNDHi0VHqc1Oc0RBO4TXWmYUxBX6Z01kdC9ogY33vaiKwqroVejHlq/B diff --git a/files/ifcfg-br-ex.j2 b/files/ifcfg-br-ex.j2 deleted file mode 100644 index abfd399..0000000 --- a/files/ifcfg-br-ex.j2 +++ /dev/null @@ -1,10 +0,0 @@ -NM_CONTROLLED=no -DEVICE=br-ex -DEVICETYPE=ovs -TYPE=OVSBridge -BOOTPROTO=static -IPADDR={{ address.network }} -NETMASK={{ network.external.netmask }} -BROADCAST={{ network.external.broadcast }} -DNS1={{ network.dns1 }} -DNS2={{ network.dns2 }} diff --git a/files/ifcfg-enp0s9 b/files/ifcfg-enp0s9 deleted file mode 100644 index 8b8e1c8..0000000 --- a/files/ifcfg-enp0s9 +++ /dev/null @@ -1,6 +0,0 @@ -NM_CONTROLLED=no -DEVICE=enp0s9 -TYPE=OVSPort -DEVICETYPE=ovs -OVS_BRIDGE=br-ex -ONBOOT=yes diff --git a/files/motd b/files/motd deleted file mode 100644 index a6d3a02..0000000 --- a/files/motd +++ /dev/null @@ -1,6 +0,0 @@ - ____ _ ____ _ ______ _____ _ ____ _ __ -| _ \ / \ / ___| |/ / ___|_ _|/ \ / ___| |/ / -| |_) / _ \| | | ' /\___ \ | | / _ \| | | ' / -| __/ ___ \ |___| . \ ___) || |/ ___ \ |___| . \ -|_| /_/ \_\____|_|\_\____/ |_/_/ \_\____|_|\_\ - diff --git a/files/openrc.j2 b/files/openrc.j2 deleted file mode 100644 index 293bedf..0000000 --- a/files/openrc.j2 +++ /dev/null @@ -1,5 +0,0 @@ -export OS_USERNAME=admin -export OS_TENANT_NAME=admin -export OS_PASSWORD=password -export OS_AUTH_URL=http://{{ address.controller }}:5000/v2.0/ -export OS_REGION_NAME=RegionOne diff --git a/files/packstack.answers.j2 b/files/packstack.answers.j2 deleted file mode 100644 index 86840a0..0000000 --- a/files/packstack.answers.j2 +++ /dev/null @@ -1,1099 +0,0 @@ -[general] - -# Path to a public key to install on servers. If a usable key has not -# been installed on the remote servers, the user is prompted for a -# password and this key is installed so the password will not be -# required again. -CONFIG_SSH_KEY=/home/vagrant/.ssh/id_packstack.pub - -# Default password to be used everywhere (overridden by passwords set -# for individual services or users). -CONFIG_DEFAULT_PASSWORD={{ secret }} - -# Specify 'y' to install MariaDB. ['y', 'n'] -CONFIG_MARIADB_INSTALL=y - -# Specify 'y' to install OpenStack Image Service (glance). ['y', 'n'] -CONFIG_GLANCE_INSTALL=y - -# Specify 'y' to install OpenStack Block Storage (cinder). ['y', 'n'] -CONFIG_CINDER_INSTALL={{ 'y' if components.cinder == true else 'n' }} - -# Specify 'y' to install OpenStack Shared File System (manila). ['y', -# 'n'] -CONFIG_MANILA_INSTALL=n - -# Specify 'y' to install OpenStack Compute (nova). ['y', 'n'] -CONFIG_NOVA_INSTALL=y - -# Specify 'y' to install OpenStack Networking (neutron); otherwise, -# Compute Networking (nova) will be used. ['y', 'n'] -CONFIG_NEUTRON_INSTALL=y - -# Specify 'y' to install OpenStack Dashboard (horizon). ['y', 'n'] -CONFIG_HORIZON_INSTALL={{ 'y' if components.horizon == true else 'n' }} - -# Specify 'y' to install OpenStack Object Storage (swift). ['y', 'n'] -CONFIG_SWIFT_INSTALL={{ 'y' if components.swift == true else 'n' }} - -# Specify 'y' to install OpenStack Metering (ceilometer). ['y', 'n'] -CONFIG_CEILOMETER_INSTALL={{ 'y' if components.ceilometer == true else 'n' }} - -# Specify 'y' to install OpenStack Orchestration (heat). ['y', 'n'] -CONFIG_HEAT_INSTALL={{ 'y' if components.heat == true else 'n' }} - -# Specify 'y' to install OpenStack Data Processing (sahara). ['y', -# 'n'] -CONFIG_SAHARA_INSTALL={{ 'y' if components.sahara == true else 'n' }} - -# Specify 'y' to install OpenStack Database (trove) ['y', 'n'] -CONFIG_TROVE_INSTALL={{ 'y' if components.trove == true else 'n' }} - -# Specify 'y' to install OpenStack Bare Metal Provisioning (ironic). -# ['y', 'n'] -CONFIG_IRONIC_INSTALL={{ 'y' if components.ironic == true else 'n' }} - -# Specify 'y' to install the OpenStack Client packages (command-line -# tools). An admin "rc" file will also be installed. ['y', 'n'] -CONFIG_CLIENT_INSTALL=y - -# Comma-separated list of NTP servers. Leave plain if Packstack -# should not install ntpd on instances. -CONFIG_NTP_SERVERS={{ ntp | join(",") }} - -# Specify 'y' to install Nagios to monitor OpenStack hosts. Nagios -# provides additional tools for monitoring the OpenStack environment. -# ['y', 'n'] -CONFIG_NAGIOS_INSTALL={{ 'y' if components.nagios == true else 'n' }} - -# Comma-separated list of servers to be excluded from the -# installation. This is helpful if you are running Packstack a second -# time with the same answer file and do not want Packstack to -# overwrite these server's configurations. Leave empty if you do not -# need to exclude any servers. -EXCLUDE_SERVERS= - -# Specify 'y' if you want to run OpenStack services in debug mode; -# otherwise, specify 'n'. ['y', 'n'] -CONFIG_DEBUG_MODE={{ 'y' if debug == true else 'n' }} - -# IP address of the server on which to install OpenStack services -# specific to the controller role (for example, API servers or -# dashboard). -CONFIG_CONTROLLER_HOST={{ address.controller }} - -# List of IP addresses of the servers on which to install the Compute -# service. -CONFIG_COMPUTE_HOSTS={{ address.compute | join(",") }} - -# List of IP addresses of the server on which to install the network -# service such as Compute networking (nova network) or OpenStack -# Networking (neutron). -CONFIG_NETWORK_HOSTS={{ address.network }} - -# Specify 'y' if you want to use VMware vCenter as hypervisor and -# storage; otherwise, specify 'n'. ['y', 'n'] -CONFIG_VMWARE_BACKEND=n - -# Specify 'y' if you want to use unsupported parameters. This should -# be used only if you know what you are doing. Issues caused by using -# unsupported options will not be fixed before the next major release. -# ['y', 'n'] -CONFIG_UNSUPPORTED=y - -# IP address of the VMware vCenter server. -CONFIG_VCENTER_HOST= - -# User name for VMware vCenter server authentication. -CONFIG_VCENTER_USER= - -# Password for VMware vCenter server authentication. -CONFIG_VCENTER_PASSWORD= - -# Name of the VMware vCenter cluster. -CONFIG_VCENTER_CLUSTER_NAME= - -# (Unsupported!) IP address of the server on which to install -# OpenStack services specific to storage servers such as Image or -# Block Storage services. -CONFIG_STORAGE_HOST={{ address.storage }} - -# (Unsupported!) IP address of the server on which to install -# OpenStack services specific to OpenStack Data Processing (sahara). -CONFIG_SAHARA_HOST={{ address.controller }} - -# Specify 'y' to enable the EPEL repository (Extra Packages for -# Enterprise Linux). ['y', 'n'] -CONFIG_USE_EPEL=n - -# Comma-separated list of URLs for any additional yum repositories, -# to use for installation. -CONFIG_REPO= - -# To subscribe each server with Red Hat Subscription Manager, include -# this with CONFIG_RH_PW. -CONFIG_RH_USER= - -# To subscribe each server to receive updates from a Satellite -# server, provide the URL of the Satellite server. You must also -# provide a user name (CONFIG_SATELLITE_USERNAME) and password -# (CONFIG_SATELLITE_PASSWORD) or an access key (CONFIG_SATELLITE_AKEY) -# for authentication. -CONFIG_SATELLITE_URL= - -# To subscribe each server with Red Hat Subscription Manager, include -# this with CONFIG_RH_USER. -CONFIG_RH_PW= - -# Specify 'y' to enable RHEL optional repositories. ['y', 'n'] -CONFIG_RH_OPTIONAL=y - -# HTTP proxy to use with Red Hat Subscription Manager. -CONFIG_RH_PROXY= - -# Port to use for Red Hat Subscription Manager's HTTP proxy. -CONFIG_RH_PROXY_PORT= - -# User name to use for Red Hat Subscription Manager's HTTP proxy. -CONFIG_RH_PROXY_USER= - -# Password to use for Red Hat Subscription Manager's HTTP proxy. -CONFIG_RH_PROXY_PW= - -# User name to authenticate with the RHN Satellite server; if you -# intend to use an access key for Satellite authentication, leave this -# blank. -CONFIG_SATELLITE_USER= - -# Password to authenticate with the RHN Satellite server; if you -# intend to use an access key for Satellite authentication, leave this -# blank. -CONFIG_SATELLITE_PW= - -# Access key for the Satellite server; if you intend to use a user -# name and password for Satellite authentication, leave this blank. -CONFIG_SATELLITE_AKEY= - -# Certificate path or URL of the certificate authority to verify that -# the connection with the Satellite server is secure. If you are not -# using Satellite in your deployment, leave this blank. -CONFIG_SATELLITE_CACERT= - -# Profile name that should be used as an identifier for the system in -# RHN Satellite (if required). -CONFIG_SATELLITE_PROFILE= - -# Comma-separated list of flags passed to the rhnreg_ks command. -# Valid flags are: novirtinfo, norhnsd, nopackages ['novirtinfo', -# 'norhnsd', 'nopackages'] -CONFIG_SATELLITE_FLAGS= - -# HTTP proxy to use when connecting to the RHN Satellite server (if -# required). -CONFIG_SATELLITE_PROXY= - -# User name to authenticate with the Satellite-server HTTP proxy. -CONFIG_SATELLITE_PROXY_USER= - -# User password to authenticate with the Satellite-server HTTP proxy. -CONFIG_SATELLITE_PROXY_PW= - -# Service to be used as the AMQP broker. Allowed values are: qpid, -# rabbitmq ['qpid', 'rabbitmq'] -CONFIG_AMQP_BACKEND=rabbitmq - -# IP address of the server on which to install the AMQP service. -CONFIG_AMQP_HOST={{ address.controller }} - -# Specify 'y' to enable SSL for the AMQP service. ['y', 'n'] -CONFIG_AMQP_ENABLE_SSL=n - -# Specify 'y' to enable authentication for the AMQP service. ['y', -# 'n'] -CONFIG_AMQP_ENABLE_AUTH=n - -# Password for the NSS certificate database of the AMQP service. -CONFIG_AMQP_NSS_CERTDB_PW={{ secret }} - -# Port on which the AMQP service listens for SSL connections. -CONFIG_AMQP_SSL_PORT=5671 - -# File name of the CAcertificate that the AMQP service will use for -# verification. -CONFIG_AMQP_SSL_CACERT_FILE=/etc/pki/tls/certs/amqp_selfcert.pem - -# File name of the certificate that the AMQP service will use for -# verification. -CONFIG_AMQP_SSL_CERT_FILE=/etc/pki/tls/certs/amqp_selfcert.pem - -# File name of the private key that the AMQP service will use for -# verification. -CONFIG_AMQP_SSL_KEY_FILE=/etc/pki/tls/private/amqp_selfkey.pem - -# Specify 'y' to automatically generate a self-signed SSL certificate -# and key. ['y', 'n'] -CONFIG_AMQP_SSL_SELF_SIGNED=y - -# User for AMQP authentication. -CONFIG_AMQP_AUTH_USER=amqp_user - -# Password for AMQP authentication. -CONFIG_AMQP_AUTH_PASSWORD={{ secret }} - -# IP address of the server on which to install MariaDB. If a MariaDB -# installation was not specified in CONFIG_MARIADB_INSTALL, specify -# the IP address of an existing database server (a MariaDB cluster can -# also be specified). -CONFIG_MARIADB_HOST={{ address.controller }} - -# User name for the MariaDB administrative user. -CONFIG_MARIADB_USER=root - -# Password for the MariaDB administrative user. -CONFIG_MARIADB_PW={{ secret }} - -# Password to use for the Identity service (keystone) to access the -# database. -CONFIG_KEYSTONE_DB_PW={{ secret }} - -# Default region name to use when creating tenants in the Identity -# service. -CONFIG_KEYSTONE_REGION=RegionOne - -# Token to use for the Identity service API. -CONFIG_KEYSTONE_ADMIN_TOKEN={{ secret }} - -# Email address for the Identity service 'admin' user. Defaults to -CONFIG_KEYSTONE_ADMIN_EMAIL=root@localhost - -# User name for the Identity service 'admin' user. Defaults to -# 'admin'. -CONFIG_KEYSTONE_ADMIN_USERNAME=admin - -# Password to use for the Identity service 'admin' user. -CONFIG_KEYSTONE_ADMIN_PW={{ secret }} - -# Password to use for the Identity service 'demo' user. -CONFIG_KEYSTONE_DEMO_PW={{ secret }} - -# Identity service API version string. ['v2.0', 'v3'] -CONFIG_KEYSTONE_API_VERSION=v2.0 - -# Identity service token format (UUID or PKI). The recommended format -# for new deployments is UUID. ['UUID', 'PKI'] -CONFIG_KEYSTONE_TOKEN_FORMAT=UUID - -# Name of service to use to run the Identity service (keystone or -# httpd). ['keystone', 'httpd'] -CONFIG_KEYSTONE_SERVICE_NAME=httpd - -# Type of Identity service backend (sql or ldap). ['sql', 'ldap'] -CONFIG_KEYSTONE_IDENTITY_BACKEND=sql - -# URL for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_URL=ldap://{{ address.controller }} - -# User DN for the Identity service LDAP backend. Used to bind to the -# LDAP server if the LDAP server does not allow anonymous -# authentication. -CONFIG_KEYSTONE_LDAP_USER_DN= - -# User DN password for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_USER_PASSWORD= - -# Base suffix for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_SUFFIX= - -# Query scope for the Identity service LDAP backend (base, one, sub). -# ['base', 'one', 'sub'] -CONFIG_KEYSTONE_LDAP_QUERY_SCOPE=one - -# Query page size for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_PAGE_SIZE=-1 - -# User subtree for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_USER_SUBTREE= - -# User query filter for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_USER_FILTER= - -# User object class for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_USER_OBJECTCLASS= - -# User ID attribute for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_USER_ID_ATTRIBUTE= - -# User name attribute for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_USER_NAME_ATTRIBUTE= - -# User email address attribute for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_USER_MAIL_ATTRIBUTE= - -# User-enabled attribute for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_USER_ENABLED_ATTRIBUTE= - -# Bit mask applied to user-enabled attribute for the Identity service -# LDAP backend. -CONFIG_KEYSTONE_LDAP_USER_ENABLED_MASK=-1 - -# Value of enabled attribute which indicates user is enabled for the -# Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_USER_ENABLED_DEFAULT=TRUE - -# Specify 'y' if users are disabled (not enabled) in the Identity -# service LDAP backend. ['n', 'y'] -CONFIG_KEYSTONE_LDAP_USER_ENABLED_INVERT=n - -# Comma-separated list of attributes stripped from LDAP user entry -# upon update. -CONFIG_KEYSTONE_LDAP_USER_ATTRIBUTE_IGNORE= - -# Identity service LDAP attribute mapped to default_project_id for -# users. -CONFIG_KEYSTONE_LDAP_USER_DEFAULT_PROJECT_ID_ATTRIBUTE= - -# Specify 'y' if you want to be able to create Identity service users -# through the Identity service interface; specify 'n' if you will -# create directly in the LDAP backend. ['n', 'y'] -CONFIG_KEYSTONE_LDAP_USER_ALLOW_CREATE=n - -# Specify 'y' if you want to be able to update Identity service users -# through the Identity service interface; specify 'n' if you will -# update directly in the LDAP backend. ['n', 'y'] -CONFIG_KEYSTONE_LDAP_USER_ALLOW_UPDATE=n - -# Specify 'y' if you want to be able to delete Identity service users -# through the Identity service interface; specify 'n' if you will -# delete directly in the LDAP backend. ['n', 'y'] -CONFIG_KEYSTONE_LDAP_USER_ALLOW_DELETE=n - -# Identity service LDAP attribute mapped to password. -CONFIG_KEYSTONE_LDAP_USER_PASS_ATTRIBUTE= - -# DN of the group entry to hold enabled LDAP users when using enabled -# emulation. -CONFIG_KEYSTONE_LDAP_USER_ENABLED_EMULATION_DN= - -# List of additional LDAP attributes for mapping additional attribute -# mappings for users. The attribute-mapping format is -# :, where ldap_attr is the attribute in the -# LDAP entry and user_attr is the Identity API attribute. -CONFIG_KEYSTONE_LDAP_USER_ADDITIONAL_ATTRIBUTE_MAPPING= - -# Group subtree for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_GROUP_SUBTREE= - -# Group query filter for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_GROUP_FILTER= - -# Group object class for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_GROUP_OBJECTCLASS= - -# Group ID attribute for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_GROUP_ID_ATTRIBUTE= - -# Group name attribute for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_GROUP_NAME_ATTRIBUTE= - -# Group member attribute for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_GROUP_MEMBER_ATTRIBUTE= - -# Group description attribute for the Identity service LDAP backend. -CONFIG_KEYSTONE_LDAP_GROUP_DESC_ATTRIBUTE= - -# Comma-separated list of attributes stripped from LDAP group entry -# upon update. -CONFIG_KEYSTONE_LDAP_GROUP_ATTRIBUTE_IGNORE= - -# Specify 'y' if you want to be able to create Identity service -# groups through the Identity service interface; specify 'n' if you -# will create directly in the LDAP backend. ['n', 'y'] -CONFIG_KEYSTONE_LDAP_GROUP_ALLOW_CREATE=n - -# Specify 'y' if you want to be able to update Identity service -# groups through the Identity service interface; specify 'n' if you -# will update directly in the LDAP backend. ['n', 'y'] -CONFIG_KEYSTONE_LDAP_GROUP_ALLOW_UPDATE=n - -# Specify 'y' if you want to be able to delete Identity service -# groups through the Identity service interface; specify 'n' if you -# will delete directly in the LDAP backend. ['n', 'y'] -CONFIG_KEYSTONE_LDAP_GROUP_ALLOW_DELETE=n - -# List of additional LDAP attributes used for mapping additional -# attribute mappings for groups. The attribute=mapping format is -# :, where ldap_attr is the attribute in the -# LDAP entry and group_attr is the Identity API attribute. -CONFIG_KEYSTONE_LDAP_GROUP_ADDITIONAL_ATTRIBUTE_MAPPING= - -# Specify 'y' if the Identity service LDAP backend should use TLS. -# ['n', 'y'] -CONFIG_KEYSTONE_LDAP_USE_TLS=n - -# CA certificate directory for Identity service LDAP backend (if TLS -# is used). -CONFIG_KEYSTONE_LDAP_TLS_CACERTDIR= - -# CA certificate file for Identity service LDAP backend (if TLS is -# used). -CONFIG_KEYSTONE_LDAP_TLS_CACERTFILE= - -# Certificate-checking strictness level for Identity service LDAP -# backend; valid options are: never, allow, demand. ['never', 'allow', -# 'demand'] -CONFIG_KEYSTONE_LDAP_TLS_REQ_CERT=demand - -# Password to use for the Image service (glance) to access the -# database. -CONFIG_GLANCE_DB_PW={{ secret }} - -# Password to use for the Image service to authenticate with the -# Identity service. -CONFIG_GLANCE_KS_PW={{ secret }} - -# Storage backend for the Image service (controls how the Image -# service stores disk images). Valid options are: file or swift -# (Object Storage). The Object Storage service must be enabled to use -# it as a working backend; otherwise, Packstack falls back to 'file'. -# ['file', 'swift'] -CONFIG_GLANCE_BACKEND=file - -# Password to use for the Block Storage service (cinder) to access -# the database. -CONFIG_CINDER_DB_PW={{ secret }} - -# Password to use for the Block Storage service to authenticate with -# the Identity service. -CONFIG_CINDER_KS_PW={{ secret }} - -# Storage backend to use for the Block Storage service; valid options -# are: lvm, gluster, nfs, vmdk, netapp. ['lvm', 'gluster', 'nfs', -# 'vmdk', 'netapp'] -CONFIG_CINDER_BACKEND=nfs - -# Specify 'y' to create the Block Storage volumes group. That is, -# Packstack creates a raw disk image in /var/lib/cinder, and mounts it -# using a loopback device. This should only be used for testing on a -# proof-of-concept installation of the Block Storage service (a file- -# backed volume group is not suitable for production usage). ['y', -# 'n'] -CONFIG_CINDER_VOLUMES_CREATE=y - -# Size of Block Storage volumes group. Actual volume size will be -# extended with 3% more space for VG metadata. Remember that the size -# of the volume group will restrict the amount of disk space that you -# can expose to Compute instances, and that the specified amount must -# be available on the device used for /var/lib/cinder. -CONFIG_CINDER_VOLUMES_SIZE=20G - -# A single or comma-separated list of Red Hat Storage (gluster) -# volume shares to mount. Example: 'ip-address:/vol-name', 'domain -# :/vol-name' -CONFIG_CINDER_GLUSTER_MOUNTS= - -# A single or comma-separated list of NFS exports to mount. Example: -# 'ip-address:/export-name' -CONFIG_CINDER_NFS_MOUNTS={{ address.storage }}:/export - -# Administrative user account name used to access the NetApp storage -# system or proxy server. -CONFIG_CINDER_NETAPP_LOGIN= - -# Password for the NetApp administrative user account specified in -# the CONFIG_CINDER_NETAPP_LOGIN parameter. -CONFIG_CINDER_NETAPP_PASSWORD= - -# Hostname (or IP address) for the NetApp storage system or proxy -# server. -CONFIG_CINDER_NETAPP_HOSTNAME= - -# The TCP port to use for communication with the storage system or -# proxy. If not specified, Data ONTAP drivers will use 80 for HTTP and -# 443 for HTTPS; E-Series will use 8080 for HTTP and 8443 for HTTPS. -# Defaults to 80. -CONFIG_CINDER_NETAPP_SERVER_PORT=80 - -# Storage family type used on the NetApp storage system; valid -# options are ontap_7mode for using Data ONTAP operating in 7-Mode, -# ontap_cluster for using clustered Data ONTAP, or E-Series for NetApp -# E-Series. Defaults to ontap_cluster. ['ontap_7mode', -# 'ontap_cluster', 'eseries'] -CONFIG_CINDER_NETAPP_STORAGE_FAMILY=ontap_cluster - -# The transport protocol used when communicating with the NetApp -# storage system or proxy server. Valid values are http or https. -# Defaults to 'http'. ['http', 'https'] -CONFIG_CINDER_NETAPP_TRANSPORT_TYPE=http - -# Storage protocol to be used on the data path with the NetApp -# storage system; valid options are iscsi, fc, nfs. Defaults to nfs. -# ['iscsi', 'fc', 'nfs'] -CONFIG_CINDER_NETAPP_STORAGE_PROTOCOL=nfs - -# Quantity to be multiplied by the requested volume size to ensure -# enough space is available on the virtual storage server (Vserver) to -# fulfill the volume creation request. Defaults to 1.0. -CONFIG_CINDER_NETAPP_SIZE_MULTIPLIER=1.0 - -# Time period (in minutes) that is allowed to elapse after the image -# is last accessed, before it is deleted from the NFS image cache. -# When a cache-cleaning cycle begins, images in the cache that have -# not been accessed in the last M minutes, where M is the value of -# this parameter, are deleted from the cache to create free space on -# the NFS share. Defaults to 720. -CONFIG_CINDER_NETAPP_EXPIRY_THRES_MINUTES=720 - -# If the percentage of available space for an NFS share has dropped -# below the value specified by this parameter, the NFS image cache is -# cleaned. Defaults to 20. -CONFIG_CINDER_NETAPP_THRES_AVL_SIZE_PERC_START=20 - -# When the percentage of available space on an NFS share has reached -# the percentage specified by this parameter, the driver stops -# clearing files from the NFS image cache that have not been accessed -# in the last M minutes, where M is the value of the -# CONFIG_CINDER_NETAPP_EXPIRY_THRES_MINUTES parameter. Defaults to 60. -CONFIG_CINDER_NETAPP_THRES_AVL_SIZE_PERC_STOP=60 - -# Single or comma-separated list of NetApp NFS shares for Block -# Storage to use. Format: ip-address:/export-name. Defaults to ''. -CONFIG_CINDER_NETAPP_NFS_SHARES= - -# File with the list of available NFS shares. Defaults to -# '/etc/cinder/shares.conf'. -CONFIG_CINDER_NETAPP_NFS_SHARES_CONFIG=/etc/cinder/shares.conf - -# This parameter is only utilized when the storage protocol is -# configured to use iSCSI or FC. This parameter is used to restrict -# provisioning to the specified controller volumes. Specify the value -# of this parameter to be a comma separated list of NetApp controller -# volume names to be used for provisioning. Defaults to ''. -CONFIG_CINDER_NETAPP_VOLUME_LIST= - -# The vFiler unit on which provisioning of block storage volumes will -# be done. This parameter is only used by the driver when connecting -# to an instance with a storage family of Data ONTAP operating in -# 7-Mode Only use this parameter when utilizing the MultiStore feature -# on the NetApp storage system. Defaults to ''. -CONFIG_CINDER_NETAPP_VFILER= - -# The name of the config.conf stanza for a Data ONTAP (7-mode) HA -# partner. This option is only used by the driver when connecting to -# an instance with a storage family of Data ONTAP operating in 7-Mode, -# and it is required if the storage protocol selected is FC. Defaults -# to ''. -CONFIG_CINDER_NETAPP_PARTNER_BACKEND_NAME= - -# This option specifies the virtual storage server (Vserver) name on -# the storage cluster on which provisioning of block storage volumes -# should occur. Defaults to ''. -CONFIG_CINDER_NETAPP_VSERVER= - -# Restricts provisioning to the specified controllers. Value must be -# a comma-separated list of controller hostnames or IP addresses to be -# used for provisioning. This option is only utilized when the storage -# family is configured to use E-Series. Defaults to ''. -CONFIG_CINDER_NETAPP_CONTROLLER_IPS= - -# Password for the NetApp E-Series storage array. Defaults to ''. -CONFIG_CINDER_NETAPP_SA_PASSWORD= - -# This option is used to define how the controllers in the E-Series -# storage array will work with the particular operating system on the -# hosts that are connected to it. Defaults to 'linux_dm_mp' -CONFIG_CINDER_NETAPP_ESERIES_HOST_TYPE=linux_dm_mp - -# Path to the NetApp E-Series proxy application on a proxy server. -# The value is combined with the value of the -# CONFIG_CINDER_NETAPP_TRANSPORT_TYPE, CONFIG_CINDER_NETAPP_HOSTNAME, -# and CONFIG_CINDER_NETAPP_HOSTNAME options to create the URL used by -# the driver to connect to the proxy application. Defaults to -# '/devmgr/v2'. -CONFIG_CINDER_NETAPP_WEBSERVICE_PATH=/devmgr/v2 - -# Restricts provisioning to the specified storage pools. Only dynamic -# disk pools are currently supported. The value must be a comma- -# separated list of disk pool names to be used for provisioning. -# Defaults to ''. -CONFIG_CINDER_NETAPP_STORAGE_POOLS= - -# Password to use for the OpenStack File Share service (manila) to -# access the database. -CONFIG_MANILA_DB_PW={{ secret }} - -# Password to use for the OpenStack File Share service (manila) to -# authenticate with the Identity service. -CONFIG_MANILA_KS_PW={{ secret }} - -# Backend for the OpenStack File Share service (manila); valid -# options are: generic or netapp. ['generic', 'netapp'] -CONFIG_MANILA_BACKEND=generic - -# Denotes whether the driver should handle the responsibility of -# managing share servers. This must be set to false if the driver is -# to operate without managing share servers. Defaults to 'false' -# ['true', 'false'] -CONFIG_MANILA_NETAPP_DRV_HANDLES_SHARE_SERVERS=false - -# The transport protocol used when communicating with the storage -# system or proxy server. Valid values are 'http' and 'https'. -# Defaults to 'https'. ['https', 'http'] -CONFIG_MANILA_NETAPP_TRANSPORT_TYPE=https - -# Administrative user account name used to access the NetApp storage -# system. Defaults to ''. -CONFIG_MANILA_NETAPP_LOGIN=admin - -# Password for the NetApp administrative user account specified in -# the CONFIG_MANILA_NETAPP_LOGIN parameter. Defaults to ''. -CONFIG_MANILA_NETAPP_PASSWORD= - -# Hostname (or IP address) for the NetApp storage system or proxy -# server. Defaults to ''. -CONFIG_MANILA_NETAPP_SERVER_HOSTNAME= - -# The storage family type used on the storage system; valid values -# are ontap_cluster for clustered Data ONTAP. Defaults to -# 'ontap_cluster'. ['ontap_cluster'] -CONFIG_MANILA_NETAPP_STORAGE_FAMILY=ontap_cluster - -# The TCP port to use for communication with the storage system or -# proxy server. If not specified, Data ONTAP drivers will use 80 for -# HTTP and 443 for HTTPS. Defaults to '443'. -CONFIG_MANILA_NETAPP_SERVER_PORT=443 - -# Pattern for searching available aggregates for NetApp provisioning. -# Defaults to '(.*)'. -CONFIG_MANILA_NETAPP_AGGREGATE_NAME_SEARCH_PATTERN=(.*) - -# Name of aggregate on which to create the NetApp root volume. This -# option only applies when the option -# CONFIG_MANILA_NETAPP_DRV_HANDLES_SHARE_SERVERS is set to True. -CONFIG_MANILA_NETAPP_ROOT_VOLUME_AGGREGATE= - -# NetApp root volume name. Defaults to 'root'. -CONFIG_MANILA_NETAPP_ROOT_VOLUME_NAME=root - -# This option specifies the storage virtual machine (previously -# called a Vserver) name on the storage cluster on which provisioning -# of shared file systems should occur. This option only applies when -# the option driver_handles_share_servers is set to False. Defaults to -# ''. -CONFIG_MANILA_NETAPP_VSERVER= - -# Denotes whether the driver should handle the responsibility of -# managing share servers. This must be set to false if the driver is -# to operate without managing share servers. Defaults to 'true'. -# ['true', 'false'] -CONFIG_MANILA_GENERIC_DRV_HANDLES_SHARE_SERVERS=true - -# Volume name template for Manila service. Defaults to 'manila- -# share-%s'. -CONFIG_MANILA_GENERIC_VOLUME_NAME_TEMPLATE=manila-share-%s - -# Share mount path for Manila service. Defaults to '/shares'. -CONFIG_MANILA_GENERIC_SHARE_MOUNT_PATH=/shares - -# Location of disk image for Manila service instance. Defaults to ' -CONFIG_MANILA_SERVICE_IMAGE_LOCATION=https://www.dropbox.com/s/vi5oeh10q1qkckh/ubuntu_1204_nfs_cifs.qcow2 - -# User in Manila service instance. -CONFIG_MANILA_SERVICE_INSTANCE_USER=ubuntu - -# Password to service instance user. -CONFIG_MANILA_SERVICE_INSTANCE_PASSWORD=ubuntu - -# Type of networking that the backend will use. A more detailed -# description of each option is available in the Manila docs. Defaults -# to 'neutron'. ['neutron', 'nova-network', 'standalone'] -CONFIG_MANILA_NETWORK_TYPE=neutron - -# Gateway IPv4 address that should be used. Required. Defaults to ''. -CONFIG_MANILA_NETWORK_STANDALONE_GATEWAY= - -# Network mask that will be used. Can be either decimal like '24' or -# binary like '255.255.255.0'. Required. Defaults to ''. -CONFIG_MANILA_NETWORK_STANDALONE_NETMASK= - -# Set it if network has segmentation (VLAN, VXLAN, etc). It will be -# assigned to share-network and share drivers will be able to use this -# for network interfaces within provisioned share servers. Optional. -# Example: 1001. Defaults to ''. -CONFIG_MANILA_NETWORK_STANDALONE_SEG_ID= - -# Can be IP address, range of IP addresses or list of addresses or -# ranges. Contains addresses from IP network that are allowed to be -# used. If empty, then will be assumed that all host addresses from -# network can be used. Optional. Examples: 10.0.0.10 or -# 10.0.0.10-10.0.0.20 or -# 10.0.0.10-10.0.0.20,10.0.0.30-10.0.0.40,10.0.0.50. Defaults to ''. -CONFIG_MANILA_NETWORK_STANDALONE_IP_RANGE= - -# IP version of network. Optional. Defaults to '4'. ['4', '6'] -CONFIG_MANILA_NETWORK_STANDALONE_IP_VERSION=4 - -# Password to use for OpenStack Bare Metal Provisioning (ironic) to -# access the database. -CONFIG_IRONIC_DB_PW={{ secret }} - -# Password to use for OpenStack Bare Metal Provisioning to -# authenticate with the Identity service. -CONFIG_IRONIC_KS_PW={{ secret }} - -# Password to use for the Compute service (nova) to access the -# database. -CONFIG_NOVA_DB_PW={{ secret }} - -# Password to use for the Compute service to authenticate with the -# Identity service. -CONFIG_NOVA_KS_PW={{ secret }} - -# Overcommitment ratio for virtual to physical CPUs. Specify 1.0 to -# disable CPU overcommitment. -CONFIG_NOVA_SCHED_CPU_ALLOC_RATIO=16.0 - -# Overcommitment ratio for virtual to physical RAM. Specify 1.0 to -# disable RAM overcommitment. -CONFIG_NOVA_SCHED_RAM_ALLOC_RATIO=1.5 - -# Protocol used for instance migration. Valid options are: tcp and -# ssh. Note that by default, the Compute user is created with the -# /sbin/nologin shell so that the SSH protocol will not work. To make -# the SSH protocol work, you must configure the Compute user on -# compute hosts manually. ['tcp', 'ssh'] -CONFIG_NOVA_COMPUTE_MIGRATE_PROTOCOL=tcp - -# Manager that runs the Compute service. -CONFIG_NOVA_COMPUTE_MANAGER=nova.compute.manager.ComputeManager - -# Private interface for flat DHCP on the Compute servers. -CONFIG_NOVA_COMPUTE_PRIVIF=eth1 - -# Compute Network Manager. ['^nova\.network\.manager\.\w+Manager$'] -CONFIG_NOVA_NETWORK_MANAGER=nova.network.manager.FlatDHCPManager - -# Public interface on the Compute network server. -CONFIG_NOVA_NETWORK_PUBIF=eth0 - -# Private interface for flat DHCP on the Compute network server. -CONFIG_NOVA_NETWORK_PRIVIF=eth1 - -# IP Range for flat DHCP. ['^[\:\.\da-fA-f]+(\/\d+){0,1}$'] -CONFIG_NOVA_NETWORK_FIXEDRANGE=192.168.32.0/22 - -# IP Range for floating IP addresses. ['^[\:\.\da- -# fA-f]+(\/\d+){0,1}$'] -CONFIG_NOVA_NETWORK_FLOATRANGE=10.3.4.0/22 - -# Specify 'y' to automatically assign a floating IP to new instances. -# ['y', 'n'] -CONFIG_NOVA_NETWORK_AUTOASSIGNFLOATINGIP=n - -# First VLAN for private networks (Compute networking). -CONFIG_NOVA_NETWORK_VLAN_START=100 - -# Number of networks to support (Compute networking). -CONFIG_NOVA_NETWORK_NUMBER=1 - -# Number of addresses in each private subnet (Compute networking). -CONFIG_NOVA_NETWORK_SIZE=255 - -# Password to use for OpenStack Networking (neutron) to authenticate -# with the Identity service. -CONFIG_NEUTRON_KS_PW={{ secret }} - -# The password to use for OpenStack Networking to access the -# database. -CONFIG_NEUTRON_DB_PW={{ secret }} - -# The name of the Open vSwitch bridge (or empty for linuxbridge) for -# the OpenStack Networking L3 agent to use for external traffic. -# Specify 'provider' if you intend to use a provider network to handle -# external traffic. -#CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex -CONFIG_NEUTRON_L3_EXT_BRIDGE=provider - -# Password for the OpenStack Networking metadata agent. -CONFIG_NEUTRON_METADATA_PW={{ secret }} - -# Specify 'y' to install OpenStack Networking's Load-Balancing- -# as-a-Service (LBaaS). ['y', 'n'] -CONFIG_LBAAS_INSTALL=y - -# Specify 'y' to install OpenStack Networking's L3 Metering agent -# ['y', 'n'] -CONFIG_NEUTRON_METERING_AGENT_INSTALL={{ 'y' if components.ceilometer == true else 'n' }} - -# Specify 'y' to configure OpenStack Networking's Firewall- -# as-a-Service (FWaaS). ['y', 'n'] -CONFIG_NEUTRON_FWAAS=y - -# Comma-separated list of network-type driver entry points to be -# loaded from the neutron.ml2.type_drivers namespace. ['local', -# 'flat', 'vlan', 'gre', 'vxlan'] -CONFIG_NEUTRON_ML2_TYPE_DRIVERS={{ network.type }},flat - -# Comma-separated, ordered list of network types to allocate as -# tenant networks. The 'local' value is only useful for single-box -# testing and provides no connectivity between hosts. ['local', -# 'vlan', 'gre', 'vxlan'] -CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES={{ network.type }} - -# Comma-separated ordered list of networking mechanism driver entry -# points to be loaded from the neutron.ml2.mechanism_drivers -# namespace. ['logger', 'test', 'linuxbridge', 'openvswitch', -# 'hyperv', 'ncs', 'arista', 'cisco_nexus', 'mlnx', 'l2population'] -CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS={{ network.agent }} - -# Comma-separated list of physical_network names with which flat -# networks can be created. Use * to allow flat networks with arbitrary -# physical_network names. -CONFIG_NEUTRON_ML2_FLAT_NETWORKS=* - -# Comma-separated list of :: or -# specifying physical_network names usable for VLAN -# provider and tenant networks, as well as ranges of VLAN tags on each -# available for allocation to tenant networks. -CONFIG_NEUTRON_ML2_VLAN_RANGES=physnet:1000:2000 - -# Comma-separated list of : tuples enumerating -# ranges of GRE tunnel IDs that are available for tenant-network -# allocation. A tuple must be an array with tun_max +1 - tun_min > -# 1000000. -CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=1000:2000 - -# Comma-separated list of addresses for VXLAN multicast group. If -# left empty, disables VXLAN from sending allocate broadcast traffic -# (disables multicast VXLAN mode). Should be a Multicast IP (v4 or v6) -# address. -CONFIG_NEUTRON_ML2_VXLAN_GROUP= - -# Comma-separated list of : tuples enumerating -# ranges of VXLAN VNI IDs that are available for tenant network -# allocation. Minimum value is 0 and maximum value is 16777215. -CONFIG_NEUTRON_ML2_VNI_RANGES=10:100 - -# Name of the L2 agent to be used with OpenStack Networking. -# ['linuxbridge', 'openvswitch'] -CONFIG_NEUTRON_L2_AGENT={{ network.agent }} - -# Comma-separated list of interface mappings for the OpenStack -# Networking linuxbridge plugin. Each tuple in the list must be in the -# format :. Example: -# physnet1:eth1,physnet2:eth2,physnet3:eth3. -CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS= - -# Comma-separated list of bridge mappings for the OpenStack -# Networking Open vSwitch plugin. Each tuple in the list must be in -# the format :. Example: physnet1:br- -# eth1,physnet2:br-eth2,physnet3:br-eth3 -#CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=physnet:br-ex -CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=external:br-ex - -# Comma-separated list of colon-separated Open vSwitch -# : pairs. The interface will be added to the -# associated bridge. -CONFIG_NEUTRON_OVS_BRIDGE_IFACES= - -# Interface for the Open vSwitch tunnel. Packstack overrides the IP -# address used for tunnels on this hypervisor to the IP found on the -# specified interface (for example, eth1). -CONFIG_NEUTRON_OVS_TUNNEL_IF={{ network.tunnel_interface }} - -# VXLAN UDP port. -CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789 - -# Specify 'y' to set up Horizon communication over https. ['y', 'n'] -CONFIG_HORIZON_SSL=n - -# PEM-encoded certificate to be used for SSL connections on the https -# server (the certificate should not require a passphrase). To -# generate a certificate, leave blank. -CONFIG_SSL_CERT= - -# SSL keyfile corresponding to the certificate if one was specified. -CONFIG_SSL_KEY= - -# PEM-encoded CA certificates from which the certificate chain of the -# server certificate can be assembled. -CONFIG_SSL_CACHAIN= - -# Password to use for the Object Storage service to authenticate with -# the Identity service. -CONFIG_SWIFT_KS_PW={{ secret }} - -# Comma-separated list of devices to use as storage device for Object -# Storage. Each entry must take the format /path/to/dev (for example, -# specifying /dev/vdb installs /dev/vdb as the Object Storage storage -# device; Packstack does not create the filesystem, you must do this -# first). If left empty, Packstack creates a loopback device for test -# setup. -CONFIG_SWIFT_STORAGES=/dev/sdc,/dev/sdd - -# Number of Object Storage storage zones; this number MUST be no -# larger than the number of configured storage devices. -CONFIG_SWIFT_STORAGE_ZONES=2 - -# Number of Object Storage storage replicas; this number MUST be no -# larger than the number of configured storage zones. -CONFIG_SWIFT_STORAGE_REPLICAS=2 - -# File system type for storage nodes. ['xfs', 'ext4'] -CONFIG_SWIFT_STORAGE_FSTYPE=xfs - -# Custom seed number to use for swift_hash_path_suffix in -# /etc/swift/swift.conf. If you do not provide a value, a seed number -# is automatically generated. -CONFIG_SWIFT_HASH={{ secret }} - -# Size of the Object Storage loopback file storage device. -CONFIG_SWIFT_STORAGE_SIZE=2G - -# Password used by Orchestration service user to authenticate against -# the database. -CONFIG_HEAT_DB_PW={{ secret }} - -# Encryption key to use for authentication in the Orchestration -# database (16, 24, or 32 chars). -CONFIG_HEAT_AUTH_ENC_KEY=eNan6bah8aengeed - -# Password to use for the Orchestration service to authenticate with -# the Identity service. -CONFIG_HEAT_KS_PW={{ secret }} - -# Specify 'y' to install the Orchestration CloudWatch API. ['y', 'n'] -CONFIG_HEAT_CLOUDWATCH_INSTALL={{ 'y' if components.heat == true else 'n' }} - -# Specify 'y' to install the Orchestration CloudFormation API. ['y', -# 'n'] -CONFIG_HEAT_CFN_INSTALL={{ 'y' if components.heat == true else 'n' }} - -# Name of the Identity domain for Orchestration. -CONFIG_HEAT_DOMAIN=heat - -# Name of the Identity domain administrative user for Orchestration. -CONFIG_HEAT_DOMAIN_ADMIN=heat_admin - -# Password for the Identity domain administrative user for -# Orchestration. -CONFIG_HEAT_DOMAIN_PASSWORD={{ secret }} - -# Specify 'y' to provision for demo usage and testing. ['y', 'n'] -CONFIG_PROVISION_DEMO=n - -# Specify 'y' to configure the OpenStack Integration Test Suite -# (tempest) for testing. The test suite requires OpenStack Networking -# to be installed. ['y', 'n'] -CONFIG_PROVISION_TEMPEST={{ 'y' if components.tempest == true else 'n' }} - -# CIDR network address for the floating IP subnet. -CONFIG_PROVISION_DEMO_FLOATRANGE=172.24.4.224/28 - -# The name to be assigned to the demo image in Glance (default -# "cirros"). -CONFIG_PROVISION_IMAGE_NAME=cirros - -# A URL or local file location for an image to download and provision -# in Glance (defaults to a URL for a recent "cirros" image). -CONFIG_PROVISION_IMAGE_URL=http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img - -# Format for the demo image (default "qcow2"). -CONFIG_PROVISION_IMAGE_FORMAT=qcow2 - -# User to use when connecting to instances booted from the demo -# image. -CONFIG_PROVISION_IMAGE_SSH_USER=cirros - -# Name of the Integration Test Suite provisioning user. If you do not -# provide a user name, Tempest is configured in a standalone mode. -CONFIG_PROVISION_TEMPEST_USER= - -# Password to use for the Integration Test Suite provisioning user. -CONFIG_PROVISION_TEMPEST_USER_PW={{ secret }} - -# CIDR network address for the floating IP subnet. -CONFIG_PROVISION_TEMPEST_FLOATRANGE=172.24.4.224/28 - -# URI of the Integration Test Suite git repository. -CONFIG_PROVISION_TEMPEST_REPO_URI=https://github.com/openstack/tempest.git - -# Revision (branch) of the Integration Test Suite git repository. -CONFIG_PROVISION_TEMPEST_REPO_REVISION=master - -# Specify 'y' to configure the Open vSwitch external bridge for an -# all-in-one deployment (the L3 external bridge acts as the gateway -# for virtual machines). ['y', 'n'] -CONFIG_PROVISION_ALL_IN_ONE_OVS_BRIDGE=n - -# Secret key for signing Telemetry service (ceilometer) messages. -CONFIG_CEILOMETER_SECRET={{ secret }} - -# Password to use for Telemetry to authenticate with the Identity -# service. -CONFIG_CEILOMETER_KS_PW={{ secret }} - -# Backend driver for Telemetry's group membership coordination. -# ['redis', 'none'] -CONFIG_CEILOMETER_COORDINATION_BACKEND=redis - -# IP address of the server on which to install MongoDB. -CONFIG_MONGODB_HOST={{ address.controller }} - -# IP address of the server on which to install the Redis master -# server. -CONFIG_REDIS_MASTER_HOST={{ address.controller }} - -# Port on which the Redis server(s) listens. -CONFIG_REDIS_PORT=6379 - -# Specify 'y' to have Redis try to use HA. ['y', 'n'] -CONFIG_REDIS_HA=n - -# Hosts on which to install Redis slaves. -CONFIG_REDIS_SLAVE_HOSTS= - -# Hosts on which to install Redis sentinel servers. -CONFIG_REDIS_SENTINEL_HOSTS= - -# Host to configure as the Redis coordination sentinel. -CONFIG_REDIS_SENTINEL_CONTACT_HOST= - -# Port on which Redis sentinel servers listen. -CONFIG_REDIS_SENTINEL_PORT=26379 - -# Quorum value for Redis sentinel servers. -CONFIG_REDIS_SENTINEL_QUORUM=2 - -# Name of the master server watched by the Redis sentinel. ['[a-z]+'] -CONFIG_REDIS_MASTER_NAME=mymaster - -# Password to use for OpenStack Data Processing (sahara) to access -# the database. -CONFIG_SAHARA_DB_PW={{ secret }} - -# Password to use for OpenStack Data Processing to authenticate with -# the Identity service. -CONFIG_SAHARA_KS_PW={{ secret }} - -# Password to use for OpenStack Database-as-a-Service (trove) to -# access the database. -CONFIG_TROVE_DB_PW={{ secret }} - -# Password to use for OpenStack Database-as-a-Service to authenticate -# with the Identity service. -CONFIG_TROVE_KS_PW={{ secret }} - -# User name to use when OpenStack Database-as-a-Service connects to -# the Compute service. -CONFIG_TROVE_NOVA_USER=admin - -# Tenant to use when OpenStack Database-as-a-Service connects to the -# Compute service. -CONFIG_TROVE_NOVA_TENANT=services - -# Password to use when OpenStack Database-as-a-Service connects to -# the Compute service. -CONFIG_TROVE_NOVA_PW={{ secret }} - -# Password of the nagiosadmin user on the Nagios server. -CONFIG_NAGIOS_PW={{ secret }} diff --git a/files/scripts/nova_fake.sh b/files/scripts/nova_fake.sh deleted file mode 100644 index ca316ca..0000000 --- a/files/scripts/nova_fake.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -for node in $(sed -n '/<<< Packstack >>>/{:a;n;/>>> Packstack << - Options +Indexes - AllowOverride None - Require all granted - -EOT - -sudo sed -i "s## Include /etc/httpd/conf.d/rally.conf\n#" /etc/httpd/conf.d/15-horizon_vhost.conf -sudo systemctl restart httpd diff --git a/files/scripts/setup.sh.j2 b/files/scripts/setup.sh.j2 deleted file mode 100644 index 6278fa7..0000000 --- a/files/scripts/setup.sh.j2 +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -source /home/vagrant/openrc - -glance image-create --name "Fedora 22" --disk-format qcow2 --container-format bare --is-public True --copy http://ftp-stud.hs-esslingen.de/pub/fedora/linux/releases/22/Cloud/x86_64/Images/Fedora-Cloud-Base-22-20150521.x86_64.qcow2 -glance image-create --name "Ubuntu 14.04" --disk-format qcow2 --container-format bare --is-public True --copy https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img -glance image-create --name "CentOS 7" --disk-format qcow2 --container-format bare --is-public True --copy http://cloud.centos.org/centos/7/devel/CentOS-7-x86_64-GenericCloud.qcow2 -glance image-create --name "Cirros 0.3.4" --disk-format qcow2 --container-format bare --is-public True --copy http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img -glance image-create --name "Debian Jessie" --disk-format qcow2 --container-format bare --is-public True --copy http://cdimage.debian.org/cdimage/openstack/testing/debian-testing-openstack-amd64.qcow2 -nova secgroup-add-rule default tcp 22 22 0.0.0.0/0 -nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0 -nova keypair-add --pub_key /home/vagrant/.ssh/id_rsa.pub default -nova flavor-show m1.nano > /dev/null -if [[ $? -ne 0 ]]; then - nova flavor-create m1.nano 42 64 0 1 -fi -nova flavor-show m1.micro > /dev/null -if [[ $? -ne 0 ]]; then - nova flavor-create m1.micro 84 128 0 1 -fi - -openstack role add admin --project services --user admin -OS_TENANT_NAME=services neutron net-create floating001 --router:external --provider:physical_network external --provider:network_type flat -OS_TENANT_NAME=services neutron subnet-create --name floating001 --allocation-pool start={{ network.external.start }},end={{ network.external.end }} --disable-dhcp --gateway {{ address.network }} --dns-nameserver {{ network.dns1 }} --dns-nameserver {{ network.dns2 }} floating001 {{ network.external.network }} - -neutron net-create internal001 -neutron subnet-create --name internal001 --dns-nameserver {{ network.dns1 }} --dns-nameserver {{ network.dns2 }} internal001 {{ network.internal.network }} -neutron router-create internal001 -neutron router-interface-add internal001 internal001 -neutron router-gateway-set internal001 floating001 diff --git a/files/selinux b/files/selinux deleted file mode 100644 index 9b2ba6b..0000000 --- a/files/selinux +++ /dev/null @@ -1,11 +0,0 @@ -# This file controls the state of SELinux on the system. -# SELINUX= can take one of these three values: -# enforcing - SELinux security policy is enforced. -# permissive - SELinux prints warnings instead of enforcing. -# disabled - No SELinux policy is loaded. -SELINUX=permissive -# SELINUXTYPE= can take one of these two values: -# targeted - Targeted processes are protected, -# minimum - Modification of targeted policy. Only selected processes are protected. -# mls - Multi Level Security protection. -SELINUXTYPE=targeted diff --git a/playbook.yaml b/playbook.yaml deleted file mode 100644 index ba000ff..0000000 --- a/playbook.yaml +++ /dev/null @@ -1,11 +0,0 @@ -- hosts: all - sudo: True - tasks: - - include_vars: config.yaml - - include: ansible/initialize.yaml - - include: ansible/controller.yaml - when: inventory_hostname_short == 'controller' - - include: ansible/network.yaml - when: inventory_hostname_short == 'network' - - include: ansible/storage.yaml - when: inventory_hostname_short == 'storage' diff --git a/scripts/check_yaml_syntax.py b/scripts/check_yaml_syntax.py deleted file mode 100644 index 26abda7..0000000 --- a/scripts/check_yaml_syntax.py +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env python - -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import sys - -import yaml - -sys.tracebacklimit = 0 -yaml.load(open("config.yaml.sample")) diff --git a/scripts/initialize.sh b/scripts/initialize.sh deleted file mode 100644 index 10ea2b6..0000000 --- a/scripts/initialize.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -for node in $(sed -n '/<<< Packstack >>>/{:a;n;/>>> Packstack <<> /home/vagrant/.ssh/known_hosts -done - -for node in $(sed -n '/<<< Packstack >>>/{:a;n;/>>> Packstack <<> /home/vagrant/.ssh/known_hosts -done - -chown vagrant:vagrant /home/vagrant/.ssh/known_hosts - -for node in $(sed -n '/<<< Packstack >>>/{:a;n;/>>> Packstack <<=0.6,!=0.7,<1.0 -sphinx diff --git a/tests/hosts.test b/tests/hosts.test deleted file mode 100644 index 75474c8..0000000 --- a/tests/hosts.test +++ /dev/null @@ -1,2 +0,0 @@ -[local] -127.0.0.1 diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 40fa212..0000000 --- a/tox.ini +++ /dev/null @@ -1,31 +0,0 @@ -[tox] -minversion = 1.6 -envlist = docs,lint -skipsdist = True - -[testenv] -usedevelop = False -deps = -r{toxinidir}/test-requirements.txt -install_command = pip install {opts} {packages} - -[testenv:venv] -commands = {posargs} - -[testenv:docs] -commands = python setup.py build_sphinx - -[testenv:lint] -whitelist_externals = bash -commands = - ansible-playbook --syntax-check -i tests/hosts.test playbook.yaml - bash -c "find {toxinidir} \ - \( -wholename \*/files/\*.sh -or \ - -wholename \*/scripts/\*.sh \) -print0 | \ - xargs -0 bashate -v" - doc8 -e rst doc README.rst - flake8 - python scripts/check_yaml_syntax.py config.yaml.sample - -[flake8] -show-source = True -exclude=.venv,.git,.tox,*egg*