Commit Graph

344 Commits

Author SHA1 Message Date
OpenDev Sysadmins 2a26998726 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:50:52 +00:00
Ian Wienand aa7106657f Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Id83a351a8aa24c455f2cd030e01feb776acd0013
2019-03-24 20:36:22 +00:00
Joshua Hesketh 7ef12b7580 Write upper-constraints to working-dir
Change-Id: I09e6d10385479ecb23af6391c09b67d42dead201
2016-05-31 22:09:58 +10:00
Joshua Hesketh 2dc0881a3d Update branch support
Because old migrations haven't been removed from nova turbo-hipster
was happy to upgrade all the way to trunk from any old version.

However, we should step through each branch as that's the method
we as deployers to use.

Change-Id: Ie8d57379c316e25deef720bfa8872f38218dde1f
2016-05-31 20:02:42 +10:00
Joshua Hesketh c8bd47aa10 Add support for upper-constraints with nova reqs
Change-Id: I6e55e31ae0f92e53cb71359026662c864dda9a4a
2016-05-31 19:55:23 +10:00
Jenkins e731d0b3c7 Merge "remove python 2.6 trove classifier" 2016-04-14 07:16:11 +00:00
Joshua Hesketh 9aa89de926 Add pip freeze for debugging
To assist with debugging show what's in the venv.

Change-Id: If2c1455eaef22cf2087803860c5226a07801ea3e
2016-04-04 19:41:31 +10:00
Joshua Hesketh f224cae0bd Workaround for old python in 1204
Python in ubuntu 12.04 needs an older version of greenlet. This is
a workaround while turbo-hipster is upgraded to 16.04.

Change-Id: Iaa1c806583f79378e40b76abf11bbce2a4361c45
2016-04-04 19:39:47 +10:00
Joshua Hesketh 676fa221cd Fix quotes on bash command
Change-Id: I784f28be5477870561a45e79e300198dd9364879
2016-03-22 21:37:31 +11:00
Jenkins ef99aff4c3 Merge "Allow databases to be preloaded" 2016-03-22 06:39:27 +00:00
Joshua Hesketh 2855d34f02 Allow databases to be preloaded
To speed up bootstrapping time for turbo-hipster, check if the database
exists before creating it with the seed data as part of the job run.
This allows us to preload the database (as part of a nodepool image
build) which will save a lot of time.

Change-Id: Ieb09e714e24fe6df3ce148e44d5c1148739751c0
2016-03-22 17:29:30 +11:00
Jenkins d91a83aef7 Merge "Deprecated tox -downloadcache option removed" 2016-02-21 16:47:00 +00:00
Jenkins 734efa863e Merge "Change stackforge to openstack" 2016-02-21 04:02:39 +00:00
Andreas Jaeger e16541a05b Remove argparse from requirements
argparse was external in python 2.6 but not anymore, remove it from
requirements.

This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.

Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
2016-01-20 19:26:31 +01:00
Doug Hellmann 5afc846a08 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: I871e98dfbef99d8f50c47c435d21fb615e7e1eb9
2015-12-23 01:31:17 +00:00
Joshua Hesketh e946029b5e Update .gitreview to openstack namespace
Change-Id: Ia1963cf105bc0e2de2fec10f2a8ab76fc2ee819f
2015-12-17 17:15:02 +11:00
Joshua Hesketh 426742f768 Use account id with new gerrit
Change-Id: I75323161c2232651ff357b639856494e63155550
2015-12-17 17:14:57 +11:00
Ondřej Nový e33cc9bf0f Change stackforge to openstack
Change-Id: I2097af3510e71711dfbe753fe0d36c0b1318b459
2015-12-11 23:53:16 +01:00
Ondřej Nový 849bfe7a3b Deprecated tox -downloadcache option removed
Caching is enabled by default from pip version 6.0

