diff --git a/.gitignore b/.gitignore index 726885683..b793b5655 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,9 @@ *.swp *.log .tox +vendor/* +Gemfile.lock packstack.egg-info +docs/build +releasenotes/build +.stestr diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 3b435ee38..000000000 --- a/.gitmodules +++ /dev/null @@ -1,96 +0,0 @@ -[submodule "packstack/puppet/modules/glance"] - path = packstack/puppet/modules/glance - url = https://github.com/stackforge/puppet-glance.git -[submodule "packstack/puppet/modules/horizon"] - path = packstack/puppet/modules/horizon - url = https://github.com/stackforge/puppet-horizon.git -[submodule "packstack/puppet/modules/keystone"] - path = packstack/puppet/modules/keystone - url = https://github.com/packstack/puppet-keystone.git -[submodule "packstack/puppet/modules/nova"] - path = packstack/puppet/modules/nova - url = https://github.com/stackforge/puppet-nova.git -[submodule "packstack/puppet/modules/openstack"] - path = packstack/puppet/modules/openstack - url = https://github.com/stackforge/puppet-openstack.git -[submodule "packstack/puppet/modules/swift"] - path = packstack/puppet/modules/swift - url = https://github.com/stackforge/puppet-swift.git -[submodule "packstack/puppet/modules/cinder"] - path = packstack/puppet/modules/cinder - url = https://github.com/stackforge/puppet-cinder.git -[submodule "packstack/puppet/modules/stdlib"] - path = packstack/puppet/modules/stdlib - url = https://github.com/puppetlabs/puppetlabs-stdlib.git -[submodule "packstack/puppet/modules/sysctl"] - path = packstack/puppet/modules/sysctl - url = https://github.com/puppetlabs/puppetlabs-sysctl.git -[submodule "packstack/puppet/modules/mysql"] - path = packstack/puppet/modules/mysql - url = https://github.com/packstack/puppetlabs-mysql.git -[submodule "packstack/puppet/modules/concat"] - path = packstack/puppet/modules/concat - url = https://github.com/ripienaar/puppet-concat.git -[submodule "packstack/puppet/modules/rsync"] - path = packstack/puppet/modules/rsync - url = https://github.com/puppetlabs/puppetlabs-rsync.git -[submodule "packstack/puppet/modules/xinetd"] - path = packstack/puppet/modules/xinetd - url = https://github.com/packstack/puppetlabs-xinetd.git -[submodule "packstack/puppet/modules/apache"] - path = packstack/puppet/modules/apache - url = https://github.com/puppetlabs/puppetlabs-apache.git -[submodule "packstack/puppet/modules/firewall"] - path = packstack/puppet/modules/firewall - url = https://github.com/puppetlabs/puppetlabs-firewall.git -[submodule "packstack/puppet/modules/memcached"] - path = packstack/puppet/modules/memcached - url = https://github.com/saz/puppet-memcached.git -[submodule "packstack/puppet/modules/ssh"] - path = packstack/puppet/modules/ssh - url = https://github.com/saz/puppet-ssh.git -[submodule "packstack/puppet/modules/inifile"] - path = packstack/puppet/modules/inifile - url = https://github.com/puppetlabs/puppetlabs-inifile.git -[submodule "packstack/puppet/modules/qpid"] - path = packstack/puppet/modules/qpid - url = https://github.com/dprince/puppet-qpid -[submodule "packstack/puppet/modules/vlan"] - path = packstack/puppet/modules/vlan - url = https://github.com/derekhiggins/puppet-vlan.git -[submodule "packstack/puppet/modules/vswitch"] - path = packstack/puppet/modules/vswitch - url = https://github.com/stackforge/puppet-vswitch.git -[submodule "packstack/puppet/modules/tempest"] - path = packstack/puppet/modules/tempest - url = git://github.com/stackforge/puppet-tempest.git -[submodule "packstack/puppet/modules/vcsrepo"] - path = packstack/puppet/modules/vcsrepo - url = https://github.com/puppetlabs/puppetlabs-vcsrepo.git -[submodule "packstack/puppet/modules/neutron"] - path = packstack/puppet/modules/neutron - url = https://github.com/stackforge/puppet-neutron.git -[submodule "packstack/puppet/modules/haproxy"] - path = packstack/puppet/modules/haproxy - url = https://github.com/puppetlabs/puppetlabs-haproxy.git -[submodule "packstack/puppet/modules/ceilometer"] - path = packstack/puppet/modules/ceilometer - url = https://github.com/stackforge/puppet-ceilometer.git -[submodule "packstack/puppet/modules/mongodb"] - path = packstack/puppet/modules/mongodb - url = https://github.com/puppetlabs/puppetlabs-mongodb.git -[submodule "packstack/puppet/modules/heat"] - path = packstack/puppet/modules/heat - url = https://github.com/packstack/puppet-heat.git -[submodule "packstack/puppet/modules/pacemaker"] - path = packstack/puppet/modules/pacemaker - url = https://github.com/radez/puppet-pacemaker.git -[submodule "packstack/puppet/modules/certmonger"] - path = packstack/puppet/modules/certmonger - url = git://github.com/rcritten/puppet-certmonger.git -[submodule "packstack/puppet/modules/nssdb"] - path = packstack/puppet/modules/nssdb - url = https://github.com/rcritten/puppet-nssdb.git -[submodule "packstack/puppet/modules/gluster"] - path = packstack/puppet/modules/gluster - url = https://github.com/redhat-openstack/puppet-openstack-storage.git diff --git a/.gitreview b/.gitreview index 0a64477e8..463987619 100644 --- a/.gitreview +++ b/.gitreview @@ -1,4 +1,4 @@ [gerrit] -host=review.openstack.org +host=review.opendev.org port=29418 -project=stackforge/packstack.git +project=x/packstack.git diff --git a/.stestr.conf b/.stestr.conf new file mode 100644 index 000000000..ea359caed --- /dev/null +++ b/.stestr.conf @@ -0,0 +1,3 @@ +[DEFAULT] +test_path=./tests +top_dir=./ diff --git a/.testr.conf b/.testr.conf new file mode 100644 index 000000000..081907d59 --- /dev/null +++ b/.testr.conf @@ -0,0 +1,4 @@ +[DEFAULT] +test_command=${PYTHON:-python} -m subunit.run discover -t ./ ./tests $LISTOPT $IDOPTION +test_id_option=--load-list $IDFILE +test_list_option=--list diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 000000000..5958c5edb --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,202 @@ +- job: + name: packstack-base + parent: base + timeout: 7200 + post-run: playbooks/upload-logs.yaml + irrelevant-files: + - ^docs/.*$ + - ^releasenotes/.*$ + required-projects: + - x/packstack + - openstack/puppet-aodh + - openstack/puppet-ceilometer + - openstack/puppet-cinder + - openstack/puppet-glance + - openstack/puppet-gnocchi + - openstack/puppet-heat + - openstack/puppet-magnum + - openstack/puppet-horizon + - openstack/puppet-ironic + - openstack/puppet-keystone + - openstack/puppet-manila + - openstack/puppet-neutron + - openstack/puppet-nova + - openstack/puppet-openstacklib + - openstack/puppet-oslo + - openstack/puppet-ovn + - openstack/puppet-placement + - openstack/puppet-swift + - openstack/puppet-tempest + - openstack/puppet-trove + - openstack/puppet-vswitch + +- job: + name: packstack-centos9 + parent: packstack-base + vars: + selinux_enforcing: "false" + delorean: "https://trunk.rdoproject.org/centos9-master/puppet-passed-ci/delorean.repo" + delorean_deps: "https://trunk.rdoproject.org/centos9-master/delorean-deps.repo" + pre-run: playbooks/packstack-centos9-pre.yaml + nodeset: + nodes: + - name: centos9s + label: centos-9-stream + run: playbooks/packstack-integration-tempest.yaml + +- job: + name: packstack-multinode-centos9 + parent: packstack-base + vars: + selinux_enforcing: "false" + delorean: "https://trunk.rdoproject.org/centos9-master/puppet-passed-ci/delorean.repo" + delorean_deps: "https://trunk.rdoproject.org/centos9-master/delorean-deps.repo" + pre-run: playbooks/packstack-centos9-pre.yaml + post-run: playbooks/packstack-post-compute.yaml + nodeset: + nodes: + - name: controller + label: centos-9-stream + - name: compute + label: centos-9-stream + run: playbooks/packstack-multinode.yaml + +- job: + name: packstack-centos9s-integration-scenario001 + parent: packstack-centos9 + vars: + scenario: scenario001 + +- job: + name: packstack-centos9s-integration-scenario002 + parent: packstack-centos9 + vars: + scenario: scenario002 + +- job: + name: packstack-centos9s-integration-scenario003 + parent: packstack-centos9 + vars: + scenario: scenario003 + +- job: + name: packstack-centos9s-multinode-scenario002-tempest + parent: packstack-multinode-centos9 + post-run: playbooks/packstack-post-compute.yaml + vars: + scenario: scenario002 + +- secret: + name: packstack_git_mirror_credentials_master + data: + user: git + host: github.com + host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA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bfeMZ7V9NFqPLLjWInUpcq1lY8i9NWlPm36l9QX0vX0fxRwmj1f+VKJuoksltMjXA + fZIkKxUYUJ/zYybxdRymCATmlvWN/+YI/xgnLwfB/mHDJiOwiM1GRrcZzKyz9pyU5oS7z + 4xI9SSUqqnEpjki+/kTRDVnv1d3WmJSwCvty1DfyPoQ8J2LqbH3sN6JNcQs2NE= + +- job: + name: packstack-upload-git-mirror + parent: upload-git-mirror + description: Mirrors x/packstack to redhat-openstack/packstack + allowed-projects: x/packstack + vars: + git_mirror_repository: redhat-openstack/packstack + secrets: + - name: git_mirror_credentials + secret: packstack_git_mirror_credentials_master + pass-to-parent: true + +- project: + check: + jobs: + - openstack-tox-pep8 + - openstack-tox-py39 + - openstack-tox-py312 + - build-openstack-releasenotes: + vars: + sphinx_python: python3 + - packstack-centos9s-integration-scenario001 + - packstack-centos9s-integration-scenario002 + - packstack-centos9s-integration-scenario003 + - packstack-centos9s-multinode-scenario002-tempest + gate: + jobs: + - openstack-tox-pep8 + - openstack-tox-py39 + - openstack-tox-py312 + - build-openstack-releasenotes: + vars: + sphinx_python: python3 + - packstack-centos9s-integration-scenario001 + - packstack-centos9s-integration-scenario002 + - packstack-centos9s-integration-scenario003 + - packstack-centos9s-multinode-scenario002-tempest + post: + jobs: + - packstack-upload-git-mirror + release: + jobs: + - packstack-upload-git-mirror + pre-release: + jobs: + - packstack-upload-git-mirror diff --git a/Gemfile b/Gemfile new file mode 100644 index 000000000..30b0ca6c8 --- /dev/null +++ b/Gemfile @@ -0,0 +1,25 @@ +source ENV["GEM_SOURCE"] || "https://rubygems.org" + +group :development, :test do + gem 'puppetlabs_spec_helper', :require => false + + gem 'puppet-lint-param-docs' + gem 'puppet-lint-absolute_classname-check' + gem 'puppet-lint-absolute_template_path' + gem 'puppet-lint-trailing_newline-check' + + # Puppet 4.x related lint checks + gem 'puppet-lint-unquoted_string-check' + gem 'puppet-lint-leading_zero-check' + gem 'puppet-lint-variable_contains_upcase' + gem 'puppet-lint-numericvariable' + +end + +if puppetversion = ENV['PUPPET_GEM_VERSION'] + gem 'puppet', puppetversion, :require => false +else + gem 'puppet', :require => false +end + +# vim:ft=ruby diff --git a/MANIFEST.in b/MANIFEST.in index fa1e2b820..c87312f16 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,6 @@ include docs/* include LICENSE +include README.md recursive-include packstack/puppet * recursive-include packstack/templates * global-exclude .gitignore diff --git a/Puppetfile b/Puppetfile new file mode 100644 index 000000000..589ad01f6 --- /dev/null +++ b/Puppetfile @@ -0,0 +1,156 @@ +# Auto-generated Puppetfile for Packstack project + +moduledir '/usr/share/openstack-puppet/modules' + +## OpenStack modules + +mod 'aodh', + :git => 'https://github.com/openstack/puppet-aodh', + :ref => 'master' + +mod 'ceilometer', + :git => 'https://github.com/openstack/puppet-ceilometer', + :ref => 'master' + +mod 'cinder', + :git => 'https://github.com/openstack/puppet-cinder', + :ref => 'master' + +mod 'glance', + :git => 'https://github.com/openstack/puppet-glance', + :ref => 'master' + +mod 'gnocchi', + :git => 'https://github.com/openstack/puppet-gnocchi', + :ref => 'master' + +mod 'heat', + :git => 'https://github.com/openstack/puppet-heat', + :ref => 'master' + +mod 'horizon', + :git => 'https://github.com/openstack/puppet-horizon', + :ref => 'master' + +mod 'ironic', + :git => 'https://github.com/openstack/puppet-ironic', + :ref => 'master' + +mod 'keystone', + :git => 'https://github.com/openstack/puppet-keystone', + :ref => 'master' + +mod 'magnum', + :git => 'https://github.com/openstack/puppet-magnum', + :ref => 'master' + +mod 'manila', + :git => 'https://github.com/openstack/puppet-manila', + :ref => 'master' + +mod 'neutron', + :git => 'https://github.com/openstack/puppet-neutron', + :ref => 'master' + +mod 'nova', + :git => 'https://github.com/openstack/puppet-nova', + :ref => 'master' + +mod 'openstacklib', + :git => 'https://github.com/openstack/puppet-openstacklib', + :ref => 'master' + +mod 'oslo', + :git => 'https://github.com/openstack/puppet-oslo', + :ref => 'master' + +mod 'ovn', + :git => 'https://github.com/openstack/puppet-ovn', + :ref => 'master' + +mod 'placement', + :git => 'https://github.com/openstack/puppet-placement', + :ref => 'master' + +mod 'swift', + :git => 'https://github.com/openstack/puppet-swift', + :ref => 'master' + +mod 'tempest', + :git => 'https://github.com/openstack/puppet-tempest', + :ref => 'master' + +mod 'trove', + :git => 'https://github.com/openstack/puppet-trove', + :ref => 'master' + +mod 'vswitch', + :git => 'https://github.com/openstack/puppet-vswitch', + :ref => 'master' + +## Non-OpenStack modules + +mod 'apache', + :git => 'https://github.com/puppetlabs/puppetlabs-apache', + :ref => 'v12.3.1' + +mod 'concat', + :git => 'https://github.com/puppetlabs/puppetlabs-concat', + :ref => 'v9.1.0' + +mod 'firewall', + :git => 'https://github.com/puppetlabs/puppetlabs-firewall', + :ref => 'v8.1.7' + +mod 'inifile', + :git => 'https://github.com/puppetlabs/puppetlabs-inifile', + :ref => 'v6.2.0' + +mod 'memcached', + :git => 'https://github.com/saz/puppet-memcached', + :ref => 'v10.0.1' + +mod 'mysql', + :git => 'https://github.com/puppetlabs/puppetlabs-mysql', + :ref => 'v16.2.0' + +mod 'nssdb', + :git => 'https://github.com/rcritten/puppet-nssdb', + :ref => '2ed2a2df59bbeaf9cf628e1a4a499476842282fd' + +mod 'rabbitmq', + :git => 'https://github.com/voxpupuli/puppet-rabbitmq', + :ref => 'v14.3.0' + +mod 'redis', + :git => 'https://github.com/voxpupuli/puppet-redis', + :ref => 'v11.1.0' + +mod 'remote', + :git => 'https://github.com/paramite/puppet-remote', + :ref => '7420908328b832f4b20e1eba44bcccd926da8faa' + +mod 'rsync', + :git => 'https://github.com/puppetlabs/puppetlabs-rsync', + :ref => '1.2.0' + +mod 'stdlib', + :git => 'https://github.com/puppetlabs/puppetlabs-stdlib', + :ref => 'v9.7.0' + +mod 'sysctl', + :git => 'https://github.com/duritong/puppet-sysctl', + :ref => '847ec1c07ed3e231a48d8816971c0bd4afe7a72b' + +mod 'systemd', + :git => 'https://github.com/voxpupuli/puppet-systemd', + :ref => 'v8.2.0' + +mod 'vcsrepo', + :git => 'https://github.com/puppetlabs/puppetlabs-vcsrepo', + :ref => 'v7.0.0' + +mod 'xinetd', + :git => 'https://github.com/puppetlabs/puppetlabs-xinetd', + :ref => 'v3.4.1' + diff --git a/README b/README deleted file mode 100644 index a571c1d2e..000000000 --- a/README +++ /dev/null @@ -1,59 +0,0 @@ -Utility to install OpenStack on Red Hat based operating system. -See other branches for older openstack versions - -This utility can be used to install openstack on a single or -group of hosts (over ssh) - -This utility is still in the early stages, a lot of the configuration -options have yet to be added - -Installation -$ yum install -y git -$ git clone --recursive git://github.com/stackforge/packstack.git -$ cd packstack - -Option 1 (using answer file) -$ ./bin/packstack --gen-answer-file=ans.txt - -# then edit ans.txt as appropriate e.g. -o set CONFIG_SSH_KEY to a public ssh key to be installed to remote machines -o Edit the IP address to anywhere you want to install a piece of openstack on another server -o Edit the 3 network interfaces to whatever makes sense in your setup - -you'll need to use a icehouse repository for example for RHEL -CONFIG_REPO=http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/epel-6/ - - -$ ./bin/packstack --answer-file=ans.txt - -Option 2 (prompts for configuration options) -$ ./bin/packstack - -that's it, if everything went well you can now start using openstack -$ cd -$ . keystonerc_admin -$ nova list -$ swift list # if you have installed swift - - -Config options -CONFIG_NOVA_COMPUTE_HOSTS : - a comma seperated list of ip addresses on which to install nova compute -CONFIG_SWIFT_STORAGE_HOSTS : - a comma seperate list of swift storage devices - 1.1.1.1 : create a testing loopback device and use this for storage - 1.1.1.1/sdb : use /dev/sdb on 1.1.1.1 as a storage device - -Logging - -The location of the log files and generated puppet manifests are in the -/var/tmp/packstack directory under a directory named by the date in which -packstack was run and a random string (e.g. /var/tmp/packstack/20131022-204316-Bf3Ek2). -Inside, we find a manifest directory and the openstack-setup.log file; puppet -manifests and a log file for each one are found inside the manifest directory. - -Debugging - -To make packstack write more detailed information into the log file you can use the -d switch: - -$ packstack -d --allinone diff --git a/README.rst b/README.rst new file mode 100644 index 000000000..9e1ae842c --- /dev/null +++ b/README.rst @@ -0,0 +1,293 @@ +Packstack +========= + +Utility to install **OpenStack** on **Red Hat** based operating system. +See other branches for older **OpenStack** versions. Details on how to +contribute to **Packstack** may be found in the **Packstack** wiki at +https://wiki.openstack.org/wiki/Packstack Additional information about +involvement in the community around **Packstack** can be found at +https://openstack.redhat.com/Get_involved + +This utility can be used to install **OpenStack** on a single or group +of hosts (over ``ssh``). + +This utility is still in the early stages, a lot of the configuration +options have yet to be added. + +Installation of packstack: +-------------------------- + +:: + + $ yum install -y git + $ git clone git://github.com/openstack/packstack.git + $ cd packstack && sudo python setup.py install + +Installation of Puppet modules (REQUIRED if running packstack from source): +--------------------------------------------------------------------------- + +:: + + $ export GEM_HOME=/tmp/somedir + $ gem install r10k + $ sudo -E /tmp/somedir/bin/r10k puppetfile install -v + $ sudo cp -r packstack/puppet/modules/packstack /usr/share/openstack-puppet/modules + +Option 1 (all-in-one) +~~~~~~~~~~~~~~~~~~~~~ + +:: + + $ packstack --allinone + +This will install all **OpenStack** services on a single host without +prompting for any configuration information. This will generate an +“answers” file (``packstack-answers--