Just search in the path where python searches for modules.
Let's use python for searching, it knows the exact rules.
Change-Id: I659f734c418ab5e56f4956f418af48dfbe054c8a
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
* Without auth config, the proxy will return 500 errors on
cloud-init requests, which will cause VM connectivity
checks to fail.
* A cleaner fix would be for the metadata proxy to reuse the
configuration from the keystone_authtoken section of
neutron.conf, but I chose the easier route because of a
pending switch from REST to RPC communication (RPC won't
need the auth config).
* Fixes bug 1210664
Change-Id: Iaa3c74f5ada2404119c44c8cbdad380eda158f66
This requires HEAT_CREATE_TEST_IMAGE to be set for any images
to be created.
If the file (files/fedora-vm-heat-cfntools-tempest.qcow2) already
exists then disk-image-create will not be called, and the existing
image file will be registered with glance. This is most likely to
happen in the following scenarios:
- a second run of stack.sh
- the image has been pre-built elsewhere (such as during devstack-gate
image building)
Change-Id: I276573a20927e72f2cb68784f655c1ba1913ae8a
If the user had oslo.config installed prior to us setting up the
oslo.config out of git they can get themselves into this very funny
situation where pip doesn't see oslo.config 1.1.x, however some
packages might. This manifests itself as a user error trying to
start nova-api which uses DeprecatedOption, not in oslo.config 1.1.x
Because of the funny state pip is in, you can't uninstall oslo.config.
So in these situations, if we see old oslo.config in the filesystem,
pip install / uninstall it to ensure that everyone ends up using the
git version instead.
To reduce the amount of user confusion, do this on every
install_oslo for a while, which we can purge after Havana ships.
Change-Id: If92073be5a431840701c952a194e63a7c452c9ca
With tempest moving to testr (serially currently) the log level is no
longer defaulting to debug as it did with nose. To get the same level
of verbosity in the logging as when running with nose this commit
sets the debug flag on tempest.
Change-Id: I6acd57be0f8188d31825d88471ba9883ebb30519
Support both SQL and templated keystone backend. This will add an
additional endpoint to go with v1.
Change-Id: I19168d55c2ffad2b1cd668b6c1341dc8e49e9c1f
The following localrc will launch only heat in standalone mode
and allow it to provision within the openstack specified by
the configured keystone endpoint:
HEAT_STANDALONE=True
ENABLED_SERVICES=rabbit,mysql,heat,h-api,h-api-cfn,h-api-cw,h-eng
KEYSTONE_SERVICE_HOST=...
KEYSTONE_AUTH_HOST=...
Change-Id: I0d8a541fc9d592577423b074c789829f8b8d6702
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
Add an ability to ask keystone about users and groups
through keystoneclient in cinder.
blueprint volume-acl
Change-Id: Ice261e9709833d057722b4f13c404df54e10b204
The ML2 code in devstack was not correctly configuring the mechanism_drivers
when asked to do so. This corrects the typo in the variable assignment, and
also actually sets these in the plugin configuration file.
Fixes bug 1208557
Change-Id: I3746ca099f45d44dcf1cc2ca1c3726745b8e8a1d
Adjust DevStack to the current DIB's naming to kernel/ramdisk.
BM_HOST_CURRENT_KERNEL is removed since the kernel is extracted from
a diskimage with the ramdisk and the host's kernel is not used.
BM_BUILD_DEPLOY_RAMDISK is added to control whether use DIB or not.
If you set BM_BUILD_DEPLOY_RAMDISK=False, you must BM_DEPLOY_KERNEL
and BM_DEPLOY_RAMDISK to point existing deploy kernel/ramdisk.
Fixes bug 1207719
Change-Id: I62af0b1942b07ac12665c0ed3619d64c1cccbe1f
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
DHCP, L3 and Metadata agents' config files no longer need to
duplicate this info; it's available in neutron.conf
Change-Id: I7bea25d1c2b9249ddacce3f4638f7a8ed4f43197
This commit will correctly set the tempest output logging to dump
all of tempest logs into a tempest.log file in
$DEST/tempest/tempest.log. This will also fix the logging for
tempest in the gate so it will no longer print every log message on
the console.
Fixes bug 1207066
Change-Id: I91f2ee781c4a7a18c561ea3e3b26832b97431464
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