982 Commits

Author SHA1 Message Date
Jenkins
b305eeea1b Merge "Only run chmod/chown for local files" 2013-09-15 14:05:25 +00:00
Nikhil Manchanda
0cccad43aa Added Trove (Database as a Service).
- Added changes to stackrc for the Trove Repos.
- Added support to devstack for "install", "configure",
  "init", and "run"

implements blueprint:trove-devstack-integration

Change-Id: Ib3f6daad33e629f764a174b80762c808ce8588e2
2013-09-11 23:48:07 +00:00
Doug Hellmann
e700267e33 Only run chmod/chown for local files
When the /opt/stack directory is NFS mounted, chown to
the local user might not work. Create safe_chown and
safe_chmod functions that do nothing on NFS filesystems
to avoid spurrious errors.

Change-Id: Iaa68879e867a4426b1990d4d46164769177dc7cc
2013-09-10 15:15:58 -04:00
Jenkins
58afc72983 Merge "Move RHEL6 hacks to tools/fixup_stuff.sh" 2013-09-03 20:04:44 +00:00
Jenkins
630d03e77a Merge "Basic support of Ironic" 2013-09-03 16:19:06 +00:00
Dean Troyer
49ba22460b Move RHEL6 hacks to tools/fixup_stuff.sh
Change-Id: Ice983bc16379bc2bc25659c37cfc16b63fdfc34b
2013-08-30 15:20:59 -05:00
Dean Troyer
2aa2a89cdb Add support for Docker as Nova hypervisor
* Add basic support for hypervisor plugins in lib/nova_plugins
* Add lib/nova_plugins/hypervisor-docker to use Docker as a Nova
  hypervisor.
* Add tools/install_docker.sh to install the Docker daemon and
  registry container, download base image and import
* Configure Nova to use docker plugin
* Add docker exercise and skip unsupported ones

Nova blueprint: new-hypervisor-docker

Change-Id: I9e7065b562dce2ce853def583ab1165886612227
2013-08-28 22:36:48 -05:00
Roman Prykhodchenko
ce696b60d7 Basic support of Ironic
Ironic is an OpenStack project than brings a
separate service for baremetal provisioning.
Currently Ironic is in incubation but it needs
to have basic support in devstack to provide
automatic deployment testing.

Change-Id: Ide65a1379fa207a6c8b2c7d9a4f9c874b10fd9ba
2013-08-22 12:30:51 +03:00
Jenkins
4f9d040fce Merge "Allow disabling of debug logging" 2013-08-13 17:24:53 +00:00
Jenkins
af9a6cfb23 Merge "Force $DEST to have wider permissions" 2013-08-13 02:08:04 +00:00
Ben Nemec
039979424b Allow disabling of debug logging
I find that enabling the debug log level often causes me to miss
important error messages due to the sheer volume of information
logged.  This change allows configuration of the debug option
in a number of the projects so it can be disabled globally
without having to make one-off changes after each re-stack.

Note that this does not apply to Keystone or Swift right now.
They use a different method to configure their logging level and
I'm not as familiar with them so I didn't want to mess with their
settings.

Change-Id: I185d496543d245a644854c8a37f3359377cb978c
2013-08-12 15:01:39 -05:00
Dean Troyer
9acc12a392 More Python package fixes
* Add tools/fixup_stuff.sh to fix prettytable and httplib2 install
  with pip 1.4+
* Cache downloads properly in tools/install_pip.sh

Change-Id: I482590cb91f7a10c1436bc9015afd572ac1cc73e
2013-08-10 16:44:17 -07:00
Bob Ball
376b631660 Force $DEST to have wider permissions
This is particularly useful in the case where we create the
home directory above and the permissions are too strict.

Other users, such as the apache user, need read/execute for this
directory.

Change-Id: I908d993dbcd863b482030afcc04e5e7b9f4cffa1
2013-08-10 14:49:10 +01:00
Jenkins
b690a8f00e Merge "Add tools/install_pip.sh" 2013-08-08 21:23:27 +00:00
Dean Troyer
62d1d698a0 Add tools/install_pip.sh
Install a known working recent version of pip that handles installation
dependencies more correctly than before.  Extract to a separate script
so it can be used apart from stack.sh.

