5e43cb3227810b83a1bf1d28731b0e4dc335c169
Commit Graph

1332 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Jenkins
e1bcbb7c04 Merge "labs: fix HTTP_EXCEPTIONS check" 2015年04月05日 16:27:13 +00:00
Jenkins
7121f3d28e Merge "labs: fix cp on OS X" 2015年04月05日 16:26:49 +00:00
Roger Luethi
d0fd7fc411 labs: update apt pre-download for nova compute
Two packages are no longer necessary, one has been added for Juno.
Change-Id: I3ad3b360c05df26c60c4f9c4b42299d64615618e
2015年03月31日 06:28:38 +02:00
Jenkins
c853fa5422 Merge "Porting presentations to Sphinx/Hieroglyph" 2015年03月31日 00:05:20 +00:00
Roger Luethi
4807c9b342 labs: fix apache2 restart race
"sudo service apache2 restart" sometimes fails because apache is trying
to grab a resource that another process is still holding onto.
Stopping apache first and starting it afterwards seems to avoid that race.
Change-Id: I55bfa125246fbf960b100682a3f4698f8c1d7e09
2015年03月29日 14:24:30 +02:00
Roger Luethi
a5bc91e170 labs: fix cp on OS X
The cp command that comes with OS X does not know the -u option. Use -f
instead.
Change-Id: Ia943f2af924e9e17045c4507ab8bafd1eaf98f3c
2015年03月29日 11:36:18 +02:00
Roger Luethi
c925574af8 labs: reformat osbash.sh usage text
This patch reformat the usage text for osbash.sh to (hopefully) be more
readable, more accurate, and to make space for a new option to be added
in a later patch. Also adds "--help" option as an alternative for "-h".
Change-Id: I7c41030ab988b27100c313f3242bf45794b87aa2
2015年03月29日 00:11:01 +05:30
Roger Luethi
6bdf7e2e47 labs: fix HTTP_EXCEPTIONS check
If HTTP_EXCEPTIONS is not 0, it is a string. In that case, the
comparison "-ne 0" results in an error and the script aborts.
Use string comparison instead.
Change-Id: I2e9311e6e0577b213281eaa7b0227ca51d59368d
2015年03月28日 09:30:14 +01:00
Pranav Salunke
0a86fa84e0 Updates ubuntu server image
Updates ubuntu server image to ubuntu-server-14.04.2. The older
versions are not currently available for download, resulting in
timeout with http 404 error while download request is being sent.
Change-Id: I86917aa1be0392d45d9e9e33f6a913704ae1fed8
2015年03月27日 10:46:19 +01:00
Jenkins
98f670083c Merge "convert associate guide chapter 7 XML to RST" 2015年03月26日 14:43:48 +00:00
Pranav Salunke
f1e4bfeca8 Porting presentations to Sphinx/Hieroglyph
modifided tox.ini and requirements.txt to install
hieroglyph, added some changes in the styles
of the individual .rst files to support hiero
Change-Id: Id2674e593857470cf4efa0706a4fbda33813f374
2015年03月26日 14:33:38 +01:00
Jenkins
eb584a0cab Merge "labs: make launch_instance.sh use osbash_key" 2015年03月23日 05:48:10 +00:00
Jenkins
d25fb68db4 Merge "labs: make TOP_DIR more robust with blanks in path" 2015年03月23日 05:41:24 +00:00
Jenkins
13f5fd17a0 Merge "labs: fix color output in osbash.sh" 2015年03月17日 06:03:04 +00:00
Jenkins
a5f6ce1358 Merge "convert associate guide chapter 2 XML to RST" 2015年03月16日 17:44:32 +00:00
Sean Roberts
4485486fb3 convert associate guide chapter 7 XML to RST
- convert chapter Network node XML to RST
- change image33.png (older image used quantum)
- update screen.css (use larger font, original was to small)
Change-Id: I785e7f390a961142821da1c20ad490a3852a7dcd
Implements: blueprint convert-the-xml-into-rst
Co-Authored-By: Sean Roberts <seanroberts66@gmail.com>
Co-Authored-By: Matjaz Pancur <matjaz.pancur@fri.uni-lj.si>
2015年03月15日 22:49:10 +01:00
Roger Luethi
dfefac06dc labs: make launch_instance.sh use osbash_key
The test script launch_instance.sh does not work because it still uses
the old Vagrant ssh key. This patch makes it use the new osbash_key
instead.
Change-Id: Ia1f66b8144971e8c0b032b4e0d519e738037671a
2015年03月15日 14:37:27 +01:00
Roger Luethi
66f1a69f10 labs: fix color output in osbash.sh
The last line of osbash does not output color because the "-e" flag is
missing in the echo statement. This patch supplies the missing flag and
wraps the line at 80 characters.
Change-Id: I38856d6a14d7764a4b8b01f7fdc79ee1d8884f72
2015年03月15日 12:21:51 +01:00
Roger Luethi
92003cdb16 labs: make TOP_DIR more robust with blanks in path
Make TOP_DIR more robust when blanks are part of the TOP_DIR path.
Change-Id: I868e3406f358da24049d1e1bdbb4a8197f294a63
2015年03月15日 11:29:48 +01:00
Jenkins
b4da4b1964 Merge "labs: add test script and helpers" 2015年03月15日 07:29:30 +00:00
Utsav Dusad
36339cd5e0 Make all scripts under labs folder Bashate clean
Writing style for bash script is corrected.
Closes-Bug: #1430649
Change-Id: I8c8a73364922d418c47e7cd8ee372710cafab5ce
2015年03月14日 07:07:59 +01:00
Jenkins
61219b2164 Merge "labs: Adds colorizer for osbash script" 2015年03月11日 10:59:06 +00:00
sayalilunkad
845d2ae468 labs: Adds colorizer for osbash script
Adds script with all the colors and decorators like bold, underline.
Uses this script in main osbash.sh script to bring color to the script
run.
Also adds -c option to enable colors while buiding osbash script.
Usage: ./osbash.sh -b cluster (colors enabled by default)
 ./osbash.sh -b --no-color cluster (colors disabled)
