2585 Commits

Author SHA1 Message Date
Jenkins
3df12bb22b Merge "Update my mailmap" 2013-06-06 21:57:24 +00:00
Jenkins
59756ac894 Merge "Use nova bindir of /usr/bin on Fedora" 2013-06-06 21:57:21 +00:00
Jenkins
5713577254 Merge "ceilometer switch to setuptools console scripts" 2013-06-06 21:57:17 +00:00
Jenkins
4a8d784b8b Merge "Add Fake virt driver support" 2013-06-06 21:40:46 +00:00
Jenkins
30321f3576 Merge "Add third-party support for Quantum NVP plugin" 2013-06-06 21:40:03 +00:00
Doug Hellmann
88317adc0a Source functions in rejoin-stack.sh
stackrc loads localrc and localrc can use functions
like enable_service and disable_service. Make sure
the functions are defined before loading stackrc.

Change-Id: Ied7bbe0d228f252902cc491b8db0738c5071f06b
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-06-06 15:42:13 -04:00
Joe Gordon
baf37ea817 Add Fake virt driver support
nova fake virt driver can be used to simulate running arbitrarily large
number of VMs.  When the fake virt driver is selected, all other arbitrary
limits are disabled (quotas, scheduler limitations) as well. The fake
virt driver can be selected by adding the following line to your localrc

      VIRT_DRIVER=fake

This setting can be used to do simulated large scale (as defined by
number of VMs) testing (such as boot 500 VMs at once) inside a single
devstack instance.

Change-Id: I000c3cba107cd91bef11c4d5325e1ce7308faa6c
2013-06-06 10:08:01 -07:00
Adalberto Medeiros
63a71a2316 Ensure flavor_ref_alt is different from flavor_ref
For tempest, server resize tests needs different values
for flavors to pass. Ensure different values in tempest.conf
for flavor_ref_alt and flavor_ref.

Change-Id: I2f8ee92967abc767637e334ae483b540dd7d5b78
Fix: bug 1187768
2013-06-06 09:00:20 -04:00
Gordon Chung
5ecfd48c51 ceilometer switch to setuptools console scripts
ceilometer has dropped bin scripts and switched to console scripts

blueprint setuptools-console-scripts

Change-Id: If6dff10471e351fe3640a60cc45fef719f671997
2013-06-06 00:25:16 -04:00
Ian Wienand
00fd79d324 Use nova bindir of /usr/bin on Fedora
Fedora (and RHEL) like to install things in /usr/bin, e.g.

 01:30:42 Creating /usr/lib/python2.7/site-packages/nova.egg-link (link to .)
 01:30:42 Adding nova 2013.2.a1031.gfc5137d to easy-install.pth file
 01:30:42 Installing nova-dhcpbridge script to /usr/bin
 ...

The default nova/paths.py defaults to /usr/local/... which causes
quite a few errors when stressing various parts of nova and tools
aren't found.

Change-Id: Iaa93af96ddfb4deb6d16ea1dcac25ae6ed1e317d
2013-06-06 11:24:32 +10:00
Joe Gordon
32a348df51 Update my mailmap
Change-Id: Ia5e9b543ad1c9e21a722cf739d1469e63e2c005c
2013-06-05 15:31:09 -07:00
Jenkins
3f8faa46f3 Merge "Check for .stackenv" 2013-06-05 11:53:23 +00:00
Jenkins
b3d53fecb7 Merge "Changes to NVP plugin configuration file" 2013-06-05 11:02:16 +00:00
Joe Gordon
1216b9fae9 Use service role instead of admin role for service users
Instead of using a full admin role to validate tokens just use the
service role. Change where possible, some services use the service user
for more then just token validation.

Fixes bug 1153789

Change-Id: I0801475b62a7b025fdd871f52d8606aa614d1a32
2013-06-04 17:44:41 -07:00
Dean Troyer
58f9cf761a Check for .stackenv
* Skip sourcing .stackenv if it doesn't exist
* Remove .stackenv at end

Change-Id: Icc2e8e4ea6fada5f9d0b906fedacdbe2c1b3b320
2013-06-04 12:54:18 -05:00
JordanP
51c90b858d On unstack, cleanup LVM setup for Cinder
Change-Id: I4f01dd65a4e5dd0dff33ea7c0024fb75fe83834b
2013-06-04 11:18:24 +02:00
Steve Baker
26824b0546 Run heat tempest tests if heat is enabled in devstack.
Change-Id: I6a5d1bae99982a8f0201885abd1203e1a8d78dcc
2013-06-04 13:19:02 +12:00
Jenkins
cc8f47dca5 Merge "xenapi: kernel_cmdline moved out from template" 2013-06-03 17:18:03 +00:00
Chris Yeoh
1b4d91b71e Moves Nova v3 API enable config to group
https://review.openstack.org/#/c/29487/ moves the Nova v3 API
enable flag into its own config group. And renames it to just
"enable". This changeset follows that change. As we do not yet
gate on any Nova V3 API tests we don't need to keep the old setting
around.

