2492 Commits

Author SHA1 Message Date
Mate Lakat
8644676846 xenapi - use management network to reach OS VM
Devstack used the HOST_IP_IFACE to reach the OpenStack VM through ssh.
This patch changes this behavior, so that the IP address of the
interface connected to the management network will be used.

Related to blueprint xenapi-devstack-cleanup

Change-Id: I7f34d973870792d60a33ea512901d9b0d422150b
2013-05-12 18:41:40 +01:00
Mate Lakat
0b3804bff7 xenapi - cleanup
Add error on unitialised variable to the scripts. This way some issues
were identified. Also modify README with fresh variables. The patch
includes:
 - Add SWIFT_HASH to the README
 - Add XENAPI_CONNECTION_URL to the README
 - Add VNCSERVER_PROXYCLIENT_ADDRESS to the README
 - Introduce UBUNTU_INST_IFACE which is the OpenStack VM interface used
   for the netinstall. It defaults to eth3. Previously this parameter
   was set by the combination of HOST_IP_IFACE and the undocumented
   NETINSTALL_IP
 - get rid of NETINSTALL_IP
 - xenrc includes CLEAN_TEMPLATES
 - xenrc no longer tries to change directory
 - remove chrooting from prepare_guest.sh (STAGING_DIR was always / )
 - remove DO_TGZ variable from prepare_guest.sh
 - use arguments to call prepare_guest.sh, instead of env vars
 - Fix backslash escaping in prepare_guest_template.sh

NOTE: networking is about to be addressed in a separate change.

Related to blueprint xenapi-devstack-cleanup

Change-Id: Ie9a75321c7f41cc9a0cc051398d1e6ec2c88adfa
2013-05-12 17:27:13 +01:00
Gordon Chung
701eb61931 ceilometer setup incorrectly sets notification_topics
drop glance_notifications from notification_topics in ceilometer setup

Change-Id: Ib18b4193af9df925b4ce4dbe3faf4c6a756ed03f
Fixes:Bug #1178704
2013-05-10 10:47:50 -04:00
JordanP
1e4587ef99 Clean up horizon apache logs on unstack
It feels like the right think to do. Moreover it will avoid to display
horizon errors from a previous devstack run that would be displayed because
of the tail -f in start_horizon()

Change-Id: Id1ab272e60e0733a4feef3b85029f438f2273cb0
2013-05-10 15:55:27 +02: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
Jenkins
2104912887 Merge "Add Debian OS support in DevStack" 2013-05-09 16:45:01 +00:00
Jenkins
8294858ddf Merge "Set MYSQL_HOST parameter to better support multi-node mode." 2013-05-09 16:43:05 +00:00
armando-migliaccio
7c025fedc3 Check quantum status dependent on the plugin
There are Quantum plugins that do not require the use of an agent.
This patch relaxes the constraint in quantum-adv-test.sh by adding
the ability to customize the logic that verifies whether the test
can run or not, depending on the Quantum plugin of your choice.

Fixes bug #1177904

Change-Id: I6e2c17f43d9e1475b2eb175cceb5107a83f9aa74
2013-05-09 09:05:15 -07:00
zhhuabj
5595fdc2ac Update the package name of qpid in the fedora platform
The package name of qpid in default yum repository
is qpid-cpp-server, not qpid-cpp-server-daemon.

Fix bug 1177731

Change-Id: I4412029966583f5ef5a5a4cc80e7fdc4771c8eca
2013-05-09 13:12:01 +08:00
Émilien Macchi
b2ef890db3 Add Debian OS support in DevStack
Fix bug #1176216

Change-Id: Ia94c332f02a921a936db249dc3b4a7ae4eff0400
2013-05-09 00:18:37 +02:00
Jordan Pittier
2ae6acfe38 Stop quantum-ns-metadata-proxy process on unstack
Change function stop_quantum() in lib/quantum to also kill quantum-ns-metadata-proxy process

Fix Bug #1175658

Change-Id: I9e8f8437817cc645ab15eecfea1a134ea5ac13f2
2013-05-08 20:33:13 +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
zhhuabj
2832f28012 Set MYSQL_HOST parameter to better support multi-node mode.
When deploying openstack with multi-node mode,
mysql needs to be started by listening it's real ip, not localhost.
but devstack always use localhost to recreate databases that will
lead bellow errors.

Fix bug 1177735

Change-Id: I50284f469a998d023a41b4796f1dc775bb52e710
2013-05-08 18:47:49 +08: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
Steve Baker
de0898a02c Do not run heat/tools/nova_create_flavors.sh
This script takes a long time to run which will affect tempest
run times. Instead of running this, example templates will be modified
to align with the default heat flavors.

Change-Id: I588b1da9f5a02de3bf64ac8011d75c7d5432ef26
2013-05-08 11:37:26 +12:00
Jenkins
b240ad472b Merge "Ensure correct polkit config written for RHEL6" 2013-05-05 13:03:26 +00: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
b85f9d73c1 Ensure correct polkit config written for RHEL6
Ensure the correct polkit config is written for RHEL6, or nova-cpu
will fail to start with libvirt permission errors

