1042 Commits

Author SHA1 Message Date
Jenkins
3c89fbacc1 Merge "Make unstack.sh more like stack.sh" 2014-01-25 18:38:03 +00:00
Jenkins
4cd482ccd9 Merge "Sanitize language settings" 2014-01-25 17:16:18 +00:00
Jenkins
6d323f43b4 Merge "updated sar options to collect more data" 2014-01-21 10:07:52 +00:00
Brant Knudson
0049c0c434 Make unstack.sh more like stack.sh
unstack.sh and stack.sh both have to "configure projects", but the
code was different. This change makes it so the 2 sections of the
files are the same.

Change-Id: Ia06f8bbfbe2a6e87fb406e34e13a39bd7fa9e5af
2014-01-16 18:16:48 -06:00
Sean Dague
a0a23311c3 updated sar options to collect more data
in order to have better data on the load state of the test nodes
we should track things beyond just cpu time. Add in load time,
process creation rates, and io rates during the tests.

also add a sar filter that makes it report on one line

reading sar input with multiple flags is somewhat problematic,
because it's tons of interspersed headers. So build something with
does a pivot filter to make it possible to get this all on one
line.

Change-Id: I8f085cedda65dfc37ad530eb97ba1fc5577314c3
2014-01-16 17:17:07 -05:00
YAMAMOTO Takashi
b4a215cce2 Sanitize language settings
To avoid commands bailing out with "unsupported locale setting" errors.

Change-Id: I54ae4cd84a0a4b4875533181b1d96563a1604775
2014-01-15 12:17:53 +09:00
armando-migliaccio
ef1e08022b Add sanity check framework to verify neutron server/backend integration
Some Neutron plugins require controllers and multiple backend services
to operate correctly. This patch adds the framework for third party
plugins to run sanity checks after Neutron Server has started.

This simple addition may reveal potential configuration pitfalls
much earlier in the dev/test cycle, thus speeding up the build
churn process.

The first plugin that uses this framework is the VMware NSX one.

Closes-bug: #1265671

Change-Id: I17f9c5c8e828316ff03f0eff42ae4ae6c6c58733
2014-01-14 08:14:25 -08:00
Jenkins
434fac566b Merge "Setup Keystone catalog information for Ceilometer" 2014-01-13 17:46:26 +00:00
Sean Dague
2bb483d32e clean up ubuntu versions
oneiric is long dead, remove references to it whenever possible
(one more subtle issue in cinder should be a seperate patch). This
includes removing the oneiric only tool build_uec.sh.

also remove the bulk of references to quantal, which is 8 months
out of support. note: raring only has support for the rest of the
month.

Change-Id: Ib17502be7572af76dc95560615221b48b970a547
2014-01-11 19:13:47 -05:00
Jenkins
c8c0ead4ca Merge "Add support for Fedora 20" 2014-01-11 09:18:21 +00:00
Alvaro Lopez Ortega
d7f6090f29 Add support for Fedora 20
The list of RPM packages have been updated to support the recently
released Fedora 20 distribution.

Closes-Bug: #1263291

Co-Authored: Alvaro Lopez Ortega <alvaro@gnu.org>
Change-Id: Ia66abef1a1a54e6d5ee6eebc12908cef3f1d211d
2014-01-10 10:52:41 +01:00
Dirk Mueller
fa5ccfff10 Setup Keystone catalog information for Ceilometer
Change-Id: I3f536f38fe7862ee41b06d1d48b848cc07492c8d
Closes-Bug: #1267322
2014-01-09 14:05:39 +01:00
Jenkins
0150d7eb2a Merge "Ensure hostname resolves correctly" 2014-01-03 01:11:19 +00:00
Ben Nemec
3ee52c81a1 Ensure hostname resolves correctly
rabbitmq hangs on startup if the unqualified hostname for the
system doesn't resolve properly.  This change ensures that the
hostname is added to /etc/hosts so that will never happen with
devstack.

Change-Id: I2c250f38f9feb18d1a59f3a457c6d01c1d98499c
2013-12-31 04:04:27 +00:00
Salvatore Orlando
6fbb28d021 Neutron: create network resources when agents are started
Creating network resources before the agents start with the ml2
plugin might result in bnding failures for some resources such as
DHCP ports because the resources are created before the agents
report to the server.

This patch should ensure all agents have started and reported
their state to the server before creating network resources.

Change-Id: Ifafb73bd3c5409a555a573ad9a94b96d79061c38
Related-Bug: #1253896
2013-12-22 07:59:37 -08:00
Jenkins
5fc612bbf2 Merge "Default to /24 prefix for floating IP range with neutron" 2013-12-17 09:08:59 +00:00
Salvatore Orlando
90234ac4b0 Default to /24 prefix for floating IP range with neutron
When running Tempest parallel tests with neutron, several long-running
tests might create routers and floating IPs, which will result in
IP allocations over the public network.

Increasing the public network size should ensure tests do not fail
due to IP address shortage; this patch also updates the public network
gateway IP address.

