]> review.fuel-infra Code Review - tools/sustaining.git/log
tools/sustaining.git
6 years agoAdd new line after last key in generate script 70/41070/1
Vladimir Khlyunev [Tue, 16 Apr 2019 10:28:08 +0000 (14:28 +0400)]
Add new line after last key in generate script

Change-Id: I8dcd78b12e7a14bbb35dc49d7526b49189e903f2

6 years agoUse jenkins hostname instead of local net ip 67/41067/1
Vladimir Khlyunev [Tue, 16 Apr 2019 09:35:14 +0000 (13:35 +0400)]
Use jenkins hostname instead of local net ip

Change-Id: Icc4a8c0345c27d443855dee1f291216180cba0b3

6 years agoMerge "Add job for cleaning up CREATE_FAILED stacks"
Vladimir Khlyunev [Mon, 15 Apr 2019 09:04:40 +0000 (09:04 +0000)]
Merge "Add job for cleaning up CREATE_FAILED stacks"

6 years agoAdd trigger snapshot.params to swarm runner 55/41055/1
Vladimir Khlyunev [Mon, 15 Apr 2019 09:02:39 +0000 (13:02 +0400)]
Add trigger snapshot.params to swarm runner

Change-Id: I376d039533869ca2423d2af966694e8a1713eb3b

6 years agoAdd job for cleaning up CREATE_FAILED stacks 53/41053/3
Vladimir Khlyunev [Mon, 15 Apr 2019 06:15:40 +0000 (10:15 +0400)]
Add job for cleaning up CREATE_FAILED stacks

Change-Id: I9e2106a4d4ddcc964d45e6c63150d315d150953b

6 years agoAllow to use custom iso in mos deploy 24/41024/4
Vladimir Khlyunev [Thu, 11 Apr 2019 11:39:30 +0000 (15:39 +0400)]
Allow to use custom iso in mos deploy

Change-Id: I589093edbc8ccd744074efcd59c0fc96f2f8493e

6 years agoDisable bootmenu via env var 78/40978/1
Vladimir Khlyunev [Fri, 5 Apr 2019 07:46:47 +0000 (11:46 +0400)]
Disable bootmenu via env var

requires https://review.openstack.org/#/c/649903/

Change-Id: I5a2bb603adf05fa77ee0faaa987a14126e864d4d

6 years agoAdd team's public ssh keys from reclass to image 33/40933/4
Vladimir Khlyunev [Mon, 1 Apr 2019 10:14:10 +0000 (14:14 +0400)]
Add team's public ssh keys from reclass to image

Change-Id: I291b5bb3a3364b7e6328783cf0859ad48584c783

6 years agoEnable timed trigger for snapshot-params job 43/40943/1
Vladimir Khlyunev [Tue, 2 Apr 2019 07:29:10 +0000 (11:29 +0400)]
Enable timed trigger for snapshot-params job

Change-Id: I301234f99f8f37967ce6b757e70cffa28bb90d3c

6 years agoSeveral minor fixes 30/40930/1
Vladimir Khlyunev [Mon, 1 Apr 2019 09:09:28 +0000 (13:09 +0400)]
Several minor fixes

Change-Id: I2b7acac31790db210524c55a58d083016d588d2b

6 years agoEnhance deploy_heat_stack job 31/40831/2
Vladimir Khlyunev [Fri, 22 Mar 2019 06:32:58 +0000 (10:32 +0400)]
Enhance deploy_heat_stack job

Use macro for refspec fetching. Also remove duplicate parameter

Change-Id: Ic6978364411792fd53d704376cc7f5fd87cc8889

6 years agoAdd sshpass package to slave image 17/40817/1
Vladimir Khlyunev [Thu, 21 Mar 2019 08:17:07 +0000 (12:17 +0400)]
Add sshpass package to slave image

Change-Id: Ifd5d38b4589e0f88b659f993ee1e67cd9d0d14ee

6 years agoFix dir name typo 05/40805/1
Vladimir Khlyunev [Wed, 20 Mar 2019 12:53:53 +0000 (16:53 +0400)]
Fix dir name typo

Change-Id: If11e6f2e3b036e392bb938caa731565d47b8ecca

6 years agoRename staging stack parameter 04/40804/1
Vladimir Khlyunev [Wed, 20 Mar 2019 12:49:51 +0000 (16:49 +0400)]
Rename staging stack parameter

Change-Id: I3597a7496a9548b60a1e6eac2a67253daa2a5561

