Commit Graph

31 Commits

Author SHA1 Message Date
Alex Schultz 87abe05ba0 Retire instack-undercloud
instack-undercloud is no longer in use by the TripleO project. Removing
the code to avoid confusion. Stable branches will continue to be
maintained for their life however no new features should be added.

Change-Id: I63a813c7c1ffd30ca30017133d31a497b77a9a4d
Blueprint: remove-instack-undercloud
2018-10-30 12:16:18 +00:00
Ben Nemec b766559a76 Add instack-pre-upgrade-undercloud to setup.cfg
Without this it won't be packaged and can't be used.

Change-Id: I8c614395e4e77f43b117c687cae3441b39f6c40b
2017-07-11 20:45:41 +00:00
Vu Cong Tuan 288fc86aad Remove support for py34
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I9096cdf483e7024d85043e3371fdcb2d73b2d38a
2017-06-05 11:35:52 +07:00
James Slagle 13d18699aa Remove instack-virt-setup
We deprecated this script in ocata and can now remove it. The depends on
patch updates tripleo-docs to point to tripleo-quickstart directly for
creating virtual environments.

Change-Id: I920c73a1eb9b83644d7dd7dc4768ef1bd9949cdd
2017-04-04 11:56:55 +00:00
Alex Schultz a661b6d5e1 Improve upgrade process to include upgrade flag
Previously, the upgrade process for the undercloud has been to just
rerun the install process. The problem is that this does not include
anwyay to indicate that it's already been run if we need to trigger some
different actions on subsequent runs.  As part of the Newton to Ocata
upgrade, we need to be able to run the cell v2 setup in a different
order than on a traditional install. We need a way for the puppet
scripts that ultimately get run to know if it's an upgrade or install
action. This change adds the creation of an undercloud_upgrade fact that
will be used when the upgrade process is run. Additionally a new script
called instack-upgrade-undercloud has been created to be used when
upgrade. The use of instack-install-undercloud will cause the install
flow to be execuated, while the instack-upgrade-undercloud will set the
fact to true to allow for the puppet scripts to use the upgrade flow.

Change-Id: Ie3cb21e30334fe8ffc0a9d6e707b42269b64c9ec
Related-Bug: #1649341
Related-Blueprint: undercloud-upgrade
2017-01-17 15:44:02 -07:00
Cao Xuan Hoang 924e1b8296 Changed author and author-email
Changed author to OpenStack and author-email to
openstack-dev@lists.openstack.org

Change-Id: Icb24cb9d90a785ddeaaca7c11a146f0aebc54c36
2016-11-28 08:53:16 +07:00
Ben Nemec 1b89f5bf7b Remove instack-create-overcloudrc
This is now handled by tripleoclient, and has generated a bug
report.  Let's get rid of it.

Change-Id: I3c51b5d920efe26fa47c3ae033f2b3199dbb2eeb
Closes-Bug: 1634052
2016-10-19 18:43:44 +00:00
Juan Antonio Osorio Robles faeed2494e Use certmonger for automatic cert generation
This will enable us to use a real CA to request the service certificates.

bp tls-via-certmonger

Depends-On: I32ded4e33abffd51f220fb8a7dc6263aace72acd
Change-Id: I5009273110154f0327ad542d75e83ff67bf72613
2016-08-03 13:44:21 +03:00
James Slagle b35b6ee999 Move 02-undercloud-stack-heat-metadata to python module
Moves the python code in 02-undercloud-stack-heat-metadata to be part of
the instack_undercloud python module instead of an element.

This depends on adding jq and pystache as package dependencies for
instack-undercloud:
https://review.rdoproject.org/r/#/c/1074/

blueprint undercloud-elements
Change-Id: I087bbc44080d94206f1489a1ecc7ccbb777bde3c
2016-05-19 16:24:34 -04:00
James Slagle c2d5c0f862 Remove unused scripts
All these scripts are replaced by python-tripleoclient or manual docs
(in the tempest case). For better or worse, I don't think a deprecation
period is necessary here as I think we're way past that point with the
reality being that these scripts don't actually even work any longer.

Change-Id: I9d4f0e055a19bf662661f47ea328ec919e03ddda
2016-03-16 18:01:27 +01:00
Jenkins 22c8130e85 Merge "Remove Py33 support" 2016-01-21 10:01:05 +00:00
reedip 52dade19ee Remove Py33 support
As per [1], Python 3.3 support is being dropped
by INFRA team. This patch is updating the same.

[1]: https://wiki.openstack.org/wiki/Python3#Python_2:_Python_2.6_support_dropped.2C_Python_2.7_only

Change-Id: I89a431cc831c361fa3e261650925cc1dbf898941
Closes-Bug: #1526170
2016-01-12 11:54:17 +09:00
Doug Hellmann 7f05ff2b43 remove python 2.6 trove classifier
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.

Change-Id: Ia6b56d1116712eba9871d46db7d3a80ccb731da8
2015-12-23 01:31:10 +00:00
Ben Nemec a46193ebb4 Remove some legacy stuff
The heat-templates, jenkins-jobs, and deploy-baremetal-overcloudrc
are not used in the current instack-undercloud, and were never
used in a released version.

Change-Id: Icc3030e3ae2ebb310692903779683a90c315fdfb
2015-10-13 15:23:41 +00:00
Derek Higgins 823cec005b Add placeholder docs
These are required to satisfy the gate-instack-undercloud-docs job.
Content will need to be added over time.