Related-Bug: 1253966

Change-Id: Ie075b3c4d14a07b06c42fd29b09770dd1972aa45
2013-12-15 04:25:20 -08:00
Dean Troyer
526b79f988 Eradicate last of underscores in options
The --ip_range in stack.sh remains due to nova-manage needing to be fixed.

(Rebased 05Dec2013)

Change-Id: Ic0f93d41b6edfdc5deb82ae820e2c0c5a8bce24e
2013-12-05 12:25:26 -06:00
Jenkins
72acdd93ef Merge "Add new stack phase: post-extra" 2013-12-05 12:12:56 +00:00
Jenkins
02ef0dbfb0 Merge "add assertions for blind grep" 2013-12-05 00:19:49 +00:00
Jenkins
bddaf0afb6 Merge "Allow deploying keystone with SSL certificates" 2013-12-04 05:36:40 +00:00
Jenkins
4691f00058 Merge "enhance logging for depend tracking mode" 2013-12-01 16:31:37 +00:00
Jamie Lennox
bd24a8d0f8 Allow deploying keystone with SSL certificates
Allow providing certificates through environment variables to be used
for keystone, and provide the basis for doing this for other services.
It cannot be used in conjunction with tls-proxy as the service provides
it's own encrypted endpoint.

Impletmenting: blueprint devstack-https
Change-Id: I8cf4c9c8c8a6911ae56ebcd14600a9d24cca99a0
2013-11-25 22:27:51 +00:00
Ryan Hsu
feb28837f4 Add new stack phase: post-extra
The current existing phases "post-config" and "extra" are not
sufficient to allow local.conf overrides to extra type services
because they run after the services are installed and configured.
This commit introduces a new phase called "post-extra" that runs
after these existing phases. With this change, users are able to
leverage local.conf to provide overridden options to services
like Tempest.

Change-Id: I5d758eebfda804dd1d8cbc3d5cc35ef4dcc8c96f
Closes-Bug: #1249085
2013-11-07 12:35:38 -08:00
Attila Fazekas
5a35e73b34 Option for installing spice-html5 and novnc from packages
The novnc and spice-html5 is installed from git repository by default,
but not from an openstack* repository.

In order to add vnc/spice proxy related gating tests they should be installed
from packages.

New boolean variables added to control the installation source:
NOVNC_FROM_PACKAGE and SPICE_FROM_PACKAGE

Related changes:
https://review.openstack.org/#/c/51790/
https://review.openstack.org/#/c/50822/

Change-Id: I1e55fd99edd30876924a13160afb74ff3e97c485
2013-11-07 08:20:20 +01:00
DennyZhang
e8fa8537a5 enhance logging for depend tracking mode
Add some extra log, to make the console output more understandable

Change-Id: If80cb9dba1031ad268bf9b6266ca83f93071a2ad
2013-11-03 12:23:42 -06:00
Chuck Short
f470d95b90 Enable trusty
Enable Trusty Tahir (14.04) the next Ubuntu LTS release.

Change-Id: I48fe52345fefaf9ac7ba4be7d3f5675f72eea754
Signed-off-by: Chuck Short <chuck.short@canonical.com>
2013-10-25 15:14:08 -07:00
Sean Dague
f7cfa0c6e7 put the stackforge library installation behind a conditional
we don't actually want to drag in stackforge libraries all the
time, instead ensure that we have enabled stackforge_libs before
doing it.

Change-Id: Ic1c2e3d19e106a2aa0db9725d16a8b207546c23d
2013-10-25 13:26:17 -04:00
Jenkins
52a5c3aa84 Merge "add lib/stackforge to let us test wsme / pecan from git" 2013-10-25 15:41:34 +00:00
DennyZhang
23178a997a add assertions for blind grep
blind grep is error-prone.
Add assertions for errors we can not handle

Change-Id: Ibe19085545ecc848498506e8b8ee14e71825b273
2013-10-22 17:12:18 -05:00
Sean Dague
b83c365cf5 clean up whitespace on stack.sh
Change-Id: If73435968cfbd0dd3cc519f0a30e02bec5fcb386
2013-10-22 13:02:29 -04:00
Jenkins
8d3beb673c Merge "Don't kill nova-bm-deploy-helper prematurally" 2013-10-22 15:56:46 +00:00
Jenkins
5ff07b9a8e Merge "Don't kill sar prematurally in devstack-gate" 2013-10-22 15:52:36 +00:00
Jenkins
e394ac37a9 Merge "Fix typos and thinkos in docs" 2013-10-22 13:20:31 +00:00
Jenkins
a2ad9bed50 Merge "Do not install pip when OFFLINE=True" 2013-10-22 13:05:51 +00:00
Jenkins
21178a1c74 Merge "detect failure of 'keystone token-get'" 2013-10-22 12:36:29 +00:00
Jenkins
4d23ff525e Merge "Install Ironic client" 2013-10-22 12:29:27 +00:00
Sean Dague
6832272a18 add lib/stackforge to let us test wsme / pecan from git
wsme and pecan libraries have migrated to stackforge for
development. If we support them in devstack, we can use their git
version instead of the release version, which ensures that they
won't break the rest of OpenStack when they cut a new release.

