d79ee5371881ba95f051ff6727eebb459dc9cce6
513 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Jenkins
|
a920424dec | Merge "labs: Disable telemetry service" | ||
|
Pranav Salunke
|
22394d6fb4 |
labs: Disable telemetry service
Telemetry service comes with high overhead by consuming higher resources than expected for the default minimal cluster configuration for training labs. Commented out the telementry related scripts under the config folder. To re-enable it, just uncomment the required lines. Change-Id: I6d53c4aefe689100c0315a366430a34ff1a807fe |
||
|
Jenkins
|
e85557671b | Merge "labs: move lbaas_controller script to ubuntu folder." | ||
|
Jenkins
|
21155d91de | Merge "labs: repeat test from snapshot" | ||
|
Jenkins
|
9f436e3af4 | Merge "colorize osbash scripts using lib-color.sh" | ||
|
utsav
|
a4bb9d9a12 |
colorize osbash scripts using lib-color.sh
It colorizes the output of osbash.sh using the conventions given in lib-color.sh. Implements: blueprint osbash-color-support Closes-Bug: #1443136 Change-Id: I42ca96454fdab47b283222e2deaf3e9b51d03106 |
||
|
Pranav Salunke
|
93fdc6cdcd |
labs: move lbaas_controller script to ubuntu folder.
Although lbaas controller script does not install any package(s), it still has ubuntu oriented workflow. Change-Id: If8ff129c796cca0cea3198bd31830c135be2c351 |
||
|
Pranav Salunke
|
5b9891d5d5 |
Fixes cinder races
Cinder is failing after upgrade to Juno. This is because of the following race conditions: - Cinder takes time to update the current status of the services. - Cinder sometimes gets stuck at creating block device. - While creating block device, deleting that device is not allowed. This creates error and stops the script from running. Fixes include some helper functions which adds to the robustness of cinder test cases. Co-Authored-By: Roger Luethi <rl@patchworkscience.org> Change-Id: I3254438fdac0bd4a7f927f0f203c51ab6e45b9c0 |
||
|
Jenkins
|
a2eff15285 | Merge "[labs] Minor fix" | ||
|
Pranav Salunke
|
7c8d4ecf8f |
Updates base disk size
Adding orchestration and telementry services require more disk size. The current base disk size may not be sufficient for newely added services. Change-Id: Id8fc90a434cade6e1c9833935938869f6a84252a |
||
|
Roger Luethi
|
4749e620b6 |
labs: repeat test from snapshot
With this changeset, the cluster build can be tested starting from a specific snapshot. This is mostly useful for testing client scripts without having to go through the whole cluster build every time. For instance, to rebuild the cluster from snapshot neuntron_configured: ./tools/repeat-test.sh -b -t neutron_configured -s "controller compute" This will restore the appropriate snapshot on each node, boot nodes controller and compute, and continue the cluster build from the named snapshot onward. Note: this procedure restores, boots, and continues in short order which uncovers new shortcomings (races) in scripts that assume a service is available when they should check and wait for the service. If you just want to restore all nodes to the appropriate snapshots: ./tools/restore-cluster.sh -t <snapshot> Change-Id: I0b7888d02de6eb50760d421d6d897f516f8c7718 |
||
|
Jenkins
|
f8df591df5 | Merge "Fix apache2 error" | ||
|
Pranav Salunke
|
6fa0fa5cd9 |
Fix apache2 error
Apache2 service was not restarting properly since Ubuntu14.04 which resulted in race conditions. This is explained in detail in the script. Adds a work around to fix apache2 race invoked by lack of www-browser virtual package linking to a basic text browser. Adding w3m before hand to avoid any future issues. Ofcourse lynx or links works here too. Also provides more systematic stopping and starting of apache service for eliminating restart/start-stop race issues. Change-Id: I541d5b27bbfdda9b9f3eda72a0f13e9e8333faa2 |
||
|
Pranav Salunke
|
e05cafe19b |
Changes exit status for heat_network unit test
If the test fails, it should exit the script not the cluster. Just reporting this error and gracefully exiting the script should be sufficient. My reasons for this are: * The tests are not completely reliable to say if the cluster is broken for sure. * The tests are not meant to fix the issues with the cluster, it could be a packaging issue or bug in the product. Our aim is not to catch them. * If there is a problem with heat, the other servies are still running fine. And the cluster is still usable. Change-Id: I246bd3144189eba69a64ad545e6fe123e310595e |
||
|
sayalilunkad
|
2fe7df2835 |
labs: Adds telemetry service to osbash
Following actions are performed by this patch: 1) Adds the ceilometer packages to the pre-download script. 2) Adds telemetry services on controller node. 3) Configures glance, cinder to send notification to the telemetry module. 4) Adds ceilometer compute agent on compute node. Co-authored-by: Pranav Salunke <dguitarbite@gmail.com> Change-Id: I82e8f4799e724e09748bb9c743ec8b77e82af39a |
||
|
Jenkins
|
527399d26b | Merge "Rename Bash scripts" | ||
|
Jenkins
|
9619a30df2 | Merge "labs: print stack-list in error case" | ||
|
Jenkins
|
d5622cefc6 | Merge "Fix MD5 verification for fedora-20-x86_64" | ||
|
Jenkins
|
02b4b06cf8 | Merge "labs: protect downloader.js from deletion" | ||
|
sayalilunkad
|
195698212f |
labs: Adds functions to edit config files
This patch adds a function to edit config files without a section parameter. Current functions need a [section] to edit the config file. It also modifies the iniset_sudo function to call this function when section is not specified. Change-Id: Idc213676077622a438b5d96f831b77da5bd32528 |
||
|
Pranav Salunke
|
1a661940b6 |
[labs] Minor fix
Changes print output from 'k' to '.'. Change-Id: I26121097170dc6840b04138fde1367de0e62fea7 |
||
|
Erwan Gallen
|
21df3c8691 |
Fix MD5 verification for fedora-20-x86_64
Adding the missing ISO_MD5 variable in the fedora-20-x86_64 lib Change-Id: I94d90a0373fb8d7b6f57a1252d44e96e76b7e4af Closes-Bug: #1451434 |
||
|
utsav dusad
|
cf3b1fa923 |
Rename Bash scripts
Rename scripts in /labs/lib with proper naming convention. Bug #1451071 Change-Id: I3a1f096414866846a7f9572804c5db852d76a36e |
||
|
Roger Luethi
|
d9c55d0f60 |
labs: print stack-list in error case
setup_heat_network.sh aborts if the status is not CREATE_COMPLETE after 60 seconds. With this patch, the script prints the current stack list before aborting so the user can see the current status of the stack (which might be CREATE_IN_PROGRESS or CREATE_FAILED). Change-Id: I23484ef5dfcc6e5681931b58fba0edef1003ff77 |
||
|
Pranav Salunke
|
0590e95f40 |
Change apache service to restart
After fixing the apache service issue with Ubuntu14.04, restart command should work better that manual stop/start. While stopping and starting a service using scripts, it can sometimes be too fast to give time to the service to respond properly and cause error status and more races. Change-Id: I84b2271f07a10ce1a29403312736272221895c35 |
||
|
Roger Luethi
|
49231a7bde |
labs: protect downloader.js from deletion
In its current location, the download helper for Window batch scripts, downloader.js, gets deleted when the Windows batch scripts are generated (due to a call to clean_dir). This patch moves downloader.js to the tools directory where it remains safe from clean_dir. Change-Id: I48f3daf613e8517dfb9256af298e9e43f76289bc |
||
|
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 |
||
|
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
|
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 |
||
|
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
|
eb584a0cab | Merge "labs: make launch_instance.sh use osbash_key" | ||
|
Jenkins
|
d25fb68db4 | Merge "labs: make TOP_DIR more robust with blanks in path" | ||
|
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" |