Change-Id: Id3057d7ee17f9e06afde382fea33b08dada3cb39
2015-09-16 14:23:43 +01:00
James Slagle ac5982b44a Merge "Add instack-tempest-test-overcloud" 2015-05-27 18:03:07 +02:00
Ben Nemec a82f4dc363 Pythonize instack-install-undercloud
-Very incomplete testing right now
-Puts the password and stackrc files in the current user's home
 directory during the install.  Given that they now have secure
 permissions and we recommend doing that anyway, I think it's fine,
 but it is a non-trivial change in behavior.

 This was done because it's awkward to read a root-owned file from
 a Python process running as a regular user.
-Uses oslo.config instead of the bash-style answers file. A sample
 conf file created by the oslo.config generator is included (for
 now, although we may want to generate that dynamically at some
 point).  Backwards compatibility with existing answers files is
 maintained for now, but is deprecated.
-Hard-codes the image path in instack-test-overcloud to .  It's
 difficult to extract the value from the conf file in bash (unless
 they overrode the default, there's nothing for ConfigParser to read),
 and since it's just a simple sanity test script I think that's okay,
 at least for now.

Change-Id: I09270997dea7fdad2b40dfb303967ff425b55a9b
2015-05-26 14:02:18 +02:00
Crag Wolfe f003d0065f Add instack-tempest-test-overcloud
...and run it optionally from instack-deploy-overcloud.

Co-Authored-By: Imre Farkas <ifarkas@redhat.com>
Change-Id: I5975345d6aa3f3e9fc92f62cd1cc908f2d21679b
2015-05-22 14:36:56 +02:00
Jaromir Coufal e48dd7a632 Remove instack-setup-host script
* By default switch off RDO delorean trunk (instack-build-images)
* Remove instack-setup-host script
* Document enabling Kilo repositories in docs

Change-Id: Iee7ecd9bc9bdd3864775e216f1a549183ea29ddc
2015-05-13 18:17:29 +02:00
Ben Nemec fdfa4448ce Remove version from setup.cfg
The newly-released pbr doesn't like this, and I suspect we can just
use post-versioning like they want us to.

The alternative would be to immediately update the version after
every release, but that seems like unnecessary work.

Change-Id: I813ca2ea3145231901425d0a8f1c2054942730d9
2015-05-01 12:41:23 -05:00
Ben Nemec 3da99772a0 Remove instack-apply-config
This doesn't appear to be called anymore, and we don't actually
want to be maintaining consistency with it in
instack-install-undercloud.

Change-Id: I4ee2b23428d4732d991a19612ad965b2a421bbb4
2015-04-02 15:17:49 -05:00
John Trowbridge 67c9ad9702 Change defaults for the overcloud external network
Changed the defaults for the overcloud external network subnet to
match the network created with instack-virt-setup. Delete the
deploy-virt-overcloudrc as the settings there are now the default.

Change-Id: I0703d0a89702b05df5b517d99295ee04608a367e
2015-03-17 19:20:18 -04:00
Ben Nemec 7e89c08e38 Install instack-create-overcloudrc
The new script wasn't included in setup.cfg so it won't get
installed properly.

Change-Id: Ic2cc1182a28ce4bc136e2eea02f1c32f63241bd0
2015-03-17 12:51:07 -05:00
James Slagle be540d0d14 Add CentOS 7 Support
Add support for running instack-install-undercloud on CentOS 7. The
selinux element from tripleo-image-elements fails when applying the
additional rabbitmq policy (depedencies are not met), so we add that
element to exclude_elements, and also inslucde selinux-permissive and
selinux-setenforce-0.

instack-setup-host-rhel7 is symlinked to an updated instack-setup-host and
supports both RHEL 7 and CentOS 7. We may like to consider removing the
rhos-release logic out of that script entirely and just document that
bit since rhos-release is solely for internal consumption.

Change-Id: I89a43f68632d8526b049be2b666c2426a5ccf603
2015-03-16 11:23:16 -04:00
James Slagle 4eebf750fb Remove instack-update-overcloud
Updating the overcloud via this script is no longer supported or
working. There are new plans on how to update the overcloud via a common
cli/library, but this script will not be a part of that.

Change-Id: I8280bcd5461dc95e2dbf713d910573c2d934fac6
2015-03-12 11:42:10 -04:00
James Slagle 98c469c9cd Remove instack-delete-overcloud
This script is no longer valid and should no longer be used. We shouldn't be
deleting nodes after deleting the Overcloud any longer. If anything, we could
add the wait_for around the stack-delete to instack-ironic-deployment.

Change-Id: I6a68aed8a44a389db54c08469321889c78b98c56
2015-03-12 11:42:10 -04:00
James Slagle 13de2e0fdc Update setup.cfg
Add additional static files to setup.cfg. With this change, all of the
needed files for instack-undercloud should be installed via setup.py, so
we can update the spec file to just use setup.py install.

Change-Id: If6124ec38d3918ecc19e02fa6d308ac22a994ed9
2015-03-03 08:17:39 -05:00
James Slagle bb3920a9fc Update version in setup.cfg
delorean uses python setup.py --version to set the version in the
generated RPM's, so we need to set this appropriately.

Change-Id: Ibb55f85e1a3a040b3d7147449bc0e1b1cf624404
2015-02-26 16:58:51 -05:00
James Slagle ed5257972a Add sphinx documentation
In support of building the docs without the sphinx Makefile this also adds as
tox.ini that can be used to build the docs via:

tox -e docs

A few updates to setup.cfg are needed as well to acount for deleting old
scripts.

Change-Id: Ifa852f9684998ee695188d3e72df7cdc3c5e063e
2015-02-26 08:12:37 -05:00
James Slagle 2a825890dc Fix some setup.cfg bugs 2015-02-05 17:00:04 -05:00
James Slagle cfc56d51b3 Add initial setup.py and setup.cfg for easier packaging. 2015-02-05 16:56:49 -05:00