6 years agoTrigger report only for non-aborted swarm threads 87/40787/1
Vladimir Khlyunev [Mon, 18 Mar 2019 10:43:11 +0000 (14:43 +0400)]
Trigger report only for non-aborted swarm threads

Change-Id: Ide4c663c62de2955c863e7986fb5b8cdb2b3f3bb

6 years agoUpdate default parameters for mos swarm 86/40786/1
Vladimir Khlyunev [Mon, 18 Mar 2019 08:16:27 +0000 (12:16 +0400)]
Update default parameters for mos swarm

Change-Id: I72f0a004e97f48b2ca097967633adc0326d878da

6 years agoReverse trigger order in deploy swarm job 85/40785/1
Vladimir Khlyunev [Mon, 18 Mar 2019 08:09:30 +0000 (12:09 +0400)]
Reverse trigger order in deploy swarm job

Required for proper node allocation throught cloud

Change-Id: Ic1960b8281578236d5f18aed734e0bb5138d1337

6 years agoUse public torrent file for image downloading 84/40784/1
Vladimir Khlyunev [Mon, 18 Mar 2019 07:56:33 +0000 (11:56 +0400)]
Use public torrent file for image downloading

Change-Id: Icbe848c9cd68f345ec1b69204fbc367cd500ba29

6 years agoAdd image promotion job 83/40783/1
Vladimir Khlyunev [Mon, 18 Mar 2019 07:43:57 +0000 (11:43 +0400)]
Add image promotion job

Change-Id: I994859c8317ba2d85c575f0b1ae5d55275a5b5a4

6 years agoUse correct parameter for stack deletion 82/40782/1
Vladimir Khlyunev [Mon, 18 Mar 2019 07:34:41 +0000 (11:34 +0400)]
Use correct parameter for stack deletion

Also use dash instead of underscore in deploy job

Change-Id: I837a78a642a1f150de2dbacb3b9248e9c4463363

6 years agoUse /dev/urandom for stack name generation 81/40781/1
Vladimir Khlyunev [Mon, 18 Mar 2019 07:16:16 +0000 (11:16 +0400)]
Use /dev/urandom for stack name generation

Change-Id: I82deb23f1e263b6d4f5ee2c30026b169ccf794dc

6 years agoAdd full swarm runner 80/40780/1
Vladimir Khlyunev [Mon, 18 Mar 2019 07:10:53 +0000 (11:10 +0400)]
Add full swarm runner

Change-Id: I9af077172ed89a76fc0af50d6ab6bbf7979053a7

6 years agoAdd dev heat template and change default image 79/40779/1
Vladimir Khlyunev [Mon, 18 Mar 2019 06:41:32 +0000 (10:41 +0400)]
Add dev heat template and change default image

Change-Id: Icfa51131f03b49fb124d0d6cfe598a537a79b5b4

6 years agoAdd views to update jenkins jobs job 72/40772/1
Vladimir Khlyunev [Fri, 15 Mar 2019 12:39:10 +0000 (16:39 +0400)]
Add views to update jenkins jobs job

Change-Id: I84ebf5db2f8d1bb9ed9a32acf92180fd8f33607c

6 years agoAdd devops view 71/40771/1
Vladimir Khlyunev [Fri, 15 Mar 2019 12:38:15 +0000 (16:38 +0400)]
Add devops view

Change-Id: Ia1ebc982dc5b9aac8bbe7402fb1fb50b3b422b62

6 years agoUse correct JENKINS_LABEL variable in deploy_stack 70/40770/1
Vladimir Khlyunev [Fri, 15 Mar 2019 12:37:48 +0000 (16:37 +0400)]
Use correct JENKINS_LABEL variable in deploy_stack

Change-Id: Icd6a863777b8126611663d945cbcebe6080530cf

6 years ago9.x tests improvements 44/40744/6
Vladimir Khlyunev [Wed, 13 Mar 2019 10:10:39 +0000 (14:10 +0400)]
9.x tests improvements

- Add "delete stacks" step to runner job
- Allow to pin swarm job to specific label
- Add ability to append suffix to job name (required for non-default
  fuel-devops labs like "8gb RAM per slave" or "multirack")
- Testrail reporter was moved to jenkins-master label
- Add test jobs itself
- Additional fixes around all mos jjb templates

Change-Id: If772ec80b5ceef62874f9e94a7cf7051c7033e0c

6 years agoPass STACK_PREFIX from swarm job to deploy job 33/40733/1
Vladimir Khlyunev [Tue, 12 Mar 2019 08:41:35 +0000 (12:41 +0400)]
Pass STACK_PREFIX from swarm job to deploy job