Change-Id: I871ef4e03157883db15be41222b7338765fbb843
2013-05-02 12:53:57 +10: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
Jenkins
bc41b5b079 Merge "Add configurable use of veths with Quantum+OVS." 2013-05-01 22:30:52 +00:00
Jenkins
a16193467f Merge "Remove redundant arping package from apts/nova" 2013-05-01 22:28:19 +00: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
Jenkins
d2930a5286 Merge "Correcting comment for HOST_IP_IFACE" 2013-05-01 07:41:14 +00:00
Jenkins
832659d05d Merge "Fix nova compute failing to start on openSUSE 12.3" 2013-05-01 01:22:45 +00:00
Jenkins
a9232a53dd Merge "lib/database: Fixed a bug in database_connection_url" 2013-05-01 01:21:33 +00:00
Jenkins
9b8959580f Merge "Grab upstream nodejs for RHEL6" 2013-05-01 01:21:31 +00:00
Maru Newby
d7150e9bbc Add configurable use of veths with Quantum+OVS.
* This patch adds the ability to configure use of veths with
   OVS via the Q_OVS_USE_VETH variable.  The use of veths with OVS
   is required to support namespaces on RHEL.
 * Supports bug 1171727

Change-Id: I5f557d659684ead99a3e5e2b4df787699d9d3f05
2013-04-30 05:57:25 +00:00
Bob Ball
2634be00b8 Correcting comment for HOST_IP_IFACE
Change-Id: I4c3438dc1168401c193841976cf8ba8534b33679
Fixes: bug #1174455
2013-04-29 23:35:57 +01:00
Tal Kain
0729d06fae lib/database: Fixed a bug in database_connection_url
The changes from https://review.openstack.org/#/c/23364/ simplified
the usage of database_connection_url_mysql and
database_connection_url_postgresql without making the proper changes
to database_connection_url.

Fixes: bug #1167668
Signed-off-by: Tal Kain <tal.kain@ravellosystems.com>
Change-Id: I5115d123ad794f2eb2e144b76932031af5248f26
2013-04-29 23:08:27 +03:00
Ian Wienand
ad43b3957e Grab upstream nodejs for RHEL6
RHEL6 has no nodejs in main packages or in EPEL.  The easiest way is
to just install the upstream binary version which works fine for the
very minimal usage by lesscss.

Change-Id: Ia35e7dbaf4c7add43797d6b7d0c846bab1cf0cb0
2013-04-29 16:21:54 +10: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
cd30ad90b8 Merge "Install api-paste.ini and policy.json" 2013-04-26 21:58:45 +00:00
Jenkins
77e8d18c8c Merge "Move ec2authtoken config from paste.ini to conf" 2013-04-26 21:58:42 +00:00
Jenkins
b6c3719467 Merge "Removes "RPC not enabled" error message when no backend is needed" 2013-04-26 16:55:04 +00: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
Matthieu Huin
7a7a466738 Removes "RPC not enabled" error message when no backend is needed
When no service needing a RPC backend is activated, no error message
should appear if a RPC backend is not installed. A simple check is
done on the services installation files to see which services need to
initialize a RPC backend at some point; if none of these services
are in ENABLED_SERVICES then the error message is skipped.

Change-Id: I4e47e0c675c74775b4ea53a00848ac1d777f0125
Fixes: bug #1167338
2013-04-26 10:36:32 +02:00
Jenkins
0906621356 Merge "Modify RPM lists for RHEL6" 2013-04-26 00:32:45 +00: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
d5cd79b16b Install api-paste.ini and policy.json
This is related to this Heat change, and Heat on Devstack will not work
while only one of these changes is applied:
Consolidated api-paste.ini file
https://review.openstack.org/#/c/27384/

Change-Id: Iba02b56173f796de5348289247233c8765f83ac2
2013-04-26 08:29:56 +12:00
Steve Baker
fd1ebe7cba Move ec2authtoken config from paste.ini to conf
Nothing now needs to be configured in paste.ini on launch

This change relates to these committed Heat changes:
https://review.openstack.org/#/c/27382/
https://review.openstack.org/#/c/27382/

Change-Id: Ia29dee8e32cd3d43d1b9200dd94de70e02a54bfc
2013-04-26 08:28:30 +12: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
Ralf Haferkamp
76ca9a9e23 Fix nova compute failing to start on openSUSE 12.3
The syntax of polkit authorization rules is different now. Using the same code
as for Fedora 18 now.

Change-Id: I4f66d8fc65c90a309aab478a4df35c77c7669314
2013-04-25 17:17:57 +02:00
Jian Wen
f661658ed1 Remove redundant arping package from apts/nova
Nova is dependent on arping because 'arping -U' is used.
Arping package doesn't provide 'arping -U'. Let iputils-arping
do the arping job.

Change-Id: Iad4cbf823881de4656fb6a4e32285cf2a49b1d2a
2013-04-25 15:34:18 +08:00
Jenkins
63992bcb58 Merge "Add a generic post-prereq phase" 2013-04-24 16:32:27 +00:00