390 Commits

Author SHA1 Message Date
Matthew Treinish
95fb0d440c Run setup_develop for tempest.
This setups the development environment for tempest. Without
running setup_develop for tempest import tempest.* breaks
outside of the tempest directory.

Change-Id: I6954733d68125dd116cc9bfa58b9aece674405c3
2013-01-28 16:24:56 -05:00
Dean Troyer
41bf452023 Handle nested xtrace states
The lib/database abstraction includes the appropriate database file that also
contains the $XTRACE bits at entry and exit.  The nested XTRACE handling overwrote
the value from lib/database.  So...make the nested files use their own
XTRACE variables.

Change-Id: Ibdfc8d7d1e1457a9bc889b781ce176b417789ea1
2013-01-28 14:32:05 -06:00
Gary Kotton
98e18e99d1 Quantum root_helper update
We are currently moving root_helper to the [AGENT] section. This patch
is intended to enable the transition for that process.

Change-Id: Iff8144f74a1a5f8b0fc9af44bccf0213f4bfad7e
2013-01-28 16:39:16 +00:00
Dan Prince
9f22f07a15 Cinder: update osapi_volume_extension default.
Updates the Cinder config file to use the new extension
loader location.

Change-Id: I515e16e00b54c69ae3c09e64841818eb4a9c8f73
2013-01-28 09:53:38 -05:00
Jenkins
3b3a6d78a6 Merge "Set MySQL slow log to record every query" 2013-01-23 20:31:13 +00:00
Chris Yeoh
b0b98b7096 Renames old $devstack_dir to $TOP_DIR
This patch renames $devstack_dir which is no longer defined
to $TOP_DIR. Fixes problem where initialisation of ec2 images
for tempest testing was failing.

Change-Id: Ie0cd43209e58c903b1fe6cc528a4971896e6fab1
2013-01-23 21:17:19 +10:30
Jenkins
2eb77405f2 Merge "Fixes nova-compute failing to start on Fedora 18" 2013-01-23 03:14:31 +00:00
Jenkins
516f0cce42 Merge "Use the correct directory for image files in tempest" 2013-01-22 23:05:49 +00:00
Joe Gordon
767cd63179 Set MySQL slow log to record every query
Since devstack is for development, lets record all SQL queries to enable
debugging, and further development.

Change-Id: Idb4078a0d3a84151ad4c506f8861637d84ae47ad
2013-01-22 11:08:24 -05:00
Chmouel Boudjnah
ad8b27626e have the run and logs files in $SWIFT_DATA_DIR
- Set all the run lock and logs files to go to $SWIFT_DATA_DIR.

Change-Id: I42b72572e9700457475398043057d37d0dbc65ac
2013-01-22 11:30:49 +00:00
jiajun xu
4a30b849ec Add check for RABBIT_HOST and RABBIT_PASSWORD in iniset_rpc_backend
In multi-node environment, RABBIT_HOST and RABBIT_PASSWORD are used to
indicate the server running rabbitmq service. We should check the
variables in iniset_rpc_backend.

Change-Id: Iaea8cc87315be91429a8747254310d6474930eec
2013-01-22 11:49:03 +08:00
Sunil Thaha
a534e0bf1a Fixes nova-compute failing to start on Fedora 18
Fixes bug #1086784
Adds a rule to the policy-kit allowing the stack user to manage libvirt

Change-Id: I6e9c0106c932f5f5f5c5c18ff79ac81a050c4599
2013-01-22 01:53:11 +10:00
Attila Fazekas
3c52922f4f Use the correct directory for image files in tempest
Change-Id: Ic40065a04b8015333b4cb6844211e9a0afb9d4c1
2013-01-21 06:50:33 +01:00
Isaku Yamahata
0dd34df455 lib/quantum: refactor quantum plugins and third party
As quantum plugin support is coming like floodlight, nvp and nec,
it's worth while to refactor quantum plugin logic so that each plugin can
be modified/enhanced intervening with other quantum plugin.
And new plugin support can be added easily (hopefully) without modifying
core logic.

Change-Id: Ic5ab5b993272fdd3b4e779823323777a845ee681
2013-01-21 11:33:24 +09:00
Jenkins
e575b6f9ae Merge "Support Tempest config file format transition" 2013-01-20 18:43:20 +00:00
Attila Fazekas
97d3d202ff Support Tempest config file format transition
* Identity server location just configure by an URI
* Image service location resolved by service endpoint
* Credentials will be defined only in the identity section
* Whitebox gets it's own section
* ssh username is per image option