More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Change-Id: I481d8a9e1f079dcf8e135d18a665cc5df038b803
2015-12-11 23:41:46 +01:00
Jenkins df1410b273 Merge "Let scripts return some useful message about failure" 2015-11-11 11:27:18 +00:00
Joshua Hesketh 2f996808f8 Pin Pillow below 3
Change-Id: I7a483e9f98a4c63332718bcf327b71b7b279998a
2015-10-07 13:42:33 +11:00
Jenkins c429af06f3 Merge "Replace ci.o.o links with docs.o.o/infra" 2015-09-18 18:56:19 +00:00
Joshua Hesketh 648f74b006 Add tool for updating datasets
Crude copy of migration script for updating datasets for testing.

Change-Id: Ic92809c2b9f963af94ca43872835a7e43a9c6d35
2015-07-13 23:49:18 +10:00
Joshua Hesketh e4c3c390d9 Disable migrate-flavor-data
The testing datasets are being updated to include this. This would
still be useful to test in the future if we fix kilo

Change-Id: I9d8849ce7b58eb5e2fd61c91ce691b58d27f3745
2015-07-13 23:48:43 +10:00
Joshua Hesketh 489992a069 Remove migration check on flavor update
Change-Id: Iefb354425fb485ac3caeac7d2644b5db32cfc933
2015-07-10 16:20:22 +10:00
Joshua Hesketh 3bbf0e3e8d Migrate flavor data is only available in kilo
Migrate the flavor data while on the kilo branch no that the function
is no longer in master.

Change-Id: I289539fe4bbfb7a452bae9698a76aeadb7e0da48
2015-07-10 14:07:44 +10:00
Joshua Hesketh f36430e085 icehouse is eol now
Change-Id: I0f825779fa1e7fba5578baf7dc22cff2a5e8e2f5
2015-07-07 14:10:54 +10:00
Joshua Hesketh 6730ed449f Track upstream merge failures
zuul_enqueue is a crude tool for rechecking turbo-hipster when
it goes haywire. There is no point rechecking patches that have
failed to merge.

Change-Id: Ib78736e5648131771b2872c30892b6beda6efc46
2015-06-12 21:33:57 +10:00
Jan Kundrát 834733bbe5 Let scripts return some useful message about failure
This patch exports a new env var for the script, the $TH_RESULT_FILE. If
the launched script writes something into the file name specified in
that env var and if the content of that file doesn't appear to indicate
a successful build, the content of the file is used as summary message
sent back to Zuul.

Originally, this patch attempted to do a similar thing through reading
back stuff from the shell's output log and reporting the last line from
that output, but the two major disadvantages were the inclusion of
timestamps in the log output, and Python's enrichment of the log line
with timestamps. I pondered writing a custom Python's logging.Handler
which simply remembers the last message, but the required changes in
utils.execute_to_log appeared rather messy to my untrained eye.

The main driver behind this change is a need to differentiate from hard
build failures (where we don't get any build artifacts because the build
simply failed) from "mere" test failures. Yes, our (KDE) tests are still
sloppy, and we have a fair amount of broken test still around, which is
why this difference matters to us. The result field in Zuul is more or
less free-form, so this patch does not impose any restrictions about its
format, except the "cannot start with 'SUCCESS'" because that one is
indeed very, very special.

It can be seen in action at http://ci-logs.kde.flaska.net/matrix.html .

Change-Id: I48c29d2566da12b02dcf27a551a058ecc4a303d4
2015-06-12 01:50:40 +02:00
Joshua Hesketh f265245cce Fix envvars to be strings
Change-Id: Ia777482a44cbcc3199fb71cd0712cd498e652730
2015-06-05 20:14:38 +10:00
Joshua Hesketh 326fd8a230 Make git more verbose for debugging
Change-Id: I05ebe9e58bacc324dbe4430ef9627dd81c14f023
2015-06-05 12:37:44 +10:00
Joshua Hesketh bad0b1fda2 Set env so git global has $HOME
Currently setting git config fails because the env isn't complete.

Change-Id: I95cabe87b9ad99cafb62b1f3595122f8f9c34649
2015-06-04 14:13:46 +10:00
Joshua Hesketh a4b178d1f1 Fix hacking and requirements
Change-Id: Ie7a36b0a7957f102b6a1195cdc7c0403cdd9545a
2015-06-04 14:13:46 +10:00
Jeremy Stanley 62899212ab Replace ci.o.o links with docs.o.o/infra
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.

