]> review.fuel-infra Code Review - tools/sustaining.git/log
tools/sustaining.git
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

9 years agoChange machine type 25/16225/1
Denis V. Meltsaykin [Mon, 18 Jan 2016 16:03:07 +0000 (19:03 +0300)]
Change machine type

Not every qemu supports 'trusty' machine, so changing it to the
more compatible 'pc' type.

Change-Id: Iac941972e3e6b85997adc344321466a2be66bfa3

9 years agojenkins job change 20/16120/1
Denis V. Meltsaykin [Thu, 14 Jan 2016 14:55:14 +0000 (17:55 +0300)]
jenkins job change

fancier output

Change-Id: I57297040ee6808d40440bfdf025cd756e82bea0d

9 years agoAdd parameter for disable ubuntu repos 30/14630/2
vrovachev [Fri, 11 Dec 2015 14:50:01 +0000 (17:50 +0300)]
Add parameter for disable ubuntu repos

Added parameter which disables repos in file sources.d
for update and upgrade commants for Ubuntu update.

Change-Id: I00046a9c80c83411cde3c6ee714544b159d6bd21

9 years agoAdd script for get packages 36/13436/3
vrovachev [Thu, 29 Oct 2015 15:21:13 +0000 (18:21 +0300)]
Add script for get packages

Added script for get package names in fuel mirrors

Change-Id: I341b481953404390df0033a2fb467e66a75e05f7

9 years agoRefactoring mos_apply_mu.py 81/13681/21
Denis V. Meltsaykin [Thu, 5 Nov 2015 14:34:25 +0000 (17:34 +0300)]
Refactoring mos_apply_mu.py

Total refactoring of script:

        * Changed structure to classful
        * Got rid of custom packages installation
        * Support for 5.1.1, 6.0, 6.1, 7.0 added
        * Added logging to file
        * Better wording in help message
        * Changed way how multiple repos are handled in apt-get
        * 5.1.1 now uses dist-upgrade as it's necessary for
          the installation of nova and qemu.

Change-Id: I07d8ee3eb8e2e467800c19b4deb2de009aab367f

9 years agoTesting automation harness using Ansible 73/12373/9
Alex Ermolov [Thu, 1 Oct 2015 12:16:59 +0000 (15:16 +0300)]
Testing automation harness using Ansible

Change-Id: I53f5b4ad66dea90c14b21dd6e7e8e98e82133ca3

9 years agoTempest logs comparing utility 33/11933/4
Alex Ermolov [Sat, 19 Sep 2015 18:49:44 +0000 (21:49 +0300)]
Tempest logs comparing utility

Change-Id: Id38f42ece2888f6d490ffd606bd99c1724fdd41a

9 years agofix all urls by changing their scheme from 'swift+http(s)' to 'swift+config'. 06/12906/2
Denis Puchkin [Fri, 16 Oct 2015 12:55:30 +0000 (15:55 +0300)]
fix all urls by changing their scheme from 'swift+http(s)' to 'swift+config'.

Change-Id: I7eb7d8cd1ab2a7f7bde2fae00c26ec8df93cfc49

9 years agoMerge "Add support snapshot mirror for update env script"
Vitaly Sedelnik [Thu, 15 Oct 2015 14:46:50 +0000 (14:46 +0000)]
Merge "Add support snapshot mirror for update env script"

9 years agoAdd support snapshot mirror for update env script 16/12816/4
vrovachev [Wed, 14 Oct 2015 07:13:48 +0000 (10:13 +0300)]
Add support snapshot mirror for update env script

Added option for enable installation packages from snapshot
mirror to update env script.

Change-Id: Ib67542a73bcbb02ddd29f55658c0e5b28a553c89

9 years agoAdd python validation scripts 81/12681/3
vrovachev [Fri, 9 Oct 2015 11:34:01 +0000 (14:34 +0300)]
Add python validation scripts

Added python script for bug 1393376
Added python script for bug 1486682
Added bash script for bug 1487450

Change-Id: Ia0272d3beb6c55cb5bc10592b13d33564db0454e

9 years ago[WIP] Adding Fuel 6.1+ support 17/12017/12
Denis V. Meltsaykin [Tue, 22 Sep 2015 19:17:34 +0000 (22:17 +0300)]
[WIP] Adding Fuel 6.1+ support

