14 Commits

Author SHA1 Message Date
Andrea Frittoli (andreaf)
63171eeae2 Move extensions_to_txt to the job defintion
Move extensions_to_txt to the job defintion so that it may be
extended by descendant jobs.

Depends-on: https://review.openstack.org/540485/

Change-Id: I6e9009faa1451698ed781ce1ffdd9f22c97daa93
2018-02-02 18:45:40 +00:00
Monty Taylor
a904caded4
Move zuul_copy_output to be a job variable
The zuul_copy_output variable is designed to be able to be used as
a zuul job variable so that zuul dictionary merging will work. However,
it's currently being set in the playbook rather than as a job variable,
so it's not possible to supplement it in a child job.

Move it to be a job variable. Also remove the wrapping {} as they should
not be needed to make zuul_copy_output a dictionary.

Change-Id: I78c7fed47c2ab868384c74dbff7904d33d510dd9
2018-01-31 14:40:39 -06:00
Zuul
28b4be1861 Merge "Make stackenv file visible" 2018-01-03 23:19:46 +00:00
Jens Harbott
49f3cc76bf Make stackenv file visible
The file won't be listed as long as it is called .stackenv.txt.gz, with
this it will be called _stackenv.txt.gz instead.

Change-Id: Ib3b44c287ffb2ec0e48fefef1662a1c02d162657
2017-12-20 08:38:29 +00:00
Andrea Frittoli (andreaf)
a2b174168a Stage a number of system type logs
This could be ansiblesed a more, for now more or less the bash code
from d-g wrapped in a role.

Change-Id: Ia7fe40f05ca394da9a65fef6383d72f29a532e2f
2017-12-18 18:21:24 +00:00
Andrea Frittoli (andreaf)
5a9872a9b9 Stage openstack config files
Stage config files from openstack and all projects used by the
devstack run.

Change-Id: I99f1bc71856b0da7fc5b438d13d4f508d2341e44
2017-12-18 18:21:24 +00:00
Andrea Frittoli (andreaf)
e6b0169a02 Stage libvirt logs and sudoers
Stage libvirt logs and sudoers configuration.

Change-Id: I46112c52f05c6015a9f397eda130404beeb5e899
2017-12-18 18:21:24 +00:00
Andrea Frittoli (andreaf)
d04658eb50 Stage rabbitmq and DB logs
Stage rabbitmq and DB logs so they are copied to logs.o.o

Change-Id: Ica8a86c2649b2871f366e3ca48a8b47f455879bc
2017-12-18 18:21:24 +00:00
Andrea Frittoli (andreaf)
9c977b56eb Stage apache logs
Add apache logs to the list of things we stage.

Change-Id: I9d3d8e710ae87a71b74f96538cad6fad58dbef79
2017-12-18 18:21:24 +00:00
Andrea Frittoli (andreaf)
b7f8624bed Setup devstack-early log
The whole devstack log is written into the console output
(job-output.txt) and into devstacklog.txt.

Remove it from job-output and add a devstack-early log file (same as in
legacy job) that includes all the output of stack.sh.

Make sure the log file is pulled into the stage folder so that it will
end up on logs.o.o.

Change-Id: Ia7c1d8fe5cc03d15f455c6e62ebf4a5f6d62ab1f
2017-12-18 18:21:24 +00:00
Andrea Frittoli (andreaf)
71bf831a90 Add a few more devstack confs and logs
Add localrc for places where it may be still used.
Collect verify_tempest_conf.

Change-Id: I733c6472e8452ed6fc04c6de1c170713812a436f
2017-12-18 18:21:24 +00:00
Andrea Frittoli (andreaf)
290d9d87f4 Use stage_dir instead of /opt/stack
Historically we have collected devstack logs under /opt/stack.
Stop doing that and collect them in the stage_dir instead, so that
once the base job logs pull service comes around we are ready for it.

This add the benefit of writing things into a folder which is
already owned by the ansible user (ansible_user_dir), so we don't
run into issue writing there.

A few logs (devstack log, log summary and dstat) use to show up on
logs.o.o. just because they happened to already be in /opt/stack/logs.
With this change they would be lost, so adding them to post.yaml.

Depends-on: I5ad4dfccbc1389da3afc53f3c866d3475e006db6

Change-Id: Ib4be2f5056c0dc2b776de4a0d18b47b12624be92
2017-12-18 18:21:24 +00:00
Dean Troyer
986cd13a21 Collect devstack config files in post.
Co-Authored-By: yong sheng gong <gong.yongsheng@99cloud.net>
Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
Co-Authored-By: Andrea Frittoli <andrea.frittoli@gmail.com>

Change-Id: Id9ad3be4be25e699f77d6b5a252f046ce8234f45
2017-12-08 17:28:12 +00:00
Monty Taylor
36ddea31a2 Add devstack base job for zuul v3
This should be managed in the devstack repo, since it's a base job to
run devstack.

Change-Id: Iffe54fbccbccd68db08f79a1b51dd7f76dbff408
Depends-On: Ie2119f24360d56690ffd772b95a9ea6b98dd4a39
2017-10-15 07:17:18 -07:00