Change-Id: I3b0d51a323560451c5636363896cadb39e0ea2d6
2013-01-20 08:49:04 +01:00
Jenkins
f10696fffc Merge "Enable nova Verbose logging" 2013-01-19 21:47:32 +00:00
Jenkins
d4d3a579b0 Merge "lib/cinder: add sheepdog support" 2013-01-18 23:56:52 +00:00
Joe Gordon
8750b3d533 Enable nova Verbose logging
With oslo-incubator commit 751c35b1c8ff0730883a8ccdda9b77a49fff2405,
(Change-Id: Ic9e3cb5979b2d7283552ad3a461870373f45a239)
Verbose does not enable debug level logging.

Change-Id: I1741ec0ca61e4c7234ee4e29cbd52ded73995451
2013-01-17 23:49:50 -05:00
Daniel P. Berrange
d10e12f133 Add support for setting up nova-spicehtml5proxy
Add a new service 'n-spice' which is off by default, but can
be enabled to turn on SPICE support in the Nova libvirt driver.
Also if neither n-novnc or n-xvnc are enabled, then disable
VNC support. This allows running in a SPICE only environment.

The spice-html5 repo will be checked out to support the Horizon
client integration

Change-Id: If74fad33a7b491450afd823758d35b06ebe72cb9
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-01-17 14:36:58 +00:00
Daniel P. Berrange
3edddd108a Run nova-novncproxy binary in the nova GIT trree
The nova-novncproxy binary was pulled into the nova GIT tree
several months back, so devstack should run that version,
rather than the legacy version from the noVNC GIT tree.

Change-Id: I289989d5c0831c75117f059dd8f2decb1f9d3a90
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-01-17 14:05:09 +00:00
MORITA Kazutaka
af22a477d1 lib/cinder: add sheepdog support
This enables us to use Sheepdog as a Cinder backend storage by setting
the CINDER_DRIVER environment variable.

Change-Id: I70cfb7f89ac3260d277fa160c457d220255de065
2013-01-17 16:58:05 +09:00
Jenkins
f528f4ed9f Merge "Add basic uec image preparation to tempest" 2013-01-16 03:59:42 +00:00
Jenkins
1d86679685 Merge "Add limited support for Quantum+OVS on XS/XCP." 2013-01-15 21:10:19 +00:00
Jenkins
e029b500e5 Merge "Make sure to cleanup swift on unstack/relaunch." 2013-01-15 13:59:44 +00:00
Attila Fazekas
1d29d8bcf7 Add basic uec image preparation to tempest
Add uec image preparation to lib/tempest.
cirros as image is hard coded at the moment.

If the images does not exists or the system is not able to use uec images the
image prepare step will be skipped and tempest will skip the related
tests as well.

Setting ssh username correctly.
Setting instance type for the boto test.

Change-Id: I0d36ac7834e1eb677007e2c92dfc375d134a6023
2013-01-15 14:23:07 +01:00
Jenkins
00844508aa Merge "Remove error from httpd/apache on unstack.sh" 2013-01-15 11:43:09 +00:00
Jenkins
1b3a97c684 Merge "Refactor rpc backend configuration logic" 2013-01-15 11:43:01 +00:00
Maru Newby
2298ca4f70 Add limited support for Quantum+OVS on XS/XCP.
* Add priliminary support for running the OVS L2 and DHCP agents
   in domU:
   * Configure Nova to use the correct vif driver and integration
     bridge.
   * Configure the ovs agent to target the dom0 integration bridge.
   * Install a xapi plugin supporting dom0 execution of ovs agent
     commands.
 * Config doc: http://wiki.openstack.org/QuantumDevstackOvsXcp
 * Supports blueprint xenapi-ovs

Change-Id: If5ab07daab1dc3918004eb4bfb6fed6cab0a71fd
2013-01-14 21:33:49 +00:00
Maru Newby
31c94ab510 Improve quantum l3 and tempest config.
* Previously, configuration for the q-l3 agent was creating a
   tenant-owned router.  This change maintains that behaviour if
   namespaces are enabled, but creates a public (not tenant-owned)
   router if namespaces are disabled.  Since the L3 agent can only
   manage a single router if namespaces are disabled, the change
   ensures that the single router can be shared by multiple tenants.
 * Add tempest configuration for the public router.

Change-Id: I2878a7eb9797bfd71082a55d4773519dc5198abc
2013-01-14 21:30:31 +00:00
Jenkins
f7e7c6f29f Merge "Enable MySQL slow query log." 2013-01-14 20:03:46 +00:00
Steven Dake
532908f602 Remove error from httpd/apache on unstack.sh
Fedora/RHEL use httpd for the package name of httpd.  This is handled
in other parts of the horizon startup code, but not in shutdown.

Change-Id: I2732dad652d83a9cbe055f5f077678b7111ca782
Fixes: bug #1099538
2013-01-14 12:40:33 -07:00
Attila Fazekas
02c0bcc38c Increase tempest memory
32 MB not enough for boot correctly

