935 Commits

Author SHA1 Message Date
armando-migliaccio
8498487e55 Install agent packages when running agents like DHCP or L3
This is because these agents rely on quantum agent packages as
much as the L2 agent.

Fixes bug #1190050

Change-Id: I8b0c5667f86b22e3727a316f7bb0500d0d0ba637
2013-06-14 10:33:38 -07:00
Dean Troyer
1a6d4492e2 Periodic formatting cleanup
This is the semi-irregular comment and docs cleanup.

No functional changes should be here although some code is moved in a
small attempt to sort functions and get things where they need to be.

Change-Id: Ib4a3e2590c6fbd016c391acc7aef6421e91c0dca
2013-06-11 14:39:27 -05:00
Jenkins
11632774f3 Merge "Set variables in rsyslog.conf to disable rate-limiting." 2013-06-07 01:02:14 +00:00
Jenkins
4a8d784b8b Merge "Add Fake virt driver support" 2013-06-06 21:40:46 +00: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
Jenkins
a53db1f1f6 Merge "Install EPEL for rhel6 if not detected" 2013-05-31 16:28:24 +00:00
Jenkins
fdb9f8f6d2 Merge "specify session name on perform rejoin stack" 2013-05-31 16:28:19 +00: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
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
Jenkins
c29c392d26 Merge "Ensure Open vSwitch can be installed on RHEL6." 2013-05-28 21:47:25 +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
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
Maru Newby
eb2da5dfb8 Ensure Open vSwitch can be installed on RHEL6.
* RHEL6 does not include Open vSwitch in the default repos, but it
   is available via the RDO repo.  This patch automatically
   configures the RDO repo for RHEL6.
 * The openvswitch package is now listed as an rpm dependency to
   ensure it can be cached by a pre-built CI environment.

Change-Id: I8f93f53039cca4ff29bcb91720be7bb047b3ed8a
2013-05-21 04:23:11 +00:00
Maru Newby
b1802db807 Do not run selinux commands if it is disabled.
* Execution of the setenforce command when selinux was not enabled
   was resulting in a non-zero exit status, which halted devstack.
 * Addresses bug 1175444

Change-Id: I7f6492dea7c52d153e755cda826d6fabd53f3771
2013-05-16 00:47:24 +00:00
Jenkins
9f52cd78f2 Merge "Add XAPI config to quantum rootwrap for XS/XCP." 2013-05-15 16:50:16 +00:00
Jenkins
d1d2a2dd7d Merge "Disable selinux for RHEL6" 2013-05-15 03:37:35 +00:00
Kieran Spear
fb2a3ae3ca Basic cells support
Adds support for running a region and child cell within a single
devstack environment.

README.md has been updated with some info on getting started.

Rebased/updated from initial work by Andrew Laski <andrew.laski@rackspace.com>.

Change-Id: Ic181da2180ccaa51df7efc9d66f7ccb820aac19b
2013-05-13 11:16:40 +10:00
Jenkins
a20fb6d383 Merge "Basic check for homedir permissions" 2013-05-13 00:09:24 +00:00
Ian Wienand
053dafe6de Disable selinux for RHEL6
selinux locks down httpd which causes various issues for Horizon
working from git checkouts.  Dealing with selinux is more a deployment
than a development issue, so we just disable it for devstack.

Change-Id: I1e61f34e812360dafacd3b3288e66bc9cc5f1648
Fixes: 1175444
2013-05-10 09:04:47 +10:00
Jenkins
5f349179f4 Merge "Add pbr to devstack." 2013-05-09 21:58:20 +00:00
Émilien Macchi
b2ef890db3 Add Debian OS support in DevStack
Fix bug #1176216

Change-Id: Ia94c332f02a921a936db249dc3b4a7ae4eff0400
2013-05-09 00:18:37 +02:00
Monty Taylor
5e159496b8 Add pbr to devstack.
It's being used in all of the core projects, so we should install it
at the start so we can ensure that we don't break everything all at
once.

Change-Id: I326d724264803e88315ee9e40f4634836baf6e0b
2013-05-08 14:29:52 -04:00
Ian Wienand
0488edda8a Basic check for homedir permissions
Several guides suggest using data directories under your homedir,
rather than the default /opt area.  This is fine, but on RHEL6 and
similar distros homedirs are very restrictive 0700 permissions which
doesn't allow things like httpd to pass through to serve up files.

Even though stack.sh is taking over the host, changing permissions
automatically is not a nice idea.  So we just warn when it looks like
this is happening.

Change-Id: I9cd70e7fe90638a2a5c3b8fd94756afacac7c7be
2013-05-08 11:30:51 +10:00
Jenkins
8bb53e5104 Merge "Pre-install hgtools for RHEL6" 2013-05-05 09:40:20 +00:00
Chuck Short
a43fbf647f Add saucy support
Add support for "Saucy Salamander"

Change-Id: Ic7dfef2903634b17304243917fa3d8389a93b0c0
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2013-05-02 09:29:22 -05:00
Ian Wienand
f91d6d21ba Pre-install hgtools for RHEL6
See the inline comment; pre-installing this package works around [1]

[1] https://bugzilla.redhat.com/show_bug.cgi?id=924038

Change-Id: Id021b44ac9d8aa28286828ccfd6515b7850bad16
2013-05-02 09:48:14 +10:00
Maru Newby
a8f7a62f13 Add XAPI config to quantum rootwrap for XS/XCP.
* Supports blueprint xenapi-ovs

Change-Id: I902458ec26cd07e94fe50bb3648efa75658ccba3
2013-05-01 21:12:25 +00:00
Ian Wienand
7919d851a9 RHEL6 support rpms
Install some rpms required for operation on RHEL6.  Additionally,
remove some system packages that interfere with pip installs.

