6006 Commits

Author SHA1 Message Date
Yalei Wang
2443c37c1d Add n-cauth into defalut services
n-cauth work with n-novnc to provide the vnc service for VMs.

Change-Id: Ia5c53aaaf7fe4f881d525a31b097b167fdb8e5c8
Closes-Bug: #1447774
2015-04-24 10:58:52 +08:00
Jenkins
5ea9fb1305 Merge "Fix issue with ml2 plugin on using provider network" 2015-04-23 17:45:49 +00:00
Jenkins
cd7655cbfc Merge "made several changes to guides to comply to doc conventions" 2015-04-23 04:04:58 +00:00
Shilla Saebi
2ed09d88fb made several changes to guides to comply to doc conventions
“Speed not required” is not a sentence
Gb should be GB
added a , after floating IPs
fixed sentence around “To implement a true multi-node test of Swift
since it did not make sense
removed extra underline line after Machines
removed capitalization of service names to comply with docs conventions
https://wiki.openstack.org/wiki/Documentation/Conventions
changed to DevStack for consistency throughout
Change-Id: I531bf6b2bad62fbf9d1417b2b1ce06de3715e0f0
2015-04-21 15:50:22 -04:00
Jenkins
4ab283fea1 Merge "Add response time to keystone access log" 2015-04-21 09:43:42 +00:00
Ramakrishnan G
8f5fe871a4 Fix issue with ml2 plugin on using provider network
This commit fixes the issue that ml2 plugin
sets 'flat_networks' in ml2 configuration file as
empty.  The value of 'flat_networks' need to be set 
as the name of the physical network that was specified 
in the localrc file (or it's default value).

Change-Id: Ib4c31f6576da57534b36aefebd1ca8cd397c6c1a
2015-04-21 04:57:55 +00:00
Jenkins
14d1cf90ed Merge "Add a peak memory tracker to dstat" 2015-04-20 19:16:58 +00:00
Morgan Fainberg
a80cb815ff Add response time to keystone access log
Add the response time to keystone's access log for each request. This
will be the last element in the log-line and will be represented in
microseconds.

Change-Id: I19204369af5cdf06df2237550c350dfb3ffc995d
2015-04-20 17:43:44 +00:00
Jenkins
c2a3d3f16b Merge "Clone external plugins before overriding defaults" 2015-04-20 17:12:55 +00:00
Ian Wienand
72a8be60cd Add a peak memory tracker to dstat
We can see at-a-glance memory usage during the run with dstat but we
have no way to break that down into an overview of where memory is
going.

This adds a peer-service to dstat that records snapshots of the system
during peak memory usage.  It checks periodically if there is less
memory available than before and, if so, records the running processes
and vm overview.

The intent is to add logic into the verify-pipeline jobs to use this
report and send statistics on peak memory usage to statsd [1].  We can
then build a picture of memory-usage growth over time.  This type of
report would have allowed better insight into issues such as
introduced by Idf3a3a914b54779172776822710b3e52e751b1d1 where
memory-usage jumped dramatically after switching to pip versions of
libraries.  Tracking details of memory usage is going to be an
important part of future development.

[1] http://graphite.openstack.org/

Change-Id: I4b0a8f382dcaa09331987ab84a68546ec29cbc18
2015-04-20 12:27:32 -04:00
Jenkins
db20059b76 Merge "Add logging config to cinder.conf" 2015-04-20 14:28:32 +00:00
Jenkins
e62ebd60b7 Merge "Catalog Index Service - glance devstack" 2015-04-20 14:27:25 +00:00
Jenkins
9aad1b99fd Merge "refactor ping_check" 2015-04-20 13:39:33 +00:00
Jenkins
c8305cd124 Merge "run dstat with run_process" 2015-04-20 11:34:53 +00:00
Jenkins
eb52c80ca6 Merge "Append command to screenrc after we update it" 2015-04-20 00:09:36 +00:00
John Griffith
95b994d548 Add logging config to cinder.conf
Part of the effort to clean up the Cinder logs is to use
the resource tag in the log format.  We also want to have
some consistency with other projects in how we do logging.

This change adds the logging format to cinder.conf similar to
what Nova and others use, and most importantly turns on the use
of the resource tag that's in olso_log.

We're slowly cleaning up the logging in Cinder by doing things
like replacing "Delete volume %(volume_id)s compoleted" with
("Delete volume completed successfully.", resource=volume)

It woudl be good to have these picked up as we transition so we're
not missing info.  Also, there's sure to be cases where "volume"
isn't a valid dbref and we find issues that need fixed.

Change-Id: I193637fea14d97183f6a9782f37d8edcf929e0c4
2015-04-18 16:30:47 -06:00
Jenkins
e52cfc5524 Merge "Create config file in merge_config_file" 2015-04-17 19:32:24 +00:00
Jenkins
d749518bf9 Merge "Remove old comment in run_tests.sh" 2015-04-17 19:32:18 +00:00
Jenkins
2112945dbc Merge "Convert test_functions.sh to use unittest helpers" 2015-04-17 19:32:09 +00:00
Jenkins
e5008e002b Merge "Fix die_if_not_set tests" 2015-04-17 19:32:01 +00:00
Jenkins
4593593ebe Merge "Move function.sh to test_functions.sh" 2015-04-17 19:31:52 +00:00
Jenkins
f1e2db756d Merge "Fix return of test_ini_config & test_meta_config" 2015-04-17 19:31:44 +00:00
Jenkins
739b24e78d Merge "Use unittest help in test_ip.sh" 2015-04-17 19:31:34 +00:00
Jenkins
082a0bca3a Merge "Add "passed" and "failed" functions" 2015-04-17 19:30:35 +00:00
Jenkins
23e1dd7f28 Merge "Fixing n-crt removal from stackrc" 2015-04-17 17:42:19 +00:00
Jenkins
3894170067 Merge "Remove keystone public/admin_endpoint options" 2015-04-17 17:36:35 +00:00
Jenkins
a4cad71fbd Merge "Added support of sahara with tls-proxy service" 2015-04-17 15:49:32 +00:00
Jenkins
87bb99d9e4 Merge "Switching Sahara to https in case of USE_SSL=True" 2015-04-17 15:49:22 +00:00
Jenkins
4c354b9f07 Merge "Added ceilometer-agent-ipmi support" 2015-04-17 15:49:17 +00:00
Jenkins
e350d3aa53 Merge "Assurance status of rabbitmq is running" 2015-04-17 15:49:12 +00:00
Jenkins
3064cee10a Merge "Added libxml2-dev package as a pre-requisite when installing tempest. This is required so that devstack can be installed on vanilla Ubuntu systems." 2015-04-17 15:49:07 +00:00
Jenkins
f1d7f8899e Merge "Remove unused IPv6 setup from DevStack neutron script" 2015-04-17 15:49:00 +00:00
Jenkins
abfa858f79 Merge "Revert "List all CIRROS ARCH images in image_list.sh"" 2015-04-17 15:47:27 +00:00
Sean Dague
af9bf8663b refactor ping_check
Encapsulate all the neutron specific things you have to do ping a
neutron guest into a separate script. Refactor the main ping_check so
all logic is contained within it.

Change-Id: Ic79d8e3a2473b978551a5635a11dba07e1020bb2
2015-04-17 07:39:28 -04:00
Ian Wienand
fa3e841286 Create config file in merge_config_file
Change If132a94e53545d9134859aa508da7b9819ede2f8 introduced a small
regression; it added an "inidelete" which looks in the config file to
delete rows.

However, at least for the test-case, the config file isn't created
yet.  The end result is that the test fails but we don't notice.

 2015-04-17 00:55:03.169 | merge_config_file test-multiline: sed: can't read test-multiline.conf: No such file or directory
 2015-04-17 00:55:03.195 | OK

So fix this up by creating the config-file if it isn't there.

Also, add "-e" to the test file so we catch things like this in the
future.

Change-Id: I43a4ecc247f19cccf51d5931dfb687adbd23d6b1
2015-04-17 13:23:25 +10:00
Ian Wienand
9b64bbf06e Remove old comment in run_tests.sh
The scope of this has expanded to run everything in ./tests

Change-Id: I640b0a8b7aa578ddd24dd3e58d5b2a1e09fe0284
2015-04-17 13:23:25 +10:00
Ian Wienand
09f4ad2279 Convert test_functions.sh to use unittest helpers
This currently does not exit with any failure code when tests are
failing.  Convert it to use the helper functions from unittest.sh so
it correctly reports failures.

Change-Id: I2062d9c00ebffcc98ba75a12f480e4dd728ee080
2015-04-17 13:23:25 +10:00
Ian Wienand
9b845da478 Fix die_if_not_set tests
The "die_if_not_set" test has the LINENO as a positional argument.
The existing tests are not passing this in, so they are failing.

Along with this, remove the "-x" from the invocation and hide the
output of the tests that are expected to fail to avoid confusion.

Change-Id: Ibf6b9d7bb72b9f92831e1a90292ff8b0bec7faea
2015-04-17 13:23:25 +10:00
Ian Wienand
9b0ebc44f4 Move function.sh to test_functions.sh
run_tests.sh runs tests starting with test_*

The existing test_functions.sh is really testing true/false.  Move
that to test_truefalse.sh

Then move functions.sh to test_functions.sh.  This will ensure it is
run during unit testing from run-tests.sh

Change-Id: I959ac38c946da1fb47458b8c4f09157f74f0e644
2015-04-17 13:23:25 +10:00
Ian Wienand
fcdca05de5 Fix return of test_ini_config & test_meta_config
Convert test_ini_config to use the "passed / failed" functions in
unittest.sh.  test_meta_config wraps everything into a function; it's
not work unrolling this so just make sure it exits with non-zero if a
test fails.

Change-Id: I9e9883fdad42358255383eede9121b1d361799c8
2015-04-17 13:23:25 +10:00
Ian Wienand
f56348bcb2 Use unittest help in test_ip.sh
Use the unittest helper to track test runs and correctly exit with a
failure code if there is a problem

Change-Id: Ie62f354a8cd3b8fd5986e6943a073f7955fb55ba
2015-04-17 13:23:25 +10:00
Ian Wienand
1cb809d8ef Add "passed" and "failed" functions
Add two generic "passed" and "failed" functions to the unittest
helper.  Also keep a count of passed and failed tests.  Later changes
will use these functions to ensure they exit with a correct return
code.

Change-Id: I8574dcb1447b04fcda3d72df0bf8605cf7488d3c
2015-04-17 13:23:20 +10:00
Jenkins
7c17f2684e Merge "doc changes to devstack overview.rst" 2015-04-17 00:22:56 +00:00
Wayne Okuma
dd62293591 Catalog Index Service - glance devstack
Implements: blueprint catalog-index-service

The changes to lib/glance incorporate the new g-search service.
The g-search service is optional.
To enable it add the following line to devstack/local.conf:
enable_service g-search

In addition to deploying g-search, the changes will also populate a
search type of keystone service and adds in appropriate endpoints.

Change-Id: I0272d56bc2e50e8174db78bd449f65f60f7f4000
2015-04-16 15:33:09 -07:00
Jenkins
6f2d9b1f7d Merge "Fix readme for multi-node setup" 2015-04-16 19:22:13 +00:00
Jenkins
cb88e2b7cb Merge "clean.sh needs to load plugin settings." 2015-04-16 19:19:05 +00:00
Jenkins
69cb0a1343 Merge "Use openstack CLI instead of keystone" 2015-04-16 18:32:31 +00:00
Jenkins
44a969b110 Merge "Setting LOGFILE to a file in root directory wipes everything" 2015-04-16 18:32:22 +00:00
Jenkins
5d552e44c9 Merge "Add support for arm64 images" 2015-04-16 18:29:50 +00:00
Shilla Saebi
cae97da9c7 doc changes to devstack overview.rst
changed to comply with doc conventions
When referring to services, use "Compute," "Image service"
and "Identity" instead of "nova," "glance," and "keystone."
Use the project names like "nova" and "keystone"
glance is officially Image service not storage
removed extra .

Change-Id: I39457c20dc2ede775fe3f3c63077133fbb6c917b
2015-04-16 13:59:52 -04:00