Implements: blueprint osbash-color-support
Change-Id: I5b17221f67f76552deb3498b8a020f1b0d3a64a8
2015年03月11日 14:56:22 +05:30
Jenkins
cbd2149109 Merge "Modifies osbash files to use osbash ssh keys" 2015年03月09日 14:08:25 +00:00
sayalilunkad
05676783f2 Modifies osbash files to use osbash ssh keys
This patch makes use of the osbash public and private keys to ssh to VM
rather than the vagrant keys.
This also removes the vagrant keys directory from the repository.
Change-Id: I939274f188a02469c7e2cf9f9502510ea00d514e
2015年03月09日 13:49:52 +00:00
sayalilunkad
99189ab278 Point to version 2 pre-configuration files
This patch replaces the URLs pointing to the
pre-configuration files for all supported distros
to the latest version.
Change-Id: Ia9a158f695562c56a904af36367b3f2acd9db968
2015年03月08日 15:07:00 +00:00
sayalilunkad
3e6c2160dd Changes pre-config files to use new ssh keys
This patch adds version 2 of preseed files
pointing to the to the new osbash ssh keys URL
while keeping the older version to point to the
vagrant keys URL.
Change-Id: If0f0b609d5d58d7169eed0e2e84a890c7f3b4970
2015年03月08日 20:33:01 +05:30
Roger Luethi
8a6a88b6b8 labs: add test script and helpers
Add script launch_instance.sh for basic instance VM tests. The script
tries to deal with a number of failures that have turned up in testing
(e.g., services failing to start, instance not launching).
The changeset includes three scripts in a new tools directory.
1) To run a test once, use test-once.sh:
 $ ./tools/test-once.sh scripts/test/launch_instance.sh
2) To restore (and boot) the cluster to an earlier snapshot, use
 restore-cluster.sh.
 The argument selects the snapshot used for the controller node VM.
 To select the most recently used snapshot:
 $ ./tools/restore-cluster.sh current
 To select the controller snapshot, "controller_node_installed":
 $ ./tools/restore-cluster.sh controller_node_installed