Change-Id: I0edc4606d49d5d2ef34442b4903dbb5617bd0fa8

6 years agoIgnore result of temporary reporter command 24/40724/1
Vladimir Khlyunev [Mon, 11 Mar 2019 08:49:46 +0000 (12:49 +0400)]
Ignore result of temporary reporter command

It should be used later when whole runner will be ready

Change-Id: Ic7b0c0d89c94402fc8574b1e561d8c23b7985150

6 years agoInitial MOS templates commit 36/40536/30
Vladimir Khlyunev [Mon, 18 Feb 2019 07:19:02 +0000 (11:19 +0400)]
Initial MOS templates commit

Soul of patching-ci now lives here...

Change-Id: If45d64c506540a4f4edaee9c1c416b93061cc8ba

6 years agoUpdate mos build script 69/40669/6
Vladimir Khlyunev [Thu, 28 Feb 2019 10:58:12 +0000 (14:58 +0400)]
Update mos build script

- Add devops lock file
- Download MOS image before build

Change-Id: I70c286b43618bf4843b49a78d1a3236ec6009413

6 years agoRemove quotation mark from shell script 48/40648/1
Vladimir Khlyunev [Wed, 27 Feb 2019 12:45:43 +0000 (16:45 +0400)]
Remove quotation mark from shell script

Change-Id: I46a874c363b483c167ca5a6a22b21f25fcbac3e1

6 years agoArchive stack data as build artifact 47/40647/1
Vladimir Khlyunev [Wed, 27 Feb 2019 12:38:19 +0000 (16:38 +0400)]
Archive stack data as build artifact

At current moment it stores stack name and floating ip

Change-Id: Ic06203d28196b75d13943f9dd5614274101c391d

6 years agoUse cloud-init services as anchor for jenkins-agent service 46/40646/1
Vladimir Khlyunev [Wed, 27 Feb 2019 11:51:10 +0000 (15:51 +0400)]
Use cloud-init services as anchor for jenkins-agent service

Change-Id: Ic3f613f4ab85732a42bccbed286b766a27b08834

6 years agoRestart service after changing data in heat template 45/40645/1
Vladimir Khlyunev [Wed, 27 Feb 2019 11:46:48 +0000 (15:46 +0400)]
Restart service after changing data in heat template

Change-Id: Id432cb4f9819539d18f6415d0e4a12e0a3106722

6 years agoAdd pip installation to base image 44/40644/1
Vladimir Khlyunev [Wed, 27 Feb 2019 06:45:04 +0000 (10:45 +0400)]
Add pip installation to base image

Also add pip installation to image builder script

Change-Id: I2f412758f18dc74d47db60e2cc7d2f8827f3e4d9

6 years agoPass creds inside mounted image via file 29/40629/1
Vladimir Khlyunev [Tue, 26 Feb 2019 08:49:26 +0000 (12:49 +0400)]
Pass creds inside mounted image via file

Change-Id: Idac9dc6a36e725ae54dda297e9190dcff1187cdc

6 years agoUse correct label for build node 27/40627/1
Vladimir Khlyunev [Tue, 26 Feb 2019 08:16:43 +0000 (12:16 +0400)]
Use correct label for build node

Change-Id: I16a4694952d5b5a49a85a8b4dfca6d38873877cf

6 years agoCreate image build multijob 14/40614/2
Vladimir Khlyunev [Mon, 25 Feb 2019 13:39:03 +0000 (17:39 +0400)]
Create image build multijob

Change-Id: Id86e31341ff6bcb377479a080725b906d40165d1

6 years agoDrop default value for CUSTOM_UPDATE_SCRIPT 09/40609/2
Vladimir Khlyunev [Mon, 25 Feb 2019 11:02:10 +0000 (15:02 +0400)]
Drop default value for CUSTOM_UPDATE_SCRIPT

Change-Id: Ib6c4ce9ba8f1835d1f541119e28487d0d9fe3784

6 years agoSwitch UPDATE_SCRIPT to choise paremeter 04/40604/2
Vladimir Khlyunev [Mon, 25 Feb 2019 09:35:05 +0000 (13:35 +0400)]
Switch UPDATE_SCRIPT to choise paremeter

Change-Id: Ic7e1cd55768dd013bded73654aec0e31a49d2ef5

