cbf8238caa791a57f6b125052c5d178ab1765ef4
Commit Graph

1503 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
Roger Luethi
29efa4a3e7 Labs: Wait for external bridge
If we change configuration files right after installing service
packages, automatically started services may pick up changed
configuration files rather than the default files they were packaged
with.
If the neutron-l3-agent starts with our custom configuration file which
refers to the external bridge br-ex while that bridge is not there
(yet), the port is permanently marked as unavailable (vlan tag=4095).
In such a case, a line like this can be found in /etc/openvswitch/conf.db:
{"_date":1435514607570,
"Port":{"20b0e96c-6103-46e6-a234-a4d5439eece7":{"tag":4095}}, "_comment":"
ovs-vsctl: /usr/bin/ovs-vsctl --timeout=10 set Port qr-4be1ab91-60 tag=4095"
,"Open_vSwitch":{"e00f3d6f-e55a-419a-a605-141021026dee":{"next_cfg":15}}}
For additional information, check this neutron bug:
Neutron openvswitch-agent doesn't recover ports from binding_failed status
https://bugs.launchpad.net/neutron/+bug/1399249
This is another race -- waiting for a few seconds before changing the
configuration files fixes the problem. The alternative used in this
patch is to stop the neutron-l3-agent before editing the configuration
files and to start it only once the bridge is ready.
Change-Id: I55762d17817e5e1cdb4c0420374c9fbc314bdff1
Co-Authored-By: Vigneshvar.A.S <vigneshvar.a.s@gmail.com>
Co-Authored-By: sayalilunkad <sayali.92720@gmail.com>
2015年06月29日 16:50:32 +00:00
Jenkins
7e76480468 Merge "[upstream-training] improve the index.rst file" 2015年06月20日 13:20:30 +00:00
Jenkins
d79ee53718 Merge "Bump hieroglyph version to 0.7.1" 2015年06月16日 12:30:11 +00:00
Jenkins
8093bdf6d7 Merge "Improve the conf.py" 2015年06月16日 12:29:06 +00:00
Jenkins
0d27d88120 Merge "Add OpenStack logo in the footer" 2015年06月16日 12:27:27 +00:00
Christian Berendt
f3756b0a37 [upstream-training] improve the index.rst file
* remove the "Indices and tables" slide
There is no need for a "Indices and tables" slide. The slide is
confusing and should be removed.
* convert the index.rst file from a default Sphinx documentation
 index.rst file into a more useful hieroglyph index.rst file