3) To run the same test repeatedly, use repeat-test.sh. The test script
 name is hard-coded (launch_instance.sh). The argument determines
 whether the cluster is rebuilt for each test or if a snapshot of
 the cluster is restored.
 The controller snapshot is hardcoded (controller_node_installed);
 this particular snapshot is of interest because it does not seem to
 result in a reliable cluster.
 Log files are stored in log/test-results. Repeat-test.sh also
 saves log files from each node's /var/log/upstart to help with
 analyzing failures.
 $ ./tools/repeat-test.sh restore
 After running a number of tests, you can get some simple stats
 using a command like this:
 $ grep -h SUM log/test-results/*/test.log|LC_ALL=C sort|uniq -c
Co-Author: Pranav Salunke <dguitarbite@gmail.com>
Change-Id: I20b7273683b281bf7822ef66e311b955b8c5ec8a
2015年03月08日 13:59:31 +01:00
Jenkins
a6c28ef51e Merge "labs: merge node-specific config/scripts.* files" 2015年03月07日 10:04:17 +00:00
OpenStack Proposal Bot
19b800f541 Updated from global requirements
Change-Id: I7ea2ae22aae74523ec466ffef8aac090e13429ab
2015年03月06日 16:54:33 +00:00
Matjaz Pancur
b1a60a91c9 convert associate guide chapter 2 XML to RST
Converts Getting started quiz to RST format. I also corrected a few typos.
Change-Id: I569d39c212876f480e307722dcaba19a41175205
Implements: blueprint convert-the-xml-into-rst
Co-Authored-By: Sean Roberts <seanroberts66@gmail.com>
Co-Authored-By: Matjaz Pancur <matjaz.pancur@fri.uni-lj.si>
2015年03月02日 20:34:01 +00:00
Roger Luethi
86e1462b62 labs: merge node-specific config/scripts.* files
Currently, we have a file directing the build for each node. However,
rebuilding just one node hardly ever makes sense, so we might as well
remove the extra files and have the user just rebuild the cluster.
With this patch, every distribution will have a basedisk scripts
configuration file (as before) and one scripts configuration file for
building the cluster (or several for building additional, different
clusters).
Change-Id: I7f50d49d7337b790416a2a76c86be510990859fd
2015年03月01日 19:04:39 +01:00
Jenkins
a72d1d713f Merge "labs: stop advertizing export option" 2015年02月24日 11:55:51 +00:00
Jenkins
b6b4e75594 Merge "labs: Creates insecure ssh key" 2015年02月23日 19:05:46 +00:00
Pranav Salunke
191e317d84 Disables XML publishing
Address the change from XML to RST, XML based jobs are disabled. Current
content in Juno release for training guides is not going to include any
XML Docbook content. This patch disables the XML related jobs.
This patch will be followed by more jobs added to build RST content to
HTML and PDF format as required using the tools decided by the team. The
jobs disabled will be re-enabled with the appropriate set of tools.
Deletes all the jobs which are not required. Addresses changes done by
https://review.openstack.org/#/c/152118.
Change-Id: I91727929fe19dbc7487f2719cdba80157c543d6b
2015年02月23日 08:10:25 +01:00
Matjaz Pancur
747227bb04 Fix broken master repo
Because of the new gating system (gate-training-guides-tox-slides), we need to
cleanup all existing RST files.
There is a small rendering problem with Landslide in the Upstream training
and all the Title slides (empty slides with only a Title). The check doesn't
like "empty" slides ("Document or section may not begin with a transition."),
Landslide deals with this by ignoring errors
(https://github.com/adamzap/landslide/issues/94), but our gating check does
not. I temporary changed all such slides to normal ones.
I also had to change training-guides/landslide.sh a bit (a quick hack so that
it works as expected).
Change-Id: I6c3ae06235e69c4a53741e74a5642d27083f4df0
2015年02月22日 21:53:56 +01:00
sayalilunkad
bf7e0e63a6 labs: Creates insecure ssh key
This patch only adds insecure ssh keys which will replace the vagarant
insecure ssh keys used by osbash.
We need to merge this patch before we can use these keys as the public
key needs to be downloaded into the kernel while installing the
operating system on all the nodes to enable ssh to the VMs.
This patch will be followed by another patch which will use they osbash
ssh key and remove the vagarant keys from the repository.
Change-Id: Ic3b6d7cbad1077a967a3396a21a6c4c91e3ae091
2015年02月23日 02:19:42 +05:30
Roger Luethi
09057be0fb labs: stop advertizing export option
Exported VMs are currently not very useful. Export/import needs work
at least for network configuration to survive the transport.
Upcoming patches would become more complicated just to preserve the
current export functionality that nobody's using.
This patch does not remove export, but keeps osbash.sh from telling
anyone about its existence.
Change-Id: I4f09fe15b199545e0e7fbc5fa9b3b030a539b934
2015年02月22日 15:42:29 +00:00
Jenkins
b0226a11d7 Merge "Add slides tox environment" 2015年02月19日 21:22:01 +00:00
Jenkins
e8d0b05172 Merge "Enable the Ubuntu cloud archive" 2015年02月19日 20:30:11 +00:00
Jenkins
59fdfb2395 Merge "Functional changes in cinder_volumes to match Juno" 2015年02月19日 20:26:24 +00:00
Jenkins
2b73b4a42f Merge "Functional changes in nova-compute to match Juno" 2015年02月19日 20:26:18 +00:00
Jenkins
909510b082 Merge "Functional changes in neutron_controller to match Juno" 2015年02月19日 20:25:37 +00:00
Jenkins
59fbd04fb2 Merge "Changes in horizon to match Juno" 2015年02月19日 20:25:26 +00:00
Jenkins
41323b97d3 Merge "Functional changes in keystone (part 1) to match Juno" 2015年02月19日 20:23:37 +00:00
Jenkins
4e9df21a25 Merge "Functional changes in keystone (part 2) to match Juno" 2015年02月19日 20:22:35 +00:00
Jenkins
362556a549 Merge "Functional changes in keystone (part 3) to match Juno" 2015年02月19日 20:21:41 +00:00
Jenkins
dca3222312 Merge "Functional changes in neutron_network to match Juno" 2015年02月19日 20:07:32 +00:00
Jenkins
26ce3c615e Merge "Functional changes in cinder_controller to match Juno" 2015年02月19日 19:54:53 +00:00
Jenkins
198ff6fb9d Merge "Functional changes in nova_controller to match Juno" 2015年02月19日 19:53:19 +00:00