6 years agoInitial fixes for build image job 03/40603/2
Vladimir Khlyunev [Mon, 25 Feb 2019 09:14:29 +0000 (13:14 +0400)]
Initial fixes for build image job

Change-Id: I117d5f1ea8349f955ef2b203df92f02be67ae93a

6 years agoAdd review cherry-picking to build image job 02/40602/1
Vladimir Khlyunev [Mon, 25 Feb 2019 09:07:42 +0000 (13:07 +0400)]
Add review cherry-picking to build image job

Change-Id: I75e247295d135063ddc0993c37fc685d9fd13287

6 years agoAdd image build job 01/40601/1
Vladimir Khlyunev [Mon, 25 Feb 2019 09:04:37 +0000 (13:04 +0400)]
Add image build job

Change-Id: I513f3526e8b96bc2cecfe85b98a4229776f50eab

6 years agoAdd floating ip to jenkins slave description 87/40587/1
Vladimir Khlyunev [Fri, 22 Feb 2019 11:22:49 +0000 (15:22 +0400)]
Add floating ip to jenkins slave description

Also rename heat template to more precise name

Change-Id: If3f7b69cad27323761b1d7a14c11f0e0d7588626

6 years agoAdd deploy_swarm job 76/40576/1
Vladimir Khlyunev [Thu, 21 Feb 2019 09:50:06 +0000 (13:50 +0400)]
Add deploy_swarm job

For delpoying several instances using one job.
Currenly contains built-in MOS flavors but it's possible to deploy
"custom flavor"-based several instances.

Change-Id: I279f96425baf5bf4ac6da44ec00312368c6d36f5

6 years agoRename macro to macroses 37/40537/1
Vladimir Khlyunev [Mon, 18 Feb 2019 07:25:58 +0000 (11:25 +0400)]
Rename macro to macroses

Required for unification with fuel-infra/jenkins-jobs

Change-Id: Ibdbd0c027e5432291e485be77e40b55a75d7ed20

6 years agoSwitch to double-bracket bash's if 35/40535/1
Vladimir Khlyunev [Mon, 18 Feb 2019 06:56:24 +0000 (10:56 +0400)]
Switch to double-bracket bash's if

Change-Id: Id2814e9da814a096fc5f6eb8372afb1af49d6f8d

6 years agoDrop OPENSTACK_VENV_PATH 34/40534/1
Vladimir Khlyunev [Mon, 18 Feb 2019 06:54:15 +0000 (10:54 +0400)]
Drop OPENSTACK_VENV_PATH

Change-Id: I8bb4d04dfd525a6ed8819e28ecac1a43d218b338

6 years agoStop jenkins agent before destroying slave 12/40512/1
Vladimir Khlyunev [Wed, 13 Feb 2019 13:28:30 +0000 (17:28 +0400)]
Stop jenkins agent before destroying slave

Change-Id: Ic3197a4130e3ecdc365928dccb9408d85cce7989

6 years agoAdd --wait to stack create command 04/40504/1
Vladimir Khlyunev [Wed, 13 Feb 2019 12:11:41 +0000 (16:11 +0400)]
Add --wait to stack create command

Change-Id: I63d283001695fe9085992a8db08e7b75444356f9

6 years agoAdd wait condition for stack 03/40503/1
Vladimir Khlyunev [Wed, 13 Feb 2019 12:05:47 +0000 (16:05 +0400)]
Add wait condition for stack

Change-Id: Id6b8251cf59d3648374185789032bd8224aa40a3

6 years agoPost-prototype fixes 01/40501/2
Vladimir Khlyunev [Wed, 13 Feb 2019 11:37:06 +0000 (15:37 +0400)]
Post-prototype fixes

Too painful to desrcibe it... Just let it be as is.

Change-Id: If700e91198af6920e9240756351e7b2aea1f2bb9

6 years agoCleanup shell scripts 94/40494/3
Vladimir Khlyunev [Wed, 13 Feb 2019 08:17:54 +0000 (12:17 +0400)]
Cleanup shell scripts

- Remove unused variables
- Invert -z logic

Change-Id: Ie0b53279f641bcc1a108b2d3dfd255737879f939

6 years agoAllow to update jeknins jobs from gerrit review 93/40493/1
Vladimir Khlyunev [Wed, 13 Feb 2019 08:11:01 +0000 (12:11 +0400)]
Allow to update jeknins jobs from gerrit review

Change-Id: I1da521749d78c97921237b244b25284d81d968f1

6 years agoIgnore heat template while updating jobs 92/40492/1
Vladimir Khlyunev [Wed, 13 Feb 2019 06:50:55 +0000 (10:50 +0400)]
Ignore heat template while updating jobs