Added new options:
    - ability to guess fuel version and master ip
    - ability to install more than one repo
    - ability whether to download repos automatically

New repositorie will be used exclusive, e.g. updated packages
will be searched only in selected repositories.

Change-Id: I3f0e425217bb7d6892bd27a465a7998505b622eb

9 years agoadded separate iso location for 'build_vm' job 58/11758/1
Alex Ermolov [Thu, 17 Sep 2015 19:01:12 +0000 (22:01 +0300)]
added separate iso location for 'build_vm' job

Change-Id: If497466684c908b99ca49a4f0b579868a1bbec98

9 years agoSmall changes to deploy_cluster 65/11465/1
Denis V. Meltsaykin [Fri, 11 Sep 2015 12:17:14 +0000 (15:17 +0300)]
Small changes to deploy_cluster

As Fuel 6.1 doesn't work reliable with 'virtio' NICs, changing them
to 'e1000'.
Also small cosmetic change to ifcfg generated config.

Change-Id: I2311ae945cfd957d20d14b3f2dfef19f5f4577cb

9 years agoAdd extra options to apt-get to control conflicts 61/10661/1
Denis V. Meltsaykin [Fri, 21 Aug 2015 15:35:17 +0000 (18:35 +0300)]
Add extra options to apt-get to control conflicts

As there might be a new config files in updated packages,
there is possiblity that apt-get will fail at `upgrade`.

Added 2 apt-get/dpkg options:
    -o Dpkg::Options::="--force-confdef"
    -o Dpkg::Options::="--force-confold"

From now on all conflicts will be resolved with an existing versions
of a config files.

Change-Id: Ia3baf77121aacf416742921fe15bdd8cecc96a31

9 years agoAdded 6.0-mu4 fingerprints, bugfix and format change 03/10303/5
Denis V. Meltsaykin [Tue, 11 Aug 2015 11:57:20 +0000 (14:57 +0300)]
Added 6.0-mu4 fingerprints, bugfix and format change

Now json data in .dat file is pretty formatted.
Added 6.0-mu4, fixed behaviour of release checking.

Change-Id: I3bda6e4cff02fd7a696d42485426dad9b865b957

9 years agoJenkins' job to deploy cluster VMs 82/9882/3
Alex Ermolov [Sun, 14 Jun 2015 15:23:21 +0000 (18:23 +0300)]
Jenkins' job to deploy cluster VMs

Also moved all jobs to separate dirs

Change-Id: I424e59af5f02c71990e8c24a1e375d34f9da3356

9 years agoAdd check for affected packages for erratum file 52/10052/5
vrovachev [Mon, 3 Aug 2015 14:55:44 +0000 (18:55 +0400)]
Add check for affected packages for erratum file

Added method for search difference between affected
packages in erratum file and compiled packages from
patches.
Closes-bug: #1480986

Change-Id: I575c6526f795a65e3199e0a6ec1886b36d2e57c3

9 years agoAdd PyYAML python lib to erratumvalidation 81/9881/2
vrovachev [Mon, 27 Jul 2015 12:22:46 +0000 (16:22 +0400)]
Add PyYAML python lib to erratumvalidation

Change-Id: I1cfce4f4d17d464d1c7769067b011b88279afb96
Related-bug: #1478496

9 years agoAdd requirements file for erratumvalidation.py script 80/9880/1
vrovachev [Mon, 27 Jul 2015 12:05:04 +0000 (16:05 +0400)]
Add requirements file for erratumvalidation.py script

Change-Id: Ic8edb3a7780610d9978527807735b1fc3317d192
Related-bug: #1478496

9 years agoAdd python script for validation erratum files 37/9837/1
vrovachev [Fri, 24 Jul 2015 08:26:45 +0000 (12:26 +0400)]
Add python script for validation erratum files
Closes-Bug: #1477694

Change-Id: Ie3677ceae35e6b9174946a9c3a3dae2ac42df046

9 years agoSmall improvements 35/8335/3
Denis V. Meltsaykin [Mon, 22 Jun 2015 15:08:14 +0000 (18:08 +0300)]
Small improvements

