The bm_poseur git repository link has been broken
for over 11 months. The virtualized/fake baremetal
environment is not working and has not worked in a
long time. Now, on the tail of enabling 'enable -o errexit',
this functionality now has a hard break.
Change-Id: I3cbd8db58c422bc5273d2433278aaa5e449ecfd9
Closes-Bug: 1285954
During my CI testing of each devstack change I can often see git get
itself stuck and hang indefinitely. I'm not sure if it's transient
network issues, or issues at the remote end (seen with both github.com
and git.openstack.org) but it hits fairly frequently. Retrying the
command usually gets it going again. Searching for "git hanging" and
similar shows its not entirely uncommon...
This adds a watchdog timeout for remote git operations based on a new
environment variable GIT_TIMEOUT. It will retry 3 times before giving
up. The wrapper is applied to the main remote git calls.
Change-Id: I5b0114ca26b7ac2f25993264f761cba9ec8c09e1
heat has been integrated for a while, we should turn it on out of
the box. Also refactor the service list to make it simpler to
understand what's enabled.
Change-Id: I9738f39ce196d5c7f75b0a5b164222ea165fb340
This allows the tempest configuration to set the right
image for booting docker containers with Nova.
Since glance uploads are not yet integrated in devstack,
IMAGE_URLS remains empty.
Change-Id: I5df153cd1d5e1411bb3c11816122ce280148e129
Oslo has adopted 4 libraries that were previously on
stackforge, so we can now install them from source.
Change-Id: I6b6e20a7884b47ade466fc38641a5ac1a5f3e146
This converts the special cases in the is_service_enabled() function to call
individual functions declared by the projects. This allows projects that
are not in the DevStack repo and called via the extras.d plugin to handle
an equivalent service alias.
* Ceilometer
* Cinder
* Glance
* Neutron
* Nova
* Swift
TODO: remove the tests from is_service_enabled() after a transition period
Patch Set 2: Rebased
Change-Id: Ic78be433f93a9dd5f46be548bdbd4c984e0da6e7
As we are moving forward to test XenAPI in the gate, it is necessary to
move dom0 related modifications to be performed from domU. For this
purpose, a new user is created, and that user should be used to talk to
dom0 from domU. This change creates that user, makes it possible for
dom0 to log in to domU with that account, and configure that account to
be able to talk down to dom0.
Also move several steps to the nova xenserver plugin:
- dom0 plugin installation
- create kernels and images directory
- install console rotate script
- configure a cron to execute console rotate script
Configuration changes:
A new configuration option, DOMZERO_USER has been created, that
specifies a user account that is configured to be able to do
passwordless ssh to dom0.
Change-Id: If9de0b297a67b7cdb5de78d8dd0e8b2ca578b601
* lib/databases/mysql: Wrap query log configuration in a check for a
ENABLE_QUERY_LOGGING variable.
* stackrc: Add the DATABASE_QUERY_LOGGING variable defaulted to True.
Change-Id: Iddf8538ad0a1e36e2c6944dc70315984026c8245
The list of services that Tempest used to set its 'service_available'
config values was hard-coded. To be plugin-friendly have each
service (project) add its name to the TEMPEST_SERVICES variable
and use that for setting the 'service_avilable' values.
Change-Id: I208efd7fd0798b18ac2e6353ee70b773e84a2683
By adding a separate entry for xenserver, it will enforce the gate to
cache cirros-0.3.0-x86_64-disk.vhd.tgz.
Change-Id: Ibfd4618e98f079a53fc286f5e95f18a3d658e4d2
* Save PID when using screen in screen_it()
* Add screen_stop()
* Call out service stop_*() in unstack.sh functions so screen_stop()
can do its thing
Closes-bug: 1183449
Change-Id: Iac84231cfda960c4197de5b6e8ba6eb19225169a
oslo.rootwrap recently graduated but was not made part of the
devstack-gate. This change is part of a series of changes affecting
devstack-gate, config and devstack which will collectively fix this:
https://review.openstack.org/#/q/status:open+topic:rootwrap-gate,n,z
This should probably be merged once the config and devstack-gate changes
are in, so that it can be self-testing.
Change-Id: I7b1332c8004845a0dd76e27d871370d41d4524ac
Fedora 20 is only added to IMAGE_URLS if
$HEAT_FETCHED_TEST_IMAGE contains the exact known image name
This image is used for running heat tempest tests which require
an image which has heat-cfntools installed.
Change-Id: Ic6cdea932a5d5f3de138da96d27e407775b3e84b
Recent change switched base git URL to git.openstack.org.
However, noVNC is only hosted on GitHub.
Change git repo URL for noVNC back to the GitHub one.
Change-Id: Iaa9f570639301be1c29cc400c1c73afcbf637b70
The git repositories on github for openstack are mirrors of the primary
repositories, which are hosted on git.openstack.org, so switch as much
as I can to using the primary, rather than the github mirror.
Change-Id: Idcfda49a691582055256b830c61e098f4a271339
Replacing $BASH_SOURCE with ${BASH_SOURCE:-$0} makes devstack zsh friendly: in
bash, $BASH_SOURCE is used per usual; in zsh, where $BASH_SOURCE isn't
defined, $0 is used, which, unlike in bash, evaluates to the current
source file.
Now you can source devstack's openrc from a zsh shell.
Tested with bash and zsh from directories other than the root devstack
directory.
Change-Id: Iab1a817b15d86144163b5094bb58f94b15c598a0
in the gate, we actually need to *not* roll back the requirements,
otherwise tempest can wedge the world because it runs under tox.
Make a variable that we can set to false in the gate to ensure that
we don't roll back the requirements changes.
Change-Id: I2b842ecc3f6e8b917dd721729640000bd7e7fb78
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
Since python-ironicclient was published to github it's
reasonable to include it to the default Ironic set up.
Change-Id: Id1d0209959a3b482977b5e710c0885c714ad7e10
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
- 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
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
Also introduces a new parameter INSTALL_TESTONLY_PACKAGES
in the stackrc with False as default value. Setting it to
True stack.sh will install all packages tagged with the tag
testonly in the package lists.
Includes needed packages for Ubuntu and Fedora
fixes bug #1203680
Change-Id: I911a6601819a34262853bba0658f6751148bfbec
When using the fake VIRT_DRIVER, we can launch an arbitrary number of
instances, the next step for performance testing is running an arbitrary
number of n-cpus. This can be done with the following settings in your localrc
VIRT_DRIVER=fake
NUMBER_FAKE_NOVA_COMPUTE=50
This can be used for things like measuring load from n-cpu's periodic tasks.
Change-Id: I40e0f05374e2c10c48ea6b8816ef6e7609b3dc80
* Adds support for vmdk files as glance images in upload_image function
* Set default image url to use for vsphere driver in stackrc
* Now using a more stable url
Change-Id: If6d45bc8dfd3c812ded5e1bcf69ad7ebd9b64f34
move the infrastructure projects to a dedicated lib/infra, which
gives us access to this during grenade upgrade tests.
Change-Id: I1e832792b61d41ad290b4b2ab26fe664e710cebd
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
11.10 simply does not exist, so this simply does not work. However,
devstack-gate tries to pre-cache all images referenced, so even though
we're not doing anything with this, it's breaking devstack-gate.
Change-Id: I64b03ed387f5205a885427498e8cf8c2a5b32b91