* Install distro setuptools if it not already present
* Install pip from source tarball as get-pip.py proved to be unreliable
* Remove python-distribute and python-pip from all prereq files,
  move python-setuptools to 'general'
* Remove the earlier unfubar_setuptppls() call that attenpted to fix this
* Only update requirements.txt when no changes in repo

Tested on Precise, F18 and CentOS6.
* Fedora and RHEL allow pip to install packages ON TOP OF RPM-installed
  packages.  THIS IS BROKEN.  And is one reason we have to be so picky
  about order and so forth.

Change-Id: Ibb4b42119dc2e51577c77bbbbffb110863e5324d
2013-08-07 20:28:56 -05:00
Jenkins
48ceda667d Merge "Don't uninstall packages when on xenserver" 2013-08-06 20:11:27 +00:00
Jenkins
aa9274fe08 Merge "Run Neutron migrations after creating schema" 2013-08-06 17:14:10 +00:00
Monty Taylor
985debe5ce Don't uninstall packages when on xenserver
It turns out our fix for package madness breaks when running on
xenserver. Put in a simple exclusion for that case until we figure out a
more total and systemic solution to everyone's problems.

Change-Id: I491917015337f83206937c53949a62aa63f4679f
2013-08-06 11:45:07 -03:00
Salvatore Orlando
dd64988ff4 Run Neutron migrations after creating schema
Partial-Bug 1207402

This patch executes Neutron DB migrations (based on alembic)
before starting the Neutron services, similar to what happens
for most of other openstack projects managed by devstack.
This will ensure devstack always creates correctly version-stamped
Neutron databases.

Change-Id: Ia941c426a1563bcc4cb5eae64ea30c0bf7677220
2013-08-06 02:42:08 -07:00
Sean Dague
6c84463071 Update projects to global requirements before setup
We've agreed that we should be using global requirements, so
force projects to be updated to global requirements before we
test them.

Co-Authored-With: Monty Taylor <mordred@inaugust.com>

Change-Id: I0652f639673e600fd7508a9869ec85f8d5ce4518
2013-08-05 16:22:32 -04:00
Jenkins
74af8ed00f Merge "enable apache2 server as front end for swift" 2013-08-02 12:24:11 +00:00
Sean Dague
0392a10a63 add lib/infra
move the infrastructure projects to a dedicated lib/infra, which
gives us access to this during grenade upgrade tests.

Change-Id: I1e832792b61d41ad290b4b2ab26fe664e710cebd
2013-07-31 15:48:47 -04:00
Jenkins
14763cee02 Merge "install oslo from upstream in devstack" 2013-07-31 14:34:58 +00:00
Sean Dague
1b6b5318a0 install oslo from upstream in devstack
the libraries that have graduated from oslo incubation need to be
made available in devstack so that projects can develop against
upstream versions of these libraries, and that we can test their
compatibility in the gate.

This should also allow us to force global requirements on all the
projects during installation.

Change-Id: Idf527b16b50eb58564ec74428290cd31424f5de2
2013-07-31 07:32:20 -04:00
Jenkins
ec32e9a143 Merge "Add option to serve PXE for baremetal from nova-network" 2013-07-31 03:59:56 +00:00
Arata Notsu
bbf0645981 Add option to serve PXE for baremetal from nova-network
New variable BM_DNSMASQ_FROM_NOVA_NETWORK: if setting this true,
DevStack configures nova-network's dnsmask to provide PXE and does
not run baremetal's one. In this case PXE traffic occur in the fixed-ip
network, so no dedicated network for PXE is needed.

Change-Id: I67cade02c03ab45ab6b77d8da9066d7d5ec6c78b
2013-07-30 10:47:46 +09:00
zhang-hare
d98a5d0a58 enable apache2 server as front end for swift
1.install apache and wsgi module
2.config apache2 vhost and wsgi files for proxy,
account, container and object server.
3.refactor apache functions from horizon and swift
into lib/apache

Change-Id: I3a5d1e511c5dca1e6d01a1adca8fda0a43d4f632
Implements: blueprint enable-apache-frontend-for-swift
2013-07-29 11:15:21 +08:00
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