Change-Id: I15f9b5a44fd86972d6d937f11922335fa4cc1163
2015年06月16日 13:47:29 +02:00
Christian Berendt
0dd635990b Remove 00-training-student-project-sample.odp file
Change-Id: I4cddc03268c47575fc25b60c4c3c87816170b8cf
2015年06月15日 17:21:16 +02:00
Christian Berendt
eae7b427ba Bump hieroglyph version to 0.7.1
Change-Id: Ic446c3929b988525b1cb9d987f4a598bf28bf99d
2015年06月15日 17:10:12 +02:00
Matjaz Pancur
168a229028 Add OpenStack logo in the footer
Add small Openstack logo in the footer of the Associate guide slides.
Change-Id: I33125365851229d169414696a9a5a0f727a9e84f
2015年06月15日 14:51:00 +02:00
Matjaz Pancur
cac3636316 Improve the conf.py
Use Upstream training version of the cleaned up conf.py.
Change-Id: Id493b417365c8a42f8e77214b7e2fdf2c1486c53
2015年06月15日 14:40:26 +02:00
Jenkins
93777c5733 Merge "[upstream-training] remove Makefile" 2015年05月28日 13:33:52 +00:00
Jenkins
ce1d1e673f Merge "[upstream-training] improve the conf.py file" 2015年05月28日 13:33:24 +00:00
Jenkins
a920424dec Merge "labs: Disable telemetry service" 2015年05月28日 09:15:28 +00:00
Christian Berendt
65c558e294 [upstream-training] improve the conf.py file
Resolves some PEP8 issues and uses the same default values like used in
other documentation projects.
Change-Id: Iaf30083904eb9a204a8421db278be6227c224b3f
2015年05月27日 14:20:58 +02:00
Christian Berendt
f95c9e313b [upstream-training] remove Makefile
The available and documented tox virutal environments should
be used to build the upstream training guide and not the Makefile. To
avoid confusion the Makefile should be removed.
Change-Id: I65cd0ddb307f02909062c1129cddfa651eeaa2ba
2015年05月27日 14:07:54 +02:00
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
2015年05月27日 11:27:35 +02:00
Jenkins
e85557671b Merge "labs: move lbaas_controller script to ubuntu folder." 2015年05月27日 06:31:00 +00:00
Jenkins
21155d91de Merge "labs: repeat test from snapshot" 2015年05月27日 06:30:52 +00:00
Tim Freund
d5e6feac8a Change the order of PTL, APC, and ATC slides
This change reverses the order of the PTL, APC, and ATC slides in
response to student feedback in the last two Upstream training sessions.
Change-Id: I95ec52898115ecec37f084efb476db82e4f38658
Closes-Bug: #1457174 
2015年05月20日 11:41:55 -07:00
Jenkins
9f436e3af4 Merge "colorize osbash scripts using lib-color.sh" 2015年05月18日 18:24:24 +00:00
Jenkins
7d01e8f1f7 Merge "Add OpenStack logo in the footer" 2015年05月18日 18:19:21 +00:00
Jenkins
6e72bc642d Merge "Fix environment for publishing" 2015年05月16日 18:03:57 +00:00
Jenkins
7c2c1674ba Merge "Upstream Ch 03 updates" 2015年05月16日 18:03:26 +00:00
Andreas Jaeger
b688b5ee43 Fix environment for publishing
The tox environment name should be publishdocs for proper publishing.
Change-Id: I654c20a2adcf83626971b445b0909cbffb40d944
2015年05月16日 19:38:27 +02:00
Jenkins
34c9cd8506 Merge "Replace ci.o.o links with docs.o.o/infra" 2015年05月16日 16:26:44 +00:00
Jenkins
ad380a422e Merge "Publish upstream-training slides as draft" 2015年05月15日 15:40:41 +00:00
Jenkins
645174007c Merge "Start working on updated slide 4" 2015年05月15日 15:40:18 +00:00
Jeremy Stanley
c693468093 Replace ci.o.o links with docs.o.o/infra
The http://ci.openstack.org/ documentation site has been deprecated,
replaced by redirects to corresponding paths within
http://docs.openstack.org/infra/ where other Project Infrastructure
documentation already resides.
Change-Id: If4000b7f3366a028861698614bf67a3dfeb2ad10
2015年05月14日 21:38:20 +00:00
Stefano Maffulli
62f1cafa9a Start working on updated slide 4
Adding details about the "Big Tent" and DefCore
Change-Id: I722f406bfcf83f645f2aa9df924053be76534a55
2015年05月14日 11:04:13 -07:00
Andreas Jaeger
f0daf37725 Publish upstream-training slides as draft
Create publishbuild and checkbuild targets so that the upstream-training
slides will be gated and published at
http://docs.openstack.org/draft/upstream-training
Change-Id: I2ad3736cbd5e66d07bb84ffb9f805a0270663f7b
2015年05月13日 20:26:03 +02:00
Chris Ricker
49cb3c6011 Upstream Ch 03 updates
Added an initial slide about OpenStack governance.
Change-Id: I881ab4279d1b01bdd57cbcd299210b706030489b
2015年05月13日 07:55:27 -04:00
Jenkins
c3dd3322ea Merge "Fixes cinder races" 2015年05月12日 01:47:28 +00:00
Jenkins
49d7393312 Merge "Add community intro slide to training ch 02" 2015年05月12日 01:47:00 +00:00
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
2015年05月11日 21:15:34 +05:30
Chris Ricker
be7b4f9c75 Add community intro slide to training ch 02
Add a slide with stats about the OpenStack community as an intro
for chapter 02.
Change-Id: I83e2856f34d7d2a65598f2303ad33a52413ecafc
2015年05月11日 09:44:58 -04:00
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
2015年05月10日 19:49:00 +02:00
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
2015年05月10日 15:07:13 +00:00
Jenkins
a2eff15285 Merge "[labs] Minor fix" 2015年05月10日 14:52:48 +00:00
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
2015年05月10日 14:22:53 +00:00
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
2015年05月10日 16:14:52 +02:00
Jenkins
f8df591df5 Merge "Fix apache2 error" 2015年05月10日 14:06:24 +00:00
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
2015年05月10日 15:54:29 +02:00
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
2015年05月10日 15:50:50 +02:00
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
2015年05月10日 13:07:44 +00:00
Jenkins
527399d26b Merge "Rename Bash scripts" 2015年05月10日 13:04:28 +00:00
Jenkins
9619a30df2 Merge "labs: print stack-list in error case" 2015年05月10日 13:03:14 +00:00
Jenkins
d5622cefc6 Merge "Fix MD5 verification for fedora-20-x86_64" 2015年05月10日 12:58:17 +00:00
Jenkins
02b4b06cf8 Merge "labs: protect downloader.js from deletion" 2015年05月10日 12:45:05 +00:00
Jenkins
d453edeeef Merge "Updates README and deletes old files" 2015年05月08日 16:26:36 +00:00
Jenkins
62f90dead3 Merge "Upstream updates - Chap 01" 2015年05月08日 16:23:26 +00:00