Change-Id: If1592cd7b9aad24b6d010870a5fb6bcc60efb8ac
2013-06-03 16:23:01 +09:30
Jenkins
62d88f9218 Merge "Install nodejs for RHEL/Fedora" 2013-06-03 00:56:00 +00:00
Émilien Macchi
e32b4853c5 Add a new dependency for n-api
msgpack-python is missing as a dependency in Ubuntu.

Fix Bug #1186739

Change-Id: I9e6ccc27970fb9fef2352a3d9864f325160a6e19
2013-06-02 15:58:14 +02:00
Jenkins
2da00dd21b Merge "xenapi - quantum: L2 agents for dom0 and domU" 2013-06-01 16:30:39 +00:00
Jeff Peeler
ebdd61d136 Functions are required to parse localrc
This is essentially a revert of
73695d0ea490c4c7a1158957dd5a85586cfa0933. Since stackrc is
responsible for sourcing localrc, the required functions
are necessary (like for enable_service).

fixes bug 1186488

Change-Id: Iad90f802e77b94416821008c294c1a2ede8a4729
2013-06-01 01:36:24 -04:00
Shiv Haris
f05f11ef01 Turn on l3 agent and external network bridge for Brocade plugin
Fixes bug: 1186467

Change-Id: I534a6f415ab14b2f4d75f244bbe79582ae2046bb
2013-06-01 02:18:41 +00:00
Jenkins
88494ffb3c Merge "ceilometer does not set db in conf file" 2013-05-31 16:36:12 +00:00
Jenkins
fddc27c573 Merge "Enable Nova v3 API" 2013-05-31 16:36:10 +00:00
Jenkins
a53db1f1f6 Merge "Install EPEL for rhel6 if not detected" 2013-05-31 16:28:24 +00:00
Jenkins
ac8a90fb41 Merge "add firewall driver if we use quantum security group" 2013-05-31 16:28:23 +00:00
Jenkins
fdb9f8f6d2 Merge "specify session name on perform rejoin stack" 2013-05-31 16:28:19 +00:00
Gordon Chung
8f3af42f56 ceilometer does not set db in conf file
Set [database]connection option to mongodb rather than sqlite as mongodb
is the only fully supported db.

Change-Id: I2b9fbc65de4476593d456a782dbc7e6540a75141
Fixes: bug #1186240
2013-05-31 09:02:41 -04:00
Chris Yeoh
951a48df3c Enable Nova v3 API
The Nova v3 API will be disabled by default after 31164 goes through.
This change explicitly enables the v3 API in the nova config file

Change-Id: I8b4c64b4718fc96d7a928c6fa3a0e8716c7edba1
2013-05-31 21:42:34 +09:30
Mate Lakat
8ff33ce75f xenapi: kernel_cmdline moved out from template
The kernel's cmdline was set during the initial devstack machine
installation. Thus, during second runs, the kernel's cmdline was not
updated. This patch extracts append_kernel_cmdline, and configures
domU's kernel cmdline every time. As some networking parameters are
passed through the kernel cmdline, this patch makes it possible to
change the network configuration, even if a cached devstack exists.

Related to blueprint xenapi-devstack-cleanup

Change-Id: I3b7175f4e83326c3e28825ac50625f6bd2a9a029
2013-05-31 10:45:46 +01:00
Ian Wienand
535a8148cc Install EPEL for rhel6 if not detected
Simple check to see if EPEL repo is enabled for RHEL6 and, if not,
automated install of the repo RPM.

Also adds an additional sanity check which checking for pip.  In the
prior case of EPEL being disabled, a RHEL6 host may not have access to
python-pip.  Although this shouldn't happen, its a good sanity check.

Change-Id: I4e8a4dda9475b75d071534d4eef469198502a048
2013-05-30 16:33:30 +10:00
Emanuele Rocca
796cf890ff Add missing .debs required by Debian
dnsmasq-utils is available on all Debian-based supported distros.

Debian Wheezy and Jessie need qemu to be installed in order for the resulting
OpenStack environment to be fully functional.

Change-Id: I910968f60ca1ed5c300a1fa599fb480d65591145
2013-05-30 00:37:12 +01:00
cloudnull
e4859f0bd3 Set variables in rsyslog.conf to disable rate-limiting.
Per Bug https://bugs.launchpad.net/openstack-ci/+bug/1024487, this will
modify the rate-limiting setting for rsyslog.conf.  If rate-limiting is
being used the addition will set it to 0 otherwise the addition will
add the variables to the configuration file and set them to 0.

Implements: Variables "$SystemLogRateLimitBurst 0", and
"$SystemLogRateLimitInterval 0" in "/etc/rsyslog.conf". These changes
are persuent to what has been outlined in the rsyslog docs as found
here : http://www.rsyslog.com/tag/SystemLogRateLimitInterval/