Change-Id: I8c7f0d87fafb8e6d2f41e4917008df0bbb603423
2015-05-14 21:46:42 +00:00
Joshua Hesketh 5ef62278f3 Harden git cloning
Change-Id: Ie2659a265c5198c106c85f1ac0cf938ece29b286
2015-05-01 11:59:36 +10:00
Joshua Hesketh 8e166e0dc6 Add support to upgrade via Juno and Kilo
Rather than stepping through the migrations just in master (which
works fine assuming they are no different to previous releases)
checkout the correct stable branch and walk through that.

Change-Id: Iff79684990cbbaa8c6ed2474aca77a2f73d64b96
2015-05-01 11:52:00 +10:00
Joshua Hesketh 1c00340d88 Only record stats right after migration
Change-Id: Idad9ee4c5b9697245e28d27dc576ad1e9e0556aa
2015-04-30 13:07:46 +10:00
Joshua Hesketh cbeb7a4fa7 add mysql counters before flavor migrate
Change-Id: I605077ae5c16c8b4bdff51cca59c62ffedf632db
2015-04-30 11:57:43 +10:00
Joshua Hesketh 4c0fbd8d25 Fix mysql counters for migrate_flavor_data
Change-Id: Ibfbe082ccbbfcb0826c6805c83745daece27389e
2015-04-30 11:08:59 +10:00
Joshua Hesketh 7ad3bcc476 Force migrate flavour data
Disable tests while buggy to get this through.

Change-Id: Ia4dcb6ba1f8aaf4d6fc1a287575dfe991b5cb505
2015-04-30 09:57:12 +10:00
Joshua Hesketh fe515ed3b3 Set the max-number very high
A work around until I fix nova to take no max-number input (and
migrate them all)

Change-Id: Iba4cb3faae928637555ccf3023841af3406824b6
2015-04-22 00:05:42 +10:00
Joshua Hesketh 074932ee8e Fix migrate_flavor_data
The docs lied.

Change-Id: I582b0ebacae0f470a5d2b03ba3874a4e7b2e7d6a
2015-04-21 22:02:59 +10:00
Joshua Hesketh d5dba84d33 Fix migrate-flavor-data command
Missed the db sub-command

Change-Id: I4f0170dcceaecd3151f8805b3a085e52086510af
2015-04-21 18:35:16 +10:00
Joshua Hesketh a209001e3f Migrate flavour data at migration 291
It's a little hacky but saves checking the logs for a failed upgrade
and then applying the migration and re-doing it. (Which would be
complicated due to the way handle_results works).

Change-Id: I8fd0c206c027f8cf984ba9fbd011cb6c6277f2b7
2015-04-21 17:25:55 +10:00
Joshua Hesketh 9e8ddc0e1d Remove downgrade tests
As per
https://github.com/openstack/openstack-specs/blob/master/specs/no-downward-sql-migration.rst
we no longer support downgrades.

Change-Id: I13edde60a61de09d83811bfa00733b5dec7771b4
2015-04-21 12:21:12 +10:00
Joshua Hesketh 9b2c312aa3 Add extra debugging info on git failure
Fetching from git sometimes fails. Log the IP in these cases
so we can investigate the git.o.o logs

Change-Id: I09994cf0706670c44412f5d6da97c67329b40d1b
2015-02-26 13:30:41 +11:00
Jenkins dc88e429a7 Merge "Send results back on failure" 2015-02-24 06:39:41 +00:00
Joshua Hesketh f4b2038732 Send results back on failure
Change-Id: I2ffb64c4c96ab5d600e6381a74bf0c5080618ea3
2015-02-24 17:35:07 +11:00
Jenkins 7dfd8a4355 Merge "Remove depreciated download cache" 2015-02-24 05:33:27 +00:00
Jenkins c7ad685ead Merge "Retry git cloning 3 times" 2015-02-24 05:28:23 +00:00