This is similar to how oslo testing works. Long term we probably
want a more generic mechanism to handle this, but for now, this
should get us rolling, and get them gating.

Change-Id: Icf3475f433081c7c625864107d7e118e214396e1
2013-10-22 07:32:04 -04:00
Dean Troyer
b8dd27bf45 Fix typos and thinkos in docs
Updates for the new major features and some clarification

Partial-Bug: #1235626

Change-Id: If2da63e62a14894e498b4163b5052d9b2b2069ed
2013-10-21 11:20:42 -05:00
DennyZhang
acb52e5db6 detect failure of 'keystone token-get'
When 'keystone token-get' fails, the caller can't detect the failure.
This cause troulbe shooting a bit complicated.

Change-Id: I3c58c5fd0e92a87e87546ea797904e08646a1097
Closes-Bug: #1238412
2013-10-20 10:01:52 -05:00
Mehdi Abaakouk
c01e6a789e Don't kill nova-bm-deploy-helper prematurally
This change ensure that 'nova-baremetal-deploy-helper' process is
not killed by stack.sh when USE_SCREEN=False

Change-Id: I84f6f3c3d09bf0cd0d4c5d94eb486a1f7d0b1d0f
2013-10-17 19:20:15 +02:00
Mehdi Abaakouk
a20c620c7d Don't kill sar prematurally in devstack-gate
This change ensure that 'sar' is not killed by stack.sh when USE_SCREEN=False

Fixes bug #1238482

Change-Id: Id354619a43c27eabbc57f61ba33be2a9493244aa
2013-10-17 19:20:15 +02:00
Arata Notsu
8b5d3cf3df Do not install pip when OFFLINE=True
install_pip.sh trys to fetch pip from the internet even if
OFFLINE=True. It causes stack.sh to fail if the environment
is actually disconnected from the internet. With this patch,
stack.sh skips install_pip.sh if OFFLINE=True.

Change-Id: Ica9e5cfa0a4ee684c05393896c2fd6ddbd9ccd06
Closes-Bug: 1240956
2013-10-17 21:44:42 +09:00
Dean Troyer
cdf3d76647 Add stack phases to extras.d handling
Add hooks to stack.sh, unstack.sh and clean.sh to call the extras.d
scripts at multiple points in stack.sh.  This allows these scripts to
perform installation and startup tasks at similar times as they would
if integrated into stack.sh.

extras.d/70-tempest.sh is present as an example of the structure
of these scripts.

See extras.d/README.md for more information.

Change-Id: Ic1fe522559b94d204d6c0319a2e3d23684c8d028
2013-10-15 16:13:47 -05:00
Roman Prykhodchenko
43e00660c3 Install Ironic client
Since python-ironicclient was published to github it's
reasonable to include it to the default Ironic set up.

Change-Id: Id1d0209959a3b482977b5e710c0885c714ad7e10
2013-10-15 17:03:15 +03:00
Jenkins
0bdd8eba70 Merge "Convert remaining hypervisors to plugin model" 2013-10-14 20:09:44 +00:00
Jenkins
c5a1b05eba Merge "Add meta-config via local.conf" 2013-10-14 17:49:26 +00:00
Dean Troyer
893e66360c Add meta-config via local.conf
This defines a new local.conf file that is designed to take the place of all
of the 'pass-through'[1] configuration options that have been defined in DevStack.

* new local.conf file can contain multiple config file settings to be
  merged in to existing project config files
* localrc can be embedded into local.conf and will auto-extract if
  localrc does not exist
* Adds functions get_meta_section(), get_meta_section_files(),
  merge_config_file() and merge_config_group()
* Adds EXTRA_OPTS, EXTRA_BAREMETAL_OPTS, Q_DHCP_EXTRA_DEFAULT_OPTS and
  Q_SRV_EXTRA_DEFAULT_OPTS to the deprecated warning list at the end of stack.sh

[1] Pass-through options are those that do not configure or change DevStack's behaviour
but simply set a value in a project config file.  This includes most of the EXTRA_XXX_OPTS
configuration variables.

Change-Id: I367cadc86116621e9574ac203aafdab483d810d3
2013-10-11 11:41:58 -05:00
Dean Troyer
8c032d1635 Convert remaining hypervisors to plugin model
Convert BareMetal, OpenVZ, PowerVM hnd libvirt ypervisor configurations
in Nova to the new plugin setup.

Change-Id: I47d744a2c9fdda0771f5b473ec3b26fb099f7439
2013-10-11 11:30:56 -05:00
Jenkins
67f7da2de2 Merge "Use the rdo havana repo with the RHEL family" 2013-10-08 21:37:18 +00:00