Changed the output of `check` in case if updates were never applied.
Now it's not "FAILURE!". Added `version` option, which shows current
version id.

Change-Id: I7bb47e7a72c4a0e4486e5d0848ea1effc915bfac
Closes-Bug: 1461142
Closes-Bug: 1461141

10 years agoFirst version of md5checker 84/7684/4
Denis V. Meltsaykin [Tue, 9 Jun 2015 19:43:22 +0000 (22:43 +0300)]
First version of md5checker

This is initial commit, which consists of md5checker.py tool and
md5checker.dat database. Database has checksums from Fuel 6.0,
6.0-mu3, 5.1.1 and 5.1 releases and will be replenished in future.

Change-Id: Ic5003d4cb075320c41ad0d2238b2215327bbf943

10 years agoSmall fix for development releases 86/6786/3
Denis V. Meltsaykin [Tue, 19 May 2015 10:35:44 +0000 (13:35 +0300)]
Small fix for development releases

Set explicitly showmenu=no, as in some builds the menu is activated
This fixes broken autoinstall of some builds (#425, #433 ...)

Small change in clocksource option, looks like this makes VMs more
stable.

Change-Id: I404e85eefc01f19d513ab6cfa03691a7735f3309

10 years agoFix for murano-enabled environments update 57/6457/7
Denis V. Meltsaykin [Wed, 6 May 2015 14:54:54 +0000 (17:54 +0300)]
Fix for murano-enabled environments update

As murano uses config injection in settings.py we should
reinject murano settings after openstack-dashboard update.
This patch-set introduces murano check/fix section in update
script.

Small unrelated changes also have been made:

Now script on each node uses `logger` with tag mos_apply_mu to
log messages. This means that output of script from each node
will apear on master-node in

/var/log/remote/$nodename$/mos_apply_mu.log

Also amount of output was reduced. Messages became clearer.
Master IP is a mandatory option now.

Closes-Bug: #1457461

Change-Id: If42004c265e8943365a50a0fc2cb0cf6df82f4a8

10 years agoFirst version of jenkins' job to deploy cluster 15/6115/12
Denis Meltsaykin [Wed, 22 Apr 2015 16:50:15 +0000 (16:50 +0000)]
First version of jenkins' job to deploy cluster

As for now this script can make VMs, Volumes and Networks
in libvirt. Also it manages subnets in order to achieve
zero crossing between them. Fuel master node gets dynamic
network parameters from script by injection during bootloader
stage. Public network being injected in Fuel-master node,
so it can be accessible from network. Cluster's network
is configured with apropriate values.

Included changes in nailgun network & settings configuration.

All data is visible in the summary message.

Thanks devops team for scancodes.py

Change-Id: Ia8cb28c8197560216b2f7c2d76689286821666b4

10 years agoRework of mos_apply_mu.py 51/5451/7
Denis Meltsaykin [Wed, 8 Apr 2015 18:30:47 +0000 (18:30 +0000)]
Rework of mos_apply_mu.py

Now script generates bash-script, sends it to remote node and executes it.
New options has been added. Totaly renewed help/usage.
Flake8 runs w/o errors.

Change-Id: I15e7fe476fc17c317630ccab9b2b08eacde84faf

10 years agoSome cosmetic changes 75/5375/1
Denis Meltsaykin [Tue, 7 Apr 2015 12:42:33 +0000 (12:42 +0000)]
Some cosmetic changes

Change-Id: I90d645b1f8a9009242f28ff807a6ad10f52a413e

10 years agoInitial commit 83/5283/7
Denis Meltsaykin [Fri, 3 Apr 2015 13:19:06 +0000 (13:19 +0000)]
Initial commit

apply_patches.py - script to patch/revert several nodes
with patches keeping order

mos_apply_mu.py - script to install updates repository into nodes
(still in progress)

fuel_repo_update.py - sketch of script to update Fuel's repository
list via REST-API

Change-Id: Iebf530f77c5eaf167ab8921b4f2ddf786f56310c

10 years agoAdded .gitreview
Fuel Infra Jeepyb [Fri, 3 Apr 2015 13:00:09 +0000 (13:00 +0000)]
Added .gitreview