955 Commits

Author SHA1 Message Date
Jenkins
bc84cdf487 Merge "ensure all horizon needed clients are installed from git" 2013-07-27 15:57:35 +00:00
Jenkins
4571c1011b Merge "make install_heatclient like other client installs" 2013-07-27 02:40:45 +00:00
Jenkins
6b892f1609 Merge "Add ceilometer to the sys.path before the nova starts" 2013-07-26 18:48:28 +00:00
Attila Fazekas
12bb53b6a0 Add ceilometer to the sys.path before the nova starts
The setup.py setup develop adds package to the
 /usr/lib/python2.7/site-packages/easy-install.pth.

The nova uses the ceilometer.compute.nova_notifier, so it must be
in the path before the nova started.

Change-Id: I80ed5e5611278e75afa7ab7f8fb91417897d423f
2013-07-25 23:02:48 +02:00
Sean Dague
75195b58cc ensure all horizon needed clients are installed from git
horizon actually uses a lot of clients no adays, ensure these are
all coming from git.

Change-Id: Ib02b96de40aed800ff8adbb59f0268fceea7777d
2013-07-25 15:43:18 -04:00
Sean Dague
d644e23c95 make install_heatclient like other client installs
all the other install_*client functions do the setup develop
inline. Do the same thing for heat.

Change-Id: Ib2043580af6b7f14f24f7304e5f47f4523517d06
2013-07-25 15:43:15 -04:00
Gary Kotton
4125fe2fb5 Use vmware section
The vmware configurations are now in a specific vmware section.

Change-Id: I283b36bd023a43800852f792dd7fd8adf4d6ac84
2013-07-24 05:37:52 -07:00
Jenkins
4e8d764462 Merge "make rejoin-stack.sh keep the same service tags" 2013-07-22 06:20:58 +00:00
Ian Wienand
0ff314c01d Only create swift account if swift enabled
Only call the swift account creation function if swift is enabled,
otherwise the endpoints are created in keystone even though swift
isn't running.

This causes failures when tempest queries keystone and thinks swift is
there; it starts running tests against it that fail with unhelpful
"connection refused" errors.

Change-Id: Icf08409c9443ec703e5f1da4531aa34c326f3642
2013-07-17 21:01:43 +10:00
Jiajun Liu
8e58c0736f make rejoin-stack.sh keep the same service tags
Currently rejoin-stack.sh can not keep the same screen service tags
as the first you deploy openstack due to that the stack-screenrc lack
proper command to configure screen's hardstatus. just delete the old
stack-screenrc so that function screen_rc can write proper initialize
command into stack-screenrc.

fix bug 1182597

Change-Id: I4cb4c6ded93a5c7b0bd39d65a754ddf86553463d
2013-07-17 06:41:50 +00:00
Jenkins
fd2e82bda2 Merge "Add integration bridge to the nova.conf" 2013-07-15 14:03:48 +00:00
Jenkins
7ca0a7601b Merge "Configure swift functional test suite." 2013-07-12 16:29:05 +00:00
armando-migliaccio
be677f4403 Add integration bridge to the nova.conf
This is needed when running the compute service with
vSphere as virt backend, and Neutron as networking
solution.

Fixes bug #1200677

Change-Id: Iff01559be437d1409c13224574458d23a1edd1a4
2013-07-12 08:22:31 -07:00
Chmouel Boudjnah
0ce91a5cba Configure swift functional test suite.
- Implements blueprint configure-swift-functional-tests.

Change-Id: I8eeedb83e59d8a305d3072ba7506f74afc21c0d1
2013-07-10 08:02:02 +00:00
Mark McClain
b05c876994 update for name change to Neutron
Note: Nova and Horizon are not updated until those projects have
migrated.

Change-Id: I256ef20e7caadd9c96e6dd908c5d8b69ca5c4aeb
2013-07-07 00:15:11 -04:00
Steven Dake
3039657688 Enable Fedora 19 on DevStack
Fedora uses a special PROMPT_COMMAND for screen terminal types,
which are the default with DevStack.  The PROMPT_COMMAND interacts
in a negative way with the -t and -X and -p flags, causing DevStack
not to work.  To solve this problem, this patch forces PROMPT_COMMAND
to default to /bin/true, triggering no changes to the window title
used within screen.  Also this patch enables F19 as a non-FORCE
distribution.

Change-Id: I2414d9e28dd95b69272e132163b29ed83f73b2f6
Fixes: bug #1196340
2013-06-30 16:13:00 -07:00
Paul Michali
9297319fdb Enhance DevStack to allow user to specify the
following customizations for the predefined networks
created on startup (default in parenthesis):

PRIVATE_SUBNET_NAME    - Name of the local subnet (private-subnet)
PUBLIC_SUBNET_NAME     - Name of the public subnet (public-subnet)
PUBLIC_NETWORK_GATEWAY - IP for the public subnet (172.24.4.225)

Moved NETWORK_GATEWAY into lib/quantum, along with these new
customizations.

bug 1194218

Change-Id: I87ebc22e338df278db7523f11be07de1ca88234b
2013-06-28 06:15:23 -07:00
Jenkins
4a6529ae37 Merge "xenapi: Cleanup networking" 2013-06-27 18:56:50 +00:00
Mate Lakat
5a56cd6283 xenapi: Cleanup networking
OpenStack VM had 4 interfaces, from which eth0 was connected to HIMN (Host
Internal Management Network), and not used at all. The reason for not
using this interface according to johngarbutt is:
 - VNC console would not work
 - migrations would not work
 - many other things
This change removes the interface, thus devstack is providing the
same architecture as described in the official documentation, YAGNI
applied on the HIMN:

    http://goo.gl/dmrNF

The change also modifies some defaults, so it's easier to get started:
 - The Ubuntu VM is network-installed through the management network
 - OS VM is getting its address on the management network through DHCP
 - Default Public IP addresses aligned to stack.sh defaults
 - OS Services are listening on Management Interface

Related to blueprint xenapi-devstack-cleanup

Change-Id: I73c9751ade6f4786b8b682a1994cb87f0a624379
2013-06-20 14:43:14 +01:00
Daniel Jones
fa868cb59c Disable vnc on Power Systems
Power systems don't have graphics adapters, so we can't simulate a VNC
console. This patch removes that from the default nova configuration
if the system architecture is ppc64.

Change-Id: I129d180b712115e5c275241740d34805fea23e8b
2013-06-18 18:20:41 -05:00
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