Updated commit implements changes in code and placement post code
review. Recent change implements the "SystemLogRateLimitBurst" in first
if statement, which was "SystemLogRateLimitInterval" and wrong.

Fixes: Bug 1024487
Change-Id: I2637889cbe9e5e87bbfc0f1bb5047abae34d953c
2013-05-29 12:58:54 -05:00
Ian Wienand
2bda6cfabf Install nodejs for RHEL/Fedora
nodejs is required for Horizon (ships a copy of lessc internally).  I
couldn't find nodejs in the rpm list, despite it being installed in
lib/horizon.  This adds to the rpm list as NOPRIME and retains the old
install point.

RHEL6 has nodejs in EPEL now, so we remove the old hack that installed
an upstream version and add it to the install mentioned previously

Change-Id: Ib3ee2f7d77e22666c9055c8528288c01b46a95d3
2013-05-28 23:04:14 +00:00
Jenkins
c29c392d26 Merge "Ensure Open vSwitch can be installed on RHEL6." 2013-05-28 21:47:25 +00:00
armando-migliaccio
a25fa9db83 Changes to NVP plugin configuration file
Tweak devstack support to the nicira plugin in order to
reflect changes made in:

https://review.openstack.org/#/c/26427

This complements fixes for bug #1121605

Change-Id: I221466fb40412ceb457d3e888767291a76176aa6
2013-05-28 14:08:28 -07:00
Jenkins
3721657b27 Merge "ZeroMQ driver to default to redis matchmaker" 2013-05-28 20:56:06 +00:00
Jenkins
84a5f7484d Merge "Create usable IPC directory for ZeroMQ" 2013-05-28 20:56:04 +00:00
Jenkins
aaf1d8425e Merge "Add h-api to suggested ENABLED_SERVICES for Heat" 2013-05-28 20:53:28 +00:00
Jenkins
6676e5ec85 Merge "Install nose 1.1 from EPEL for RHEL." 2013-05-28 20:47:37 +00:00
Jiajun Liu
f02be85cc8 specify session name on perform rejoin stack
rejoin-stack.sh would not specify screen session name which will lead
unstack.sh unable to kill the screen session started by rejoin-stack.sh
after hypervisor rebooted. So specify the session name if
rejoin-stack.sh need to start a new sreen session.

fixes bug 1182806

Change-Id: I68635887aa82fa63f3667e0f090ea2836eec7b68
2013-05-28 09:42:10 +00:00
Jenkins
eff14644b0 Merge "Cleanup openrc." 2013-05-28 09:07:53 +00:00
Kieran Spear
7033829d71 Add h-api to suggested ENABLED_SERVICES for Heat
Currently lib/heat says:

    To enable, add the following to localrc
    ENABLED_SERVICES+=,heat,h-api-cfn,h-api-cw,h-eng

Once the stack is up, `heat list` fails because the API server
isn't running.

This commit adds h-api to that list.
Also make sure h-api is killed in stop_heat().

Change-Id: I2e818bb343680b3778f9277c23c766f784d28887
2013-05-28 11:36:54 +10:00
Maru Newby
4a9f26bf20 Install nose 1.1 from EPEL for RHEL.
* It's not possible to prevent python-nose (which is not compatible
   with Tempest) from being installed since so many os packages
   dependent on it.
 * This patch installs python-nose1.1 from EPEL and adds a
   /usr/local/bin symlink for nosetests1.1 so that invocations for
   Tempest will work as expected.

Change-Id: I756d1ca5eda127dcdd2efb047c8e14dd344f710d
2013-05-27 21:26:18 +00:00
Jenkins
6436067306 Merge "Fix screenrc for nova-compute" 2013-05-24 18:57:01 +00:00
Mate Lakat
f652e0fb6d xenapi - quantum: L2 agents for dom0 and domU
This patch makes it easier to support the all-in-one installation of
XenServer with Quantum:
- separate agents for domU and dom0 openvswitches. The domU agent's name
  is "q-domua", and the dom0 agent is called "q-agt"
- create a physnet1 physical network to connect those openvswitches

Note: This patch depends on the quantum patch:

    https://review.openstack.org/15022

For a diagram, see:
    http://goo.gl/BuAdg

Change-Id: Iff851438553528b9051edd380ecbb2c0415cbf78
2013-05-24 18:23:53 +01:00
Jian Wen
7164fc9bc0 Add myself to AUTHORS and add my email addresses to .mailmap
Change-Id: I5922421cfb5ef0929f6375089efcd1dc1224e30a
2013-05-25 00:43:44 +08:00
Eric Windisch
800bf387b3 ZeroMQ driver to default to redis matchmaker
Switching to the redis matchmaker.

The localhost matchmaker does not presently work.
Also, the localhost matchmaker could not work for
multi-host setups.

Change-Id: I81a26b9af78328e360a18b87371c619e194365d2
2013-05-24 12:41:38 -04:00