202 Commits

Author SHA1 Message Date
Zhenguo Niu
e385d1e030 Add support for django_openstack_auth
It would be useful for development, reviewing and testing to add
support for django_openstack_auth to devstack.

This change adds the integration tests to the openstack_auth
list of test: https://review.openstack.org/#/c/86528/

Change-Id: Ifbd336b83f6b2beb23996b599ec820232c13efdd
Closes-Bug: #1262121
2014-06-18 14:04:34 +08:00
Jenkins
5069ae9eef Merge "Add oslo.db" 2014-05-22 19:29:17 +00:00
Jenkins
d65f7a2858 Merge "Upgrade to cirros 0.3.2" 2014-05-19 19:20:00 +00:00
Victor Sergeyev
da945f3161 Add oslo.db
blueprint oslo-db-lib

Change-Id: If952099fa4dcf8638cad70d42a12ebcdac28de84
2014-04-30 19:08:43 +03:00
Bob Ball
527f21c7e7 Only use heat image where support
Glance will reject images that it doesn't understand, and only certain drivers can
use qcow2 images.  This means for systems without qcow2 support, devstack
will fail to run until this change is merged.

Change-Id: Ic92815f3d32880e987456c0428953dddaa81c94c
2014-04-28 11:54:21 +01:00
Sean Dague
4418d1fb5b update heat image to the 64bit one we cached previously
start caching the next 64bit update image to deal with heat
breaks we see from time to time.

Change-Id: If62840f4807151ada1598046fb7ad47c7210df12
2014-04-24 16:06:51 -04:00
Jenkins
e22df1771d Merge "VMware: update to latest cirros image" 2014-04-22 16:03:09 +00:00
Eric Brown
641722b85a VMware: update to latest cirros image
The default image used is cirros 0.3.0, which is out-dated and
does not support cloud-init for config drive.  By upgrading to
0.3.2, we gain config drive support testing in our tempest runs.

Change-Id: Ibe7f70f1fb457d210b891b19ba3b5be94b2343f0
2014-04-21 08:49:35 -07:00
Sean Dague
b623860c37 add Fedora x86_64 image for nodepool
Change-Id: I54fdc81e2a233fdcf90534aff6be7984e28f6133
2014-04-17 21:56:53 -04:00
Dean Troyer
a79617c12a Prevent the use of 'swift' in ENABLED_SERVICES
This is not supported and we missed a comment in stackrc that still
said otherwise.  Fix the comment and abort in the sanity check section
if 'swift' is detected in ENABLED_SERVICES.

Change-Id: I78222d7ee2ea8a281962129d5bcf06c118469510
2014-04-13 18:22:53 -05:00
Sean Dague
ad13ba2917 download fedora x86_64 image if heat is enabled
clean up the logic around producing a valid cfn image for heat
testing. If heat is enabled, add the f20 x86_64 imageurl to the
list of images that we support, and set that as the tempest
orchestration image.

The crux of this change is left commented out for now because we
need a two phase update of nodepool content before we can move
away from the old image (otherwise fedora mirrors will kill us
with bad downloads).

Change-Id: I1da9f259a3267b1bd27e9899755204c8fff41153
2014-04-03 17:28:21 -04:00
Chmouel Boudjnah
43577d5a17 Swift3 has been moved to stackforge.
Use that URL

Change-Id: Iae1a7068043846294fe208a10a1de23a35f337e0
2014-03-25 23:45:43 +00:00
Alexander Gordeev
f177f72623 Remove any lib/baremetal usage for ironic deploy
Get rid of lib/baremetal usage so that it can be simply
deleted when that time comes:
Copy upload_baremetal_deploy function to lib/ironic;
Rename it to upload_baremetal_ironic_deploy;
Remove any $BM_* variables references from lib/ironic;
Rename $BM_IMAGE_BUILD_* environment variables to $DIB_*;
Improve logic around deploy k&r building;
Add check for $OFFLINE mode;

Change-Id: I4302b32328df9156bf8738773a127db914e8edde
2014-03-21 14:51:59 +04:00
Attila Fazekas
2d4c8da803 Upgrade to cirros 0.3.2
Cirros 0.3.2 is fixing the host name setting issue, which
is required for turning on the tempest instance validation tests.

Change-Id: I1b87740ab02c4eb0a8df653a35e1f85d40abda51
Related-Bug: #1132686
2014-03-20 23:12:58 +01:00
Alexander Gordeev
06fb29c661 Integration testing preparation for Ironic
Add ability to create/register qemu vms for Ironic testing purposes

Implements bp:deprecate-baremetal-driver

Change-Id: If452438fcc0ff562531b33a36cd189b235654b48
2014-03-14 13:44:00 -07:00
Jenkins
509140e25c Merge "remove docker from devstack" 2014-03-14 14:33:19 +00:00
Sean Dague
26c5a2252e change the vmdk to the one used in VMWare ci
The debian image that defaults to being using with vmware is huge,
and it turns out it's not actually used in VMWare ci so we don't
really know if it's working. Instead use the vmdk that is used
in VMWare ci, which we know will boot, as we get results everyday.

Change-Id: I014746af293852525e2bd128c4d19f5889ecd55d
2014-03-13 09:57:08 -04:00
Sean Dague
7d4c7e09b4 remove docker from devstack
with I1c9bea2fdeebc4199c4f7d8fca4580a6fb7fed5b nova removed
docker from it's driver tree.

