cbf8238caa791a57f6b125052c5d178ab1765ef4
1503 Commits
| 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 |
||
|
Jenkins
|
fcb356bbd9 | Merge "Automate Bash style check" | ||
|
Jenkins
|
f13b7dff81 | Merge "labs: Renames snapshot" | ||
|
Jenkins
|
ef99ae77f6 | Merge "Updates generatelabs scripts" | ||
|
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 |
||
|
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 |
||
|
Jenkins
|
a327d33f16 | Merge "Updates README for labs/img section" | ||
|
Jenkins
|
b7af56907a | Merge "labs: Adds orchestration service to osbash" | ||
|
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 |
||
|
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 |
||
|
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 |
||
|
Jenkins
|
4e887b798f | Merge "Updates upstream training readme" | ||
|
Jenkins
|
37235df89e | Merge "Adds upstream training to OpenStack gate" | ||
|
Utsav Dusad
|
5073cdfcaa |
Automate Bash style check
bashates all scripts under labs folder. Change-Id: I99b3fbf7ee3eee41a1917cba236f78dc68f155e3 Closes-Bug: #1430649 |
||
|
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 |
||
|
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 |
||
|
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 |
||
|
Jenkins
|
a762f760ef | Merge "Update tox.ini" | ||
|
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 |
||
|
Jenkins
|
212ef71d6f | Merge "labs: update apt pre-download for nova compute" | ||
|
Jenkins
|
5772352a02 | Merge "labs: reformat osbash.sh usage text" | ||
|
Jenkins
|
e1bcbb7c04 | Merge "labs: fix HTTP_EXCEPTIONS check" | ||
|
Jenkins
|
7121f3d28e | Merge "labs: fix cp on OS X" | ||
|
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 |
||
|
Jenkins
|
c853fa5422 | Merge "Porting presentations to Sphinx/Hieroglyph" | ||
|
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 |
||
|
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 |
||
|
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 |
||
|
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 |
||
|
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 |
||
|
Jenkins
|
98f670083c | Merge "convert associate guide chapter 7 XML to RST" | ||
|
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 |
||
|
Jenkins
|
eb584a0cab | Merge "labs: make launch_instance.sh use osbash_key" | ||
|
Jenkins
|
d25fb68db4 | Merge "labs: make TOP_DIR more robust with blanks in path" | ||
|
Jenkins
|
13f5fd17a0 | Merge "labs: fix color output in osbash.sh" | ||
|
Jenkins
|
a5f6ce1358 | Merge "convert associate guide chapter 2 XML to RST" | ||
|
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> |
||
|
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 |
||
|
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 |
||
|
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 |
||
|
Jenkins
|
b4da4b1964 | Merge "labs: add test script and helpers" | ||
|
Utsav Dusad
|
36339cd5e0 |
Make all scripts under labs folder Bashate clean
Writing style for bash script is corrected. Closes-Bug: #1430649 Change-Id: I8c8a73364922d418c47e7cd8ee372710cafab5ce |
||
|
Jenkins
|
61219b2164 | Merge "labs: Adds colorizer for osbash script" | ||
|
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 |
||
|
Jenkins
|
cbd2149109 | Merge "Modifies osbash files to use osbash ssh keys" | ||
|
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 |
||
|
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 |
||
|
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 |
||
|
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 |
||
|
Jenkins
|
a6c28ef51e | Merge "labs: merge node-specific config/scripts.* files" |