Change-Id: I58ca4c7e8dd303450a9970136d6f60661ea70f67
2013-01-14 19:10:17 +01:00
Jenkins
5219f78d20 Merge "Tempest should create his own flavors" 2013-01-14 13:57:43 +00:00
Monty Taylor
7c73e8dee7 Enable MySQL slow query log.
Change-Id: I3db33839bea28abaff01f1d7b7d6698c5dd2c083
2013-01-14 05:20:06 -08:00
Akihiro MOTOKI
b0f1c38bdc Refactor rpc backend configuration logic
This commit also changes the following:
- Fixes Nova QPID module path
- Fixes a bug Cinder ZeroMQ RPC points to nova module
- Adds ZeroMQ setting for Heat RPC

qpid_is_supported is moved from functions to lib/rpc_backend.

This work is based on the work by Isaku Yamahata <yamahata@valinux.co.jp>
in https://review.openstack.org/#/c/19074/.

Change-Id: I45e21b1fb85e539213f5243764132a37906d7455
2013-01-14 16:12:06 +09:00
Attila Fazekas
7bf1dd351f Tempest should create his own flavors
* Decrease memory usage caused by tempest significantly

Change-Id: I0ea59d9bb1fbeb93f04353bc6b4e148637edf945
2013-01-13 01:10:52 +01:00
Jenkins
fec9355fd2 Merge "Fix "sudo: sorry, you must have a tty to run sudo"" 2013-01-12 20:35:13 +00:00
Chmouel Boudjnah
43eb0b3159 Make sure to cleanup swift on unstack/relaunch.
- Fixes bug 1049553.

Change-Id: I9fef93d25512c014dfb882adf0e169487bf877d8
2013-01-12 20:10:34 +00:00
Sumit Naiksatam
4b26d3191e Quantum FloodLight/BigSwitch Plugin Support
The patch introduces devstack support for the Quantum FloodLight/BigSwitch
RESTProxy Plugin.

Change-Id: I8c032fd16723ed6055821de0860fae508df371b7
Implements: blueprint quantum-floodlight-bigswitch-plugin-support
2013-01-12 01:04:57 -08:00
Jenkins
eae8f82678 Merge "Fix EXTRA_OPTS handling" 2013-01-11 23:35:05 +00:00
Jenkins
8aecaeee4c Merge "Set up Cinder for TLS" 2013-01-11 13:40:39 +00:00
Jenkins
9abcdf276e Merge "Add tools/make_cert.sh" 2013-01-11 13:40:33 +00:00
Attila Fazekas
91b8d13eda Fix "sudo: sorry, you must have a tty to run sudo"
On many systems the requiretty sudoers option is turned on by default.
With "requiretty" option the sudo ensures the user have real tty access.

Just several "su" variant has an option for skipping the new session creation step.

Only one session can posses a tty, so after a "su -c" the sudo will not
work.

We will use sudo instead of su, when we create the stack account.

This change adds new variable the STACK_USER for
 service username.

Change-Id: I1b3fbd903686884e74a5a22d82c0c0890e1be03c
2013-01-11 09:15:30 +01:00
Dean Troyer
dff95122f7 Fix EXTRA_OPTS handling
In the conversion away from add_nova_opt the EXTRA_OPTS handling
inadvertently replaced all '=' chars in the value rather than
just the first.  Additional '=' is legal for an option value.

FWIW here is the setting that tripped it:
EXTRA_OPTS=default_log_levels=sqlalchemy=WARN,boto=WARN,eventlet.wsgi.server=WARN

Change-Id: I2deb139171250eb0ef5028bb924569cec31e1a4e
2013-01-10 20:51:32 -06:00
Jenkins
03a47842cc Merge "Fix tempest flavors and DEFAULT_INSTANCE_TYPE" 2013-01-10 22:53:24 +00:00
Kevin Lyda
d66c965b0c Correct comment about SWIFT_LOOPBACK_DISK_SIZE.
The comment regarding SWIFT_LOOPBACK_DISK_SIZE in lib/swift used the
incorrect unit (bytes instead of kilobytes).

Change-Id: I86117e36141c0a028a6fa6878a4d540f624e759d
2013-01-10 13:12:54 +00:00
Jenkins
5e266052df Merge "Create signing_dir for ceilometer." 2013-01-10 09:23:51 +00:00
Jenkins
494393b871 Merge "Add ceilometer client in devstack" 2013-01-10 09:02:32 +00:00
Dean Troyer
ceaa38b329 Fix tempest flavors and DEFAULT_INSTANCE_TYPE
The flavor selection was broken if DEFAULT_INSTANCE_TYPE is defined
but not yet created, for example when it is created in local.sh.
This also has the side effect of setting flavor_ref_alt to the first
flavor where it was unset in the previous code.

Change-Id: I1fa48b3f90af45144c92298b6b07a4f7ee3b499f
2013-01-10 08:31:42 +00:00