cbf8238caa791a57f6b125052c5d178ab1765ef4
Commit Graph

1503 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Pranav Salunke
36cd7475d8 Rename and updates bashate.
Updates bashate checks to cover the labs folder more throughly and
also omit all other possible files.
Change-Id: I9ad1ef55b54351e21175db8bb08bc44526e952e9
2015年04月19日 15:03:17 +02:00
Jenkins
fcb356bbd9 Merge "Automate Bash style check" 2015年04月19日 12:58:00 +00:00
Jenkins
f13b7dff81 Merge "labs: Renames snapshot" 2015年04月19日 12:13:54 +00:00
Jenkins
ef99ae77f6 Merge "Updates generatelabs scripts" 2015年04月19日 12:13:36 +00:00
sayalilunkad
e33ba8229e labs: Renames snapshot
This patch renames the last snapshot of controller and network node so as to
not cause confusion when new services are added.
Change-Id: Iecd8ffb51808028ad24af389d73522586bda76c4
2015年04月19日 17:37:52 +05:30
Pranav Salunke
96a10daffc Updates generatelabs scripts
Updates to ignore unwanted files. If someone exports their labs
scripts while having existing clusters deployed, these changes will
allow auto-ignore unwanted files while creating the compressed files.
Change-Id: I6ecae37b1d97a7c0c12854f5f3240b842da84af7
2015年04月19日 14:02:25 +02:00
Jenkins
a327d33f16 Merge "Updates README for labs/img section" 2015年04月19日 11:49:25 +00:00
Jenkins
b7af56907a Merge "labs: Adds orchestration service to osbash" 2015年04月19日 11:38:28 +00:00
sayalilunkad
46e71fee16 labs: Adds orchestration service to osbash
Following actions are performed by this patch:
1) Adds the heat packages to the pre-download script
2) Adds OpenStack orchestration service - heat on controller node
3) Adds verification steps for heat installation
Change-Id: Id9241b64af010c314a107330ef39f0ffcc9211b7
2015年04月19日 17:02:45 +05:30
Pranav Salunke
0e094bf80e Updates README for labs/img section
Refactor some stuff and add an URL for Windows users to download the
distro ISOs. It is difficult to copy the URL from the Windows command
prompt.
Change-Id: I12cc40ed733fd36feac4f4d6ae31a9b85999fff9
2015年04月18日 06:08:59 +00:00
Roger Luethi
c992ae3e21 labs: Automatically download install ISO in Windows
With this patch, the Windows batch scripts attempt to automatically
download the install ISO image (this is already the case on Linux, OS X).
Change-Id: I080b593f2b627801845f18587521ad64d53b3504
2015年04月15日 19:28:18 +00:00
Jenkins
4e887b798f Merge "Updates upstream training readme" 2015年04月13日 09:03:49 +00:00
Jenkins
37235df89e Merge "Adds upstream training to OpenStack gate" 2015年04月13日 08:56:29 +00:00
Utsav Dusad
5073cdfcaa Automate Bash style check
bashates all scripts under labs folder.
Change-Id: I99b3fbf7ee3eee41a1917cba236f78dc68f155e3
Closes-Bug: #1430649 
2015年04月10日 23:22:50 +05:30
Pranav Salunke
1640b9a536 Updates upstream training readme
This patch updates the readme for upstream training. Recent changes
from Landslide to Heiroglyph are addressed for building slides from
the rst files.
Change-Id: Ib837e129681bd630f0a791b6c7bfa70826c53ece
2015年04月08日 14:18:36 +02:00
Pranav Salunke
8b9835dfea Updates generatelabs script
Removes unnecessary "bash -c" from the scripts as they are not
required and already being called from the tox.ini.
Change-Id: I533e32d37fd48c9f137ff528f85fb06437f322ce
2015年04月07日 14:32:44 +02:00
Pranav Salunke
9ac3590de7 Adds upstream training to OpenStack gate
Update the current gate 'slides' to build and publish upstream
training content. This patch does the following changes.
* Adds generateslides script to use sphinx/hieroglyph to build slides
* Updates tox.ini to use generateslides script
* Update .gitignore to ignore _build/ directory which is the default
 folder for generated output generated by sphix.
Hence forth, any changes to the upstream training rst slides will be
gated and published, also it is essential to note that these jobs are
new and may not be accurate or reliable to address all the errors in
the rst slides.
Change-Id: I8a220dd31501f9b3733a6282d7048fe283d2a0d1
2015年04月07日 14:27:06 +02:00
Jenkins
a762f760ef Merge "Update tox.ini" 2015年04月07日 07:42:07 +00:00
Matjaz Pancur
de4b4f6a2c Update tox.ini
- rename tox option for building upstream slides only (useful when "debugging"
slide content and appearance), adds doc8 syntax checking
- update ignore-path for doc8 (include also the (future) build directory for
the training guides)
Change-Id: I112f4f20f676e369f7369ed036b14464862ea3ef
2015年04月05日 22:37:21 +02:00
Jenkins
212ef71d6f Merge "labs: update apt pre-download for nova compute" 2015年04月05日 16:49:06 +00:00
Jenkins
5772352a02 Merge "labs: reformat osbash.sh usage text" 2015年04月05日 16:27:52 +00:00
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