Change-Id: I27ec8f6c9db317f6a7d74783fbb33505737edc30

6 years agoSwitch to include-raw in update-jenkins-job 91/40491/1
Vladimir Khlyunev [Wed, 13 Feb 2019 06:46:17 +0000 (10:46 +0400)]
Switch to include-raw in update-jenkins-job

Change-Id: Ifeec1f95c0def4d785377f0ebfa596875c0a3d7b

6 years agoAdd missing directories to git repo 90/40490/1
Vladimir Khlyunev [Wed, 13 Feb 2019 06:43:36 +0000 (10:43 +0400)]
Add missing directories to git repo

Git does not allow to commit empty directories§

Change-Id: I39fbf41869b89da1dcf47a81e7a436a9a37dcb7b

6 years agoChange directory before running tox in update-jenkins-jobs script 89/40489/1
Vladimir Khlyunev [Wed, 13 Feb 2019 06:37:46 +0000 (10:37 +0400)]
Change directory before running tox in update-jenkins-jobs script

Change-Id: I501c64e8ee9f4b261e4e4e8e8e2ae7fbeac1bcde

6 years agoFix tox installation in update-jeknins-jobs 88/40488/2
Vladimir Khlyunev [Wed, 13 Feb 2019 06:33:16 +0000 (10:33 +0400)]
Fix tox installation in update-jeknins-jobs

Also drop comments from update-jenkins-view script

Change-Id: I5d4c8530cddba4b40711214dcda56949d6584892

6 years agoMaintenance CI JJB initial commit 09/40409/3
Vladimir Khlyunev [Fri, 8 Feb 2019 06:44:07 +0000 (10:44 +0400)]
Maintenance CI JJB initial commit

The commit introduces new directory for JJB configs for brand new
Maintenance-CI cloud-based Jenkins instance.

First set of jobs includes following prototypes of jobs:
- JJB update mechanism
- Stack create job
- Stack delete job
It also includes very common 1-instance heat stack but it covers
current needs. Also tox configuration file for JJB checks is added.

Change-Id: I5f65ea7331590d51dae94d1c415e34a83a5343d1

8 years agoCorrected a typo in a call of the upgrade_to_9_1 function 38/35538/1
Sergii Rizvan [Tue, 6 Jun 2017 15:09:47 +0000 (18:09 +0300)]
Corrected a typo in a call of the upgrade_to_9_1 function

Change-Id: I4fa879c514680828bf5cf54d892943788ebf56d6

8 years agoAdded a deployment tasks synchronization to update_helper.sh 82/35282/1
Sergii Rizvan [Tue, 16 May 2017 15:02:29 +0000 (18:02 +0300)]
Added a deployment tasks synchronization to update_helper.sh

Added a command for deployment tasks synchronization at the end
of Fuel master node update procedure for 8.0.

Change-Id: Ibb786cdd578fd97b316edb0c67c180d71962e527
Related-Bug: #1691124

8 years ago12.0 version of Fuel added to the new versions list 64/32764/1
Sergii Rizvan [Tue, 4 Apr 2017 15:19:39 +0000 (18:19 +0300)]
12.0 version of Fuel added to the new versions list

Change-Id: I2dd8cd3be45a8e5c1c3c8a57beff717abd59d02e

8 years agoUpgrade procedure to 9.2 in deployment 90/31390/2
Anton Chevychalov [Wed, 1 Mar 2017 15:30:18 +0000 (18:30 +0300)]
Upgrade procedure to 9.2 in deployment

Add 9.2 upgrade procedure to build_cluster tool.
New parameter UPDATE_TO, that allow to choose target version.

Change-Id: Iba15b4c91c7350e0487fdbd790c0bcb958f218a9

8 years agoSmall features and fixes 24/29924/3
Anton Chevychalov [Wed, 18 Jan 2017 15:52:10 +0000 (18:52 +0300)]
Small features and fixes

* We can add pub keys now
* There is information about ssh access in summary
* Cleanup some garbage from spool

Change-Id: I0b41afe727f318288d3065b7ef4364a5c309e9fc

8 years agoFix 8.0 update procedure 82/29482/6
Anton Chevychalov [Wed, 21 Dec 2016 13:35:44 +0000 (16:35 +0300)]
Fix 8.0 update procedure

There is a bug around lvm, systemd and xfs. So we need
to change update procedure.
Now it reboots master node after update.