We shouldn't have driver support inside of devstack that's not
part of upstream projects (this has been a line we've been
pretty clear on with Neutron drivers in the past).

Remove docker driver accordingly.

Change-Id: Ib91d415ea1616d99a5c5e7bc3b9015392fda5847
2014-03-12 08:05:08 -04:00
Eric Windisch
e994f5708d Remove bm_poseur, unmaintained and obsolete
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
2014-02-28 15:21:38 -05:00
Jenkins
cf7237c505 Merge "Add GIT_TIMEOUT variable to watch git operations" 2014-02-27 04:31:40 +00:00
Ian Wienand
d53ad0b07d Add GIT_TIMEOUT variable to watch git operations
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
2014-02-24 09:35:19 +11:00
Davanum Srinivas
f5aa05c0ab Add support for oslo.vmware
Change-Id: I2162a339b1869c27850afcda6be3c4e11de94e0e
2014-02-23 07:37:40 -08:00
Jenkins
5d920e02e3 Merge "add heat to the default devstack service list" 2014-02-20 15:10:44 +00:00
Jenkins
c8dcb2fd5e Merge "Add cliff, pycadf, stevedore, & taskflow from oslo" 2014-02-17 16:17:38 +00:00
Jenkins
293a405450 Merge "Set DEFAULT_IMAGE_NAME for Docker hypervisor" 2014-02-16 00:14:35 +00:00
Jenkins
20047053be Merge "Move install responsibilities to domU" 2014-02-15 02:17:20 +00:00
Sean Dague
a42541a9fb add heat to the default devstack service list
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
2014-02-13 09:41:33 -05:00
Eric Windisch
3f918a4541 Set DEFAULT_IMAGE_NAME for Docker hypervisor
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
2014-02-12 13:35:00 -07:00
Jenkins
7719d4aca8 Merge "Begin is_service_enabled() cleanup" 2014-02-12 07:19:11 +00:00
Doug Hellmann
6b1cb10809 Add cliff, pycadf, stevedore, & taskflow from oslo
Oslo has adopted 4 libraries that were previously on
stackforge, so we can now install them from source.

Change-Id: I6b6e20a7884b47ade466fc38641a5ac1a5f3e146
2014-02-10 09:59:43 -08:00
Jenkins
2219fdb587 Merge "Use github for swift3." 2014-02-07 17:12:17 +00:00
Dean Troyer
e4fa721322 Begin is_service_enabled() cleanup
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
2014-02-07 10:06:21 -06:00
Mate Lakat
d15c8a0824 Move install responsibilities to domU
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
2014-02-05 13:48:35 +00:00
Chmouel Boudjnah
864902ed01 Use github for swift3.
swift3 is not on OpenStack infra (yet) use the github url instead.

Closes-Bug: #1275923
Change-Id: I0cc393f93b65dcf8642b3a35925eb9eba3c2e1eb
2014-02-03 21:01:33 +00:00
Jenkins
040cd59350 Merge "Make MySQL query logging optional" 2014-02-01 13:47:50 +00:00
Jeremy Stanley
c4f47345a5 Make MySQL query logging optional
* 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
2014-01-31 20:39:10 +00:00
Dean Troyer
4237f590b7 Generate Tempest service list rather than hard-code it
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
2014-01-29 17:25:45 -06:00
Mate Lakat
c75c78ad5d Add xenserver image
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
2014-01-21 15:03:30 +00:00
Dean Troyer
9fc8792b0a Robustify service shutdown
* 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
2014-01-11 11:46:19 -06:00
Thierry Carrez
0915e0c6bd Add oslo.rootwrap to devstack gate
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
2014-01-02 15:05:41 +01:00
Jenkins
7b527b2efc Merge "HEAT_FETCHED_TEST_IMAGE may not be defined in some cases." 2013-12-21 12:26:45 +00:00
Steve Baker
af72b68ab0 Use final release of Fedora 20 for heat test image
The image file has not changed, but the URL now points to
the release directory for Fedora 20.

Change-Id: Ie1a9bcc7da634996b25ef7f6fc694398c632549d
2013-12-20 08:39:12 +13:00
Bob Ball
cff1c7d370 HEAT_FETCHED_TEST_IMAGE may not be defined in some cases.
Some scripts that source stackrc use set -u, which will error
when unknown variables are accessed

Change-Id: I5af2d58475e1793dfa728b7ce9180fcbba1145e9
2013-12-18 13:20:40 +00:00
Steve Baker
8c1b95eef1 Add Fedora 20 to IMAGE_URLS
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
2013-12-16 11:22:48 +13:00
Ana Krivokapic
1bbb0ca9c6 Fix noVNC git repo
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
2013-12-04 18:54:11 +01:00
Steve Kowalik
047cac56e1 Switch the base URL to git.openstack.org
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
2013-11-16 20:11:35 +11:00
Jenkins
b96a532455 Merge "zsh openrc compatibility" 2013-10-31 14:16:50 +00:00
Peter Feiner
388e36c98b zsh openrc compatibility
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
2013-10-25 12:00:06 -04:00
Jenkins
52a5c3aa84 Merge "add lib/stackforge to let us test wsme / pecan from git" 2013-10-25 15:41:34 +00:00
Sean Dague
fd98edb469 create an UNDO_REQUIREMENTS variable
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
2013-10-24 15:09:47 -04:00