[opensuse-cloud] cleanvm tests activated
Hi all, I am happy to announce that we activated our "cleanvm" job in our openSUSE Jenkins instance: http://ci.opensuse.org/view/Cloud/job/cloud-cleanvm/ About the cleanvm test ----------------------- The "cleanvm" test launches a fresh (clean) VM with a JeOS image and installs the latest openstack packages. In this one-node-cloud a virtual machine is launched using lxc. The tool to create the one-node-cloud is qa_openstack.sh from our automation repository on github: https://github.com/SUSE-Cloud/automation/tree/master/scripts/jenkins Currently we run "cleanvm" for the Folsom package. Soon we will add support for Grizzly as well. Ciao, Daniel -- J. Daniel Schmidt <jdsn@suse.de> SUSE LINUX Products GmbH Research & Development Maxfeldstr. 5 HRB 16746 (AG Nürnberg) D-90409 Nürnberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On Thursday, March 14, 2013 14:43:25 J. Daniel Schmidt wrote:
Hi all,
I am happy to announce that we activated our "cleanvm" job in our openSUSE Jenkins instance:
http://ci.opensuse.org/view/Cloud/job/cloud-cleanvm/
About the cleanvm test ----------------------- The "cleanvm" test launches a fresh (clean) VM with a JeOS image and installs the latest openstack packages. In this one-node-cloud a virtual machine is launched using lxc.
The tool to create the one-node-cloud is qa_openstack.sh from our automation repository on github:
https://github.com/SUSE-Cloud/automation/tree/master/scripts/jenkins
Currently we run "cleanvm" for the Folsom package. Soon we will add support for Grizzly as well.
Which hypervisor is run? Can we use both Xen and KVM? Thanks for the setup, please keep us updated, Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On Thursday, March 14, 2013 02:50:19 PM Andreas Jaeger wrote:
About the cleanvm test ----------------------- The "cleanvm" test launches a fresh (clean) VM with a JeOS image and installs the latest openstack packages. In this one-node-cloud a virtual machine is launched using lxc.
Which hypervisor is run? Can we use both Xen and KVM?
Lxc is used as "hypervisor". The instance is already virtualized and another layer would be too much overhead. Please note: the aim of this job is to test the openstack packages and their configuration and not the hypervisor. Ciao, Daniel -- J. Daniel Schmidt <jdsn@suse.de> SUSE LINUX Products GmbH Research & Development Maxfeldstr. 5 HRB 16746 (AG Nürnberg) D-90409 Nürnberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On 03/14/2013 02:55 PM, J. Daniel Schmidt wrote:
Please note: the aim of this job is to test the openstack packages and their configuration and not the hypervisor.
But there are issues when using Xen at the moment. I would like to have tests for KVM, Xen and LXC. Should be doable using nested virtualization. Christian. -- Christian Berendt Cloud Computing Solution Architect Tel.: +49-171-5542175 Mail: berendt@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On Thursday, March 14, 2013 02:56:40 PM Christian Berendt wrote:
On 03/14/2013 02:55 PM, J. Daniel Schmidt wrote:
Please note: the aim of this job is to test the openstack packages and their configuration and not the hypervisor.
But there are issues when using Xen at the moment. I would like to have tests for KVM, Xen and LXC. Should be doable using nested virtualization.
Of course this needs to be tested. I am not saying that we should skip these tests. With the cleanvm test we want to have a quick way to test our openstack packages. Short roundtrips are essential to continuous integration. Testing KVM and Xen is done with our tool "mkcloud" (in the same git repo). We will migrate this job to our openSUSE Jenkins instance as well. Stay tuned. Ciao, Daniel -- J. Daniel Schmidt <jdsn@suse.de> SUSE LINUX Products GmbH Research & Development Maxfeldstr. 5 HRB 16746 (AG Nürnberg) D-90409 Nürnberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On Thursday, March 14, 2013 15:04:31 J. Daniel Schmidt wrote:
On 03/14/2013 02:55 PM, J. Daniel Schmidt wrote:
Please note: the aim of this job is to test the openstack packages and their configuration and not the hypervisor.
But there are issues when using Xen at the moment. I would like to have tests for KVM, Xen and LXC. Should be doable using nested virtualization. Of course this needs to be tested. I am not saying that we should skip
On Thursday, March 14, 2013 02:56:40 PM Christian Berendt wrote: these tests.
With the cleanvm test we want to have a quick way to test our openstack packages. Short roundtrips are essential to continuous integration.
Testing KVM and Xen is done with our tool "mkcloud" (in the same git repo). We will migrate this job to our openSUSE Jenkins instance as well. Stay tuned.
These jobs I guess - good ;) Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On 03/14/2013 02:43 PM, J. Daniel Schmidt wrote:
The "cleanvm" test launches a fresh (clean) VM with a JeOS image and installs the latest openstack packages. In this one-node-cloud a virtual machine is launched using lxc.
Using openSUSE or SLES11 SP2 inside the image? I would like to have tests for both distributions.
Currently we run "cleanvm" for the Folsom package. Soon we will add support for Grizzly as well.
Do you add support for C:O:M, too? Christian. -- Christian Berendt Cloud Computing Solution Architect Tel.: +49-171-5542175 Mail: berendt@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On Thursday, March 14, 2013 02:55:34 PM Christian Berendt wrote:
On 03/14/2013 02:43 PM, J. Daniel Schmidt wrote:
The "cleanvm" test launches a fresh (clean) VM with a JeOS image and installs the latest openstack packages. In this one-node-cloud a virtual machine is launched using lxc.
Using openSUSE or SLES11 SP2 inside the image? I would like to have tests for both distributions.
Currently we run "cleanvm" for the Folsom package. Soon we will add support for Grizzly as well.
Do you add support for C:O:M, too?
The Grizzly test will run against the C:OS:M project, yes. We could keep one job always running with Master once we branched off Grizzly to C:OS:G. I'd say it depends on the stability of Master after the Grizzly release and on the ressources we have/need. Ciao, Daniel -- J. Daniel Schmidt <jdsn@suse.de> SUSE LINUX Products GmbH Research & Development Maxfeldstr. 5 HRB 16746 (AG Nürnberg) D-90409 Nürnberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On 03/14/2013 02:43 PM, J. Daniel Schmidt wrote:
The "cleanvm" test launches a fresh (clean) VM with a JeOS image and installs the latest openstack packages. In this one-node-cloud a virtual machine is launched using lxc.
Do you run Tempest against the testing instance? Which way do you install OpenStack on top of the JeOS image? Whick components are used? Christian. -- Christian Berendt Cloud Computing Solution Architect Tel.: +49-171-5542175 Mail: berendt@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Looks like the cleanvm job is useless. The latest run is in state "SUCCESS", but there is at least one error for a created volume. ---snip--- 13:53:55 + nova volume-list 13:53:55 +--------------------------------------+--------+--------------+------+-------------+-------------+ 13:53:55 | ID | Status | Display Name | Size | Volume Type | Attached to | 13:53:55 +--------------------------------------+--------+--------------+------+-------------+-------------+ 13:53:55 | 5f989733-80ec-427c-9d42-6a0942bace0e | error | None | 1 | None | | 13:53:55 +--------------------------------------+--------+--------------+------+-------------+-------------+ ---snap--- -- Christian Berendt Cloud Computing Solution Architect Tel.: +49-171-5542175 Mail: berendt@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On Thursday, March 14, 2013 03:02:12 PM Christian Berendt wrote:
Looks like the cleanvm job is useless.
I would rather put it this way: There are still errors that do not let error out the script. These should definitely be fixed.
The latest run is in state "SUCCESS", but there is at least one error for a created volume.
---snip--- 13:53:55 | 5f989733-80ec-427c-9d42-6a0942bace0e | error | None ---snap---
Thanks for pointing this out. To fix this issue I switched to tgt (in the patterns) instead of iscsitarget and adapted the quickstart script to configure tgt for cinder. With this nova volume-list now reports "available": http://ci.opensuse.org/job/cloud-cleanvm/openstack_version=folsom,slave=clou... ci1/13/console Ciao, Daniel -- J. Daniel Schmidt <jdsn@suse.de> SUSE LINUX Products GmbH Research & Development Maxfeldstr. 5 HRB 16746 (AG Nürnberg) D-90409 Nürnberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Are there any plans testing against MySQL and not only PostgreSQL? Is the job available in a public repository? How is it possible to add new jobs to ci.openstack.org? How is the job triggered? Why only testing Debian as image? At least we should start a openSUSE. Christian. -- Christian Berendt Cloud Computing Solution Architect Tel.: +49-171-5542175 Mail: berendt@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On Thursday, March 14, 2013 03:05:21 PM Christian Berendt wrote:
Are there any plans testing against MySQL and not only PostgreSQL?
For cleanvm I guess we will just stay with PostgreSQL. But testing different kinds of configurations and optional features is the aim of the tool mkcloud. It installs a complete multinode cloud. As mkcloud requires crowbar as well we might need to adapt it to also support installation from repositories.
Is the job available in a public repository?
https://github.com/SUSE-Cloud/automation/tree/master/scripts/jenkins
How is it possible to add new jobs to ci.openstack.org?
Click on "New Job" - but only admins can do this, sorry :) If you need your own Jenkins instance you can get the packages here: http://pkg.jenkins-ci.org/opensuse/
How is the job triggered?
Automatically daily at 12:12.
Why only testing Debian as image? At least we should start a openSUSE.
Again, the test is about the openstack packages and not the hypervisor or the guests. The original author just happened to use a small Debian image. We did not replace it yet as it servers its purpose and is quite small. Ciao, Daniel -- J. Daniel Schmidt <jdsn@suse.de> SUSE LINUX Products GmbH Research & Development Maxfeldstr. 5 HRB 16746 (AG Nürnberg) D-90409 Nürnberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On 03/14/2013 03:29 PM, J. Daniel Schmidt wrote:
Again, the test is about the openstack packages and not the hypervisor or the guests. The original author just happened to use a small Debian image. We did not replace it yet as it servers its purpose and is quite small.
To summarize this: there are no running integration tests at the moment? Christian. -- Christian Berendt Cloud Computing Solution Architect Tel.: +49-171-5542175 Mail: berendt@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On Thursday, March 14, 2013 03:34:22 PM Christian Berendt wrote:
To summarize this: there are no running integration tests at the moment?
Right. Ciao, Daniel -- J. Daniel Schmidt <jdsn@suse.de> SUSE LINUX Products GmbH Research & Development Maxfeldstr. 5 HRB 16746 (AG Nürnberg) D-90409 Nürnberg GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
On 03/14/2013 03:05 PM, Christian Berendt wrote:
Are there any plans testing against MySQL and not only PostgreSQL?
Is the job available in a public repository?
How is the job triggered?
not yet, but it is pretty simple atm: freshvm cleanvm sleep 100 cloudsource=openstack$openstack_version # collection of patches not applied yet (bnc#807540) rsync -av /home/jenkins/files2vm/* root@cleanvm: ssh root@cleanvm "export cloudsource=$cloudsource; export OSHEAD=$oshead; export NONINTERACTIVE=1; init 3; curl https://raw.github.com/SUSE-Cloud/automation/master/scripts/jenkins/qa_openstack.sh|bash -x ; echo openstack testrun ret=$?" triggered daily at 12:12 atm
Why only testing Debian as image? At least we should start a openSUSE.
there were no good ready-to-use openSUSE cloud images that work with LXC (i.e. rootfs-only). If you have time to create such an image, we can use it there. And we need different images for xen/kvm where we might have suitable ones around. At least with 12.2 kernel-xen does not work under KVM because virtio drivers are missing. Ciao Bernhard M. -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
participants (4)
-
Andreas Jaeger
-
Bernhard M. Wiedemann
-
Christian Berendt
-
J. Daniel Schmidt