Related-Bug: #1642232

Change-Id: Ie59e339d6876264fe463a47061089281acbcdc78

8 years ago[Jenkins] Add right dns to fuel 01/29101/7
Anton Chevychalov [Thu, 1 Dec 2016 16:54:22 +0000 (19:54 +0300)]
[Jenkins] Add right dns to fuel

Change dns from Google to internal.

Change-Id: I3ee5aaa5dd2557619f0c3b0a83fe62a0d3a4fb9d

8 years agoEnhansment of build_cluster job 71/29271/1
Anton Chevychalov [Fri, 9 Dec 2016 08:49:35 +0000 (11:49 +0300)]
Enhansment of build_cluster job

Download code has been refactored. That allow now take exact
commit over TOOLS_COMMIT for testing new version.
ADD_CENT_REPO and UPDATE_FUEL order has been changed
to reflect real order of that operations.

Change-Id: Id34f2e0fb723b677b677653bf8f43a673ba41d4c

8 years ago[Jenkins] Fix error with empty repolist 57/29057/1
Anton Chevychalov [Wed, 30 Nov 2016 15:17:29 +0000 (18:17 +0300)]
[Jenkins] Fix error with empty repolist

Fix NoneType fail when empty centos repolist provided.

Change-Id: I73b728b25238f43e0e6ba758077ce41336d72ba0

8 years ago[Jenkins] Fixes 55/29055/1
Anton Chevychalov [Wed, 30 Nov 2016 14:45:04 +0000 (17:45 +0300)]
[Jenkins] Fixes

Fix url resolution (use moscow dns)
Fix error in config
Fix error in add_repo procedure

Change-Id: I7512bdc24ddd435078dc24619a37ef4ad1c56770

8 years ago[Jenkins] Allow script to add centos repos. 52/29052/1
Anton Chevychalov [Wed, 30 Nov 2016 13:55:40 +0000 (16:55 +0300)]
[Jenkins] Allow script to add centos repos.

New parameter for deployment job ADD_CENT_REPO

Change-Id: Ic20b6516c9e987efa511edb6987a74ce9a1d6775

8 years ago[Jenkins] ssh access refactoring 46/29046/2
Anton Chevychalov [Wed, 30 Nov 2016 11:59:51 +0000 (14:59 +0300)]
[Jenkins] ssh access refactoring

Add .gitignore and class for common ssh operations.

Change-Id: I01cacf7b0527a849d6ccff1db5d65ca3d6ea689b

8 years agoSupport Fuel 11 by build script 86/28686/1
Anton Chevychalov [Mon, 21 Nov 2016 12:18:20 +0000 (15:18 +0300)]
Support Fuel 11 by build script

Add Fuel 11 to network interface names hook.

Change-Id: I183e1afd3bdfade501fd6a254cdb018ebe860e0d

8 years ago[Jenkins] Add upgrade from 9.0 to 9.x 42/27642/1
Anton Chevychalov [Thu, 20 Oct 2016 09:35:31 +0000 (12:35 +0300)]
[Jenkins] Add upgrade from 9.0 to 9.x

Modify update_helper script to have updates in 9.x

Change-Id: I2293aa2e8ae6c67d0d1640ee47f2d32cd4fba0a7

8 years ago[Jenkins] Fix racing with puppet and bootstrap 88/27088/2
Anton Chevychalov [Fri, 30 Sep 2016 17:08:43 +0000 (20:08 +0300)]
[Jenkins] Fix racing with puppet and bootstrap

There is a racing between update script and fuel-bootstrap
image builder.

Change-Id: I2941257bf889ee80fed09bb31e496a1d4a1f3e0b

8 years ago[Jenkins] fix order in do_update procedure 36/27036/1
Anton Chevychalov [Thu, 29 Sep 2016 16:03:07 +0000 (19:03 +0300)]
[Jenkins] fix order in do_update procedure

Starting update after api geting ready

Change-Id: Ia484e076f89de1817e465820ce7d9153d890eb16

8 years ago[Jenkins] Fix error in do_update function 32/27032/1
Anton Chevychalov [Thu, 29 Sep 2016 14:42:02 +0000 (17:42 +0300)]
[Jenkins] Fix error in do_update function

Fix error with sshpass wich block starting of update process
on production environment.

Change-Id: I7b383d55de344f4c2507994c77ee284514bbcb6d

8 years ago[Jenkins] Allow to autoupdate fuel after install 13/27013/2
Anton Chevychalov [Thu, 29 Sep 2016 10:54:23 +0000 (13:54 +0300)]
[Jenkins] Allow to autoupdate fuel after install