Change-Id: I273ce59d7bf066e73d524f61b8ad048599101dab
2013-04-29 11:46:57 +10:00
Jenkins
f6e0fa5f94 Merge "Remove unused post-prereq phase" 2013-04-26 16:32:40 +00:00
Jenkins
92034a4484 Merge "fix support for VMware vCenter Driver" 2013-04-26 12:38:36 +00:00
Ian Wienand
e88b3a4d67 Remove unused post-prereq phase
This phase was going to be part of RHEL6 support, but is no longer
necessary

Change-Id: I8614710b35db018dcf9d906e0af70e4f6b8c7191
2013-04-26 20:13:29 +10:00
Jenkins
917f33335f Merge "Move auth_token config to .conf, key cache directories" 2013-04-25 22:46:06 +00:00
hartsocks
a418af9503 fix support for VMware vCenter Driver
Change-Id: Iedd26dbb89731f49718604eb09eb84b3e0b648c0
2013-04-25 13:59:29 -07:00
Steve Baker
c32490838a Move auth_token config to .conf, key cache directories
auth_token configuration can now be read from the conf files
rather than the paste.ini files.

A key cache directory has been created for each of the 3 API services
under /var/cache/heat

This is the devstack change relating to
Heat Blueprint: keystone-middleware

This is related to this committed change:
https://review.openstack.org/#/c/26351/

Devstack users will find Heat to be broken until this corresponding change
is approved.

Change-Id: If6f77f86a3eeb08a58b516725bd806e39ccedb50
2013-04-26 08:26:14 +12:00
Jenkins
b569ebd519 Merge "Set the port of S3_URL to 8080 with swift3 enabled" 2013-04-25 17:43:05 +00:00
Jenkins
63992bcb58 Merge "Add a generic post-prereq phase" 2013-04-24 16:32:27 +00:00
Jenkins
28205fed79 Merge "Add rhel6 as an allowed distro" 2013-04-24 16:32:17 +00:00
rahmu
9d2647a93f Set the port of S3_URL to 8080 with swift3 enabled
Fixes: bug #1171608
The value of the port defaults to 3333 which is the
default for nova-objectstore.

Change-Id: If87df6a765bcfc4d467628411dceec72d5af412e
2013-04-24 12:13:57 +02:00
Tiago Mello
1dcbed37b4 Adds PowerVM support for the VIRT_DRIVER conf
Change-Id: I95d0f1417bd29196da281e8d76ecbdb1d407851f
2013-04-23 00:09:08 -04:00
Ian Wienand
2578565d55 Add rhel6 as an allowed distro
Add RHEL6 based distributions as a valid install target

Change-Id: I89fb68d18a0d2079493be93b230162679123881d
2013-04-19 09:51:05 +10:00
Ian Wienand
aa8242970d Add a generic post-prereq phase
This generic extra phase is handy for fixing up things like python
modules after pip is installed or other distro specific requirements.

Change-Id: I4a68b830cd98c6f93191dac1edd7de2a0381feaa
2013-04-19 09:40:37 +10:00
Jason Dunsmore
4e971118ff Make sure custom grep options don't get in the way
Change-Id: I3c8fa21793906d80790c31ed02f585eff35a64a5
2013-04-10 13:45:22 -05:00
Dean Troyer
cc6b443545 Formatting cleanups, doc updates and whatnot
Change-Id: Ica8298353be22f947c8e8a03d8dc29ded9cb26dd
2013-04-09 14:05:32 -05:00
Dean Troyer
fe51a90005 Refactor source installation
Clean up and organize the download and configuration of source repositories.

Change-Id: Iaf38c0aed0a83ebf9a5da3505fe92c9fa200ac1e
2013-04-02 18:51:25 -05:00
Dean Troyer
253a1a351b Move setup_develop call
Move setup_develop() call into the install_XXX() function as the
distinction has no real purpose.  This eliminates the configure_XXXclient()
function for Nova and Swift.

Also create install_cinderclient() as we will need it to handle dependencies
in a followup patch.

Chasing down another #$^%&&^^^$%%#$ prettytable version pin

Change-Id: I61d761bc57a31caf2ed0ade326ab236eb2bb7358
2013-04-02 01:40:53 -05:00
Sean Dague
1b4b4be78c change configure/install split
make it so setup_develop happens in install instead of configure
to ensure that we can handle config file generation by itself.

Change-Id: I4801d7a0bc6642de2db5b78df1750666895f0aa3
2013-04-01 16:44:31 -04:00
Sean Dague
e4f0cd7eed refactor the install/configure split
configure remains just to generate configs, install now
gets the setup_develop in addition to the git clone. This lets
use remove configure_glanceclient as a function

Change-Id: I68e3e3973d15dc0b4f534662a4f57a9f38f69784
2013-04-01 15:58:22 -04:00
Jenkins
a173376ea1 Merge "Split disk creation out of configure_swift()" 2013-03-29 18:22:04 +00:00
Dean Troyer
1c6c112519 Split disk creation out of configure_swift()
Grenade needs to be able to configure Swift without initializing the
backing disk files.  Move it into create_swift_disk() and call
from init_swift().

Also move start of n-obj (if swift3 is not enabled) to start_nova().

Change-Id: Id33939182d84eeff10ba4139eeced2c1bc532f0f
2013-03-29 11:14:13 -05:00
Dean Troyer
c77b932e16 Move glace's swift config to lib/glance
Change-Id: Icbb355c15bfffe17725ea5cc64cfa5e76c1e74e6
2013-03-29 10:51:01 -05:00