New checkbox (false by default) that allow to update fuel
to latest MU. MOS7 and MOS8 supported only in current moment.

Change-Id: Ibb009ccbd39a34adddd689d24408ca628892620e

8 years agoMerge "Script for setting up deployed_before atribute"
Vitaly Sedelnik [Fri, 15 Jul 2016 12:28:48 +0000 (12:28 +0000)]
Merge "Script for setting up deployed_before atribute"

8 years agoScript for setting up deployed_before atribute 64/23264/1
Rodion Tikunov [Thu, 14 Jul 2016 13:51:52 +0000 (16:51 +0300)]
Script for setting up deployed_before atribute

MOS versions <=7.0 should prevent `stop deployment` operation when
environment has already deployed. This requires that clusters have
`deployed_before` atribute in generated attributes of environment.

This script sets deployed_before in True value for all environments.
This script should be run on master node.

Change-Id: I554488217759cfedd3ce69af032b0e9426df6fb6
Related-Bug: #1529691

8 years agodo not overengineer downstream branch creation 54/23254/1
Alex Ermolov [Tue, 24 May 2016 18:06:24 +0000 (21:06 +0300)]
do not overengineer downstream branch creation

Change-Id: I15b6c561fdfb2d3bf1672bdf57b094e61e6b20c3

9 years ago[jenkins] added an access rule 04/22204/3
Denis V. Meltsaykin [Fri, 17 Jun 2016 12:12:29 +0000 (15:12 +0300)]
[jenkins] added an access rule

As starting from 9.0 the access to the Fuel node with SSH is
restricted to the PXE/Admin network only, it is necessary to
add an access rule after the Fuel node bootstrap. This will
let everyone to access Fuel from everywhere. Also updated
the jenkins job configuration.

Change-Id: Ic829b6bdd2c963ca8033450b1483e9050ba28f92

9 years agoMerge "mos_apply_mu: support of Fuel 8.0"
Vitaly Sedelnik [Fri, 29 Apr 2016 16:08:28 +0000 (16:08 +0000)]
Merge "mos_apply_mu: support of Fuel 8.0"

9 years agoMerge "Role-based and individual updates"
Vitaly Sedelnik [Fri, 29 Apr 2016 16:07:06 +0000 (16:07 +0000)]
Merge "Role-based and individual updates"

9 years agomos_apply_mu: support of Fuel 8.0 70/20270/2
Denis V. Meltsaykin [Fri, 29 Apr 2016 10:47:08 +0000 (13:47 +0300)]
mos_apply_mu: support of Fuel 8.0

* Added support of updating of Mirantis OpenStack 8.0.
* Added an option to avoid any dialogs during the run of apt-get.

Change-Id: I89042edcb6b0148ed86bd6ed07d88fc7dd21e068

9 years ago[jenkins] added support for 10.0 to the build_cluster 93/19993/1
Denis V. Meltsaykin [Fri, 22 Apr 2016 13:16:08 +0000 (16:16 +0300)]
[jenkins] added support for 10.0 to the build_cluster

Change-Id: Ide03ca84e02e1d78b489d8a00091f0b0fcd2528e

9 years agoRole-based and individual updates 77/17277/9
Denis V. Meltsaykin [Sat, 20 Feb 2016 15:13:30 +0000 (18:13 +0300)]
Role-based and individual updates

Added functionality to make role-based and particular nodes updates,
i.e. update only computes or ceph-osds. This is needed to divide
update process into stages which is usefull on very big environments.
This could be also useful to rerun the update process on a particular
node. Also the time interval variable is added. Using this variable
it is possible to update some senstive part of a cluster giving a
time to synchronize its states.

Bumped the header and the version.

Change-Id: If638107ec6d4180b4006f7565742687b6f20f2bb

9 years agoAdd config file for neutron 73/19573/1
Vitaly Sedelnik [Wed, 13 Apr 2016 12:41:17 +0000 (15:41 +0300)]
Add config file for neutron

Change-Id: Id3dfcf7f6f63a04fb1d349bf982b9dbae448f595

9 years agoa bunch of fixes and enhancements to merge_upstream job script 73/19073/1
Alex Ermolov [Thu, 31 Mar 2016 13:56:18 +0000 (16:56 +0300)]
a bunch of fixes and enhancements to merge_upstream job script

Change-Id: Ieecebb9bd4932d2cf52a186746df66a7ed67feba

9 years agojenkins: added merge_upstream job and scripts 70/18270/1
Alex Ermolov [Mon, 21 Mar 2016 13:55:58 +0000 (16:55 +0300)]
jenkins: added merge_upstream job and scripts

Change-Id: I2b73b351d7a5132050e0a6a578971c7386f0f32f

9 years agojenkins: generalized jobs deployment 49/18249/1
Alex Ermolov [Sat, 19 Mar 2016 18:45:11 +0000 (21:45 +0300)]
jenkins: generalized jobs deployment

Change-Id: Id51ca910bd021e30ad3215a57955ee423e967fd3

9 years agojenkins: patch_environment job fixes and enhancements 45/18245/1
Alex Ermolov [Fri, 18 Mar 2016 21:56:47 +0000 (00:56 +0300)]
jenkins: patch_environment job fixes and enhancements

Change-Id: Iec434ba6a1c762f6a3465166df16e43344de3f3e

9 years agoJenkins' job output fix 06/16606/1
Denis V. Meltsaykin [Tue, 2 Feb 2016 06:54:29 +0000 (09:54 +0300)]
Jenkins' job output fix

sys.stdout.write() does not guarantee that the output will show up,
as buffers need to be explicitly flushed. The more suitable solution is
to use the print_function from __future__.

Change-Id: Ic85e36172377fd21952a5711e2553ef5a803da40

9 years ago8.0 support (fix) 99/16599/1
Denis V. Meltsaykin [Mon, 1 Feb 2016 14:42:21 +0000 (17:42 +0300)]
8.0 support (fix)

Fixed the following errors:
 * SSHD is inaccessible in 8.0 as it is only configured to listen ADMIN_NETWORK
 * Mode HA is no longer an option
 * Changed output of some of functions to more informative one

Change-Id: Ie37c323a039f8959aef1f4c7a415c10afa67038a

9 years ago8.0 support 80/16580/2
Denis V. Meltsaykin [Mon, 1 Feb 2016 06:49:20 +0000 (09:49 +0300)]
8.0 support

Added support for predictable interface names (enpXsY)
and a workaround for fuel client not supporting
nova networking anymore.

Also, fixed an error when running `destroy` mode without ISO_URL.

Change-Id: Ic1783a6ffe61878840a180c3bbb33f67d4675882

9 years agoJenkins' job reliability and 8.0 support 77/16577/1
Denis V. Meltsaykin [Sun, 31 Jan 2016 07:54:01 +0000 (10:54 +0300)]
Jenkins' job reliability and 8.0 support

As this job is used in jenkins as non-stop job
(i.e. it should be running until aborted), there is a possibility
that executor thread will receive more than one interrupt,
and will generate SIGTERM during the cleanup procedure.
This commit adds some signal ignorance to the cleanup
procedure to have a chance of successful completion if
multiple signals are arriving.

Also, the work on 8.0+ support is started.

Change-Id: If78b896b15d87f560d7d26d4da5becfc757658ef

9 years agoJenkins job cleanup 75/16575/1
Denis V. Meltsaykin [Sat, 30 Jan 2016 20:03:59 +0000 (23:03 +0300)]
Jenkins job cleanup

Jenkins' job build_cluster is using no database for a while,
as everything is being obtained from libvirt directly.
So this commit gets rid of database usage along with removal
of unnecessary checks. Also fixed grammar and some PEP8 issues.

Change-Id: I9fe9f62aa6043d13a4b84097964f3d7b1201fe81

9 years agoNew job configuration and slight change in XML 62/16362/1
Denis V. Meltsaykin [Thu, 21 Jan 2016 17:20:34 +0000 (20:20 +0300)]
New job configuration and slight change in XML

New job configuration is introduced to get effective build managment.
Also, changed the order of boot devices for virtual machines, as
sometimes there might be a problem with re-bootstraping slaves that were
provisioned with OS previously.

Change-Id: I407d0524978e1ef97b5844899a2140ea66311551

9 years agoDNS enhancement 40/16240/1
Denis V. Meltsaykin [Tue, 19 Jan 2016 12:08:40 +0000 (15:08 +0300)]
DNS enhancement

As we hardcode "peerdns=no" in eth0 during master node deployment
a dirty hack is needed to make resolver work. This change introduces new
option "DNS1=$ADMIN_SUBNET_GATEWAY" to ifcfg-eth1, although this address
is not in eth1-network it will work anyway.

Change-Id: I9ed1148b9acbd4e2539186421a31ec7996398ea1