[opensuse-kubic] Can we have vagrant boxes for kubic and MicroOS?
Hi all, I just had a chat with Dan Čermák because I think it would be great to not only have Tumbleweed and (hopefully soon) Leap vagrant boxes, but rather all of our "products". So, can we have official vagrant boxes for Kubic and MicroOS? Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@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
On Tue, 2019-11-12 at 13:38 +0100, Johannes Kastl wrote:
Hi all,
I just had a chat with Dan Čermák because I think it would be great to not only have Tumbleweed and (hopefully soon) Leap vagrant boxes, but rather all of our "products".
So, can we have official vagrant boxes for Kubic and MicroOS?
Kind Regards, Johannes
Hi Johannes, Is there something wrong with the official vagrant boxes already available from the official image repository at https://download.opensuse.org/tumbleweed/appliances/ ? eg. https://download.opensuse.org/tumbleweed/appliances/openSUSE-MicroOS.x86_64-... https://download.opensuse.org/tumbleweed/appliances/openSUSE-MicroOS.x86_64-... https://download.opensuse.org/tumbleweed/appliances/openSUSE-MicroOS.x86_64-... -- Richard Brown Linux Distribution Engineer - Future Technology Team Phone +4991174053-361 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, D-90409 Nuernberg (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer -- To unsubscribe, e-mail: opensuse-kubic+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kubic+owner@opensuse.org
Hi Richard, Am 12.11.19 um 13:43 schrieb Richard Brown:
Is there something wrong with the official vagrant boxes already available from the official image repository at https://download.opensuse.org/tumbleweed/appliances/ ?
Sorry, let me rephrase my question: Can we have the existing vagrant boxes available in Vagrant Cloud? https://app.vagrantup.com/opensuse/ lists only the Tumbleweed one. Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@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
On Tue, 2019-11-12 at 13:47 +0100, Johannes Kastl wrote:
Hi Richard,
Am 12.11.19 um 13:43 schrieb Richard Brown:
Is there something wrong with the official vagrant boxes already available from the official image repository at https://download.opensuse.org/tumbleweed/appliances/ ?
Sorry, let me rephrase my question:
Can we have the existing vagrant boxes available in Vagrant Cloud? https://app.vagrantup.com/opensuse/ lists only the Tumbleweed one.
Kind Regards, Johannes
Oh! I have absolutely no objection to that, infact I think that would be really cool, but I have no knowledge how those Tumbleweed images get there :) Anything I can do to help? -- Richard Brown Linux Distribution Engineer - Future Technology Team Phone +4991174053-361 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, D-90409 Nuernberg (HRB 36809, AG Nürnberg) Geschäftsführer: Felix Imendörffer -- To unsubscribe, e-mail: opensuse-kubic+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kubic+owner@opensuse.org
Am 12.11.19 um 13:48 schrieb Richard Brown:
Oh! I have absolutely no objection to that, infact I think that would be really cool, but I have no knowledge how those Tumbleweed images get there :)
Glad to hear that. :-)
Anything I can do to help?
I'll chat to Dan on what needs to be done, and who needs to take care of what and how often. Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@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
Richard Brown <rbrown@suse.de> writes:
On Tue, 2019-11-12 at 13:47 +0100, Johannes Kastl wrote:
Hi Richard,
Am 12.11.19 um 13:43 schrieb Richard Brown:
Is there something wrong with the official vagrant boxes already available from the official image repository at https://download.opensuse.org/tumbleweed/appliances/ ?
Sorry, let me rephrase my question:
Can we have the existing vagrant boxes available in Vagrant Cloud? https://app.vagrantup.com/opensuse/ lists only the Tumbleweed one.
Kind Regards, Johannes
Oh! I have absolutely no objection to that, infact I think that would be really cool, but I have no knowledge how those Tumbleweed images get there :)
Anything I can do to help?
Yes, ask me to link them for you ;-) I'd need the links to the json files in the `boxes/` subdirectory on download.o.o and if you wish that the boxes have different names, then that one too (otherwise the openSUSE-MicroOS.x86_64-Vagrant box will appear as `opensuse/openSUSE-MicroOS.x86_64-Vagrant` on vagrantcloud, which I find terribly verbose). I'll then add the boxes to my Jenkins publishing pipeline. Cheers, Dan -- Dan Čermák <dcermak@suse.com> Software Engineer Development tools SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 Nuremberg Germany (HRB 36809, AG Nürnberg) Managing Director: Felix Imendörffer
Hi, Am Dienstag, 12. November 2019, 14:03:45 CET schrieb Dan Cermak:
Richard Brown <rbrown@suse.de> writes:
On Tue, 2019-11-12 at 13:47 +0100, Johannes Kastl wrote:
Hi Richard,
Am 12.11.19 um 13:43 schrieb Richard Brown:
Is there something wrong with the official vagrant boxes already available from the official image repository at https://download.opensuse.org/tumbleweed/appliances/ ?
Sorry, let me rephrase my question:
Can we have the existing vagrant boxes available in Vagrant Cloud? https://app.vagrantup.com/opensuse/ lists only the Tumbleweed one.
Kind Regards, Johannes
Oh! I have absolutely no objection to that, infact I think that would be really cool, but I have no knowledge how those Tumbleweed images get there :)
Anything I can do to help?
Yes, ask me to link them for you ;-)
I'd need the links to the json files in the `boxes/` subdirectory on download.o.o and if you wish that the boxes have different names, then that one too (otherwise the openSUSE-MicroOS.x86_64-Vagrant box will appear as `opensuse/openSUSE-MicroOS.x86_64-Vagrant` on vagrantcloud, which I find terribly verbose).
opensuse/MicroOS: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8... opensuse/Kubic: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8... opensuse/MicroOS-ContainerHost: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8... The file names don't seem to perfectly match, I assume that's a quirk of OBS staticlinks combined with the vagrant repotype. As long as the weirdness stays consistent this should be fine though. Thanks, Fabian
I'll then add the boxes to my Jenkins publishing pipeline.
Cheers,
Dan
-- Dan Čermák <dcermak@suse.com> Software Engineer Development tools SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 Nuremberg Germany
(HRB 36809, AG Nürnberg) Managing Director: Felix Imendörffer
-- To unsubscribe, e-mail: opensuse-kubic+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kubic+owner@opensuse.org
Fabian Vogt <fvogt@suse.de> writes:
Hi,
Am Dienstag, 12. November 2019, 14:03:45 CET schrieb Dan Cermak:
Richard Brown <rbrown@suse.de> writes:
On Tue, 2019-11-12 at 13:47 +0100, Johannes Kastl wrote:
Hi Richard,
Am 12.11.19 um 13:43 schrieb Richard Brown:
Is there something wrong with the official vagrant boxes already available from the official image repository at https://download.opensuse.org/tumbleweed/appliances/ ?
Sorry, let me rephrase my question:
Can we have the existing vagrant boxes available in Vagrant Cloud? https://app.vagrantup.com/opensuse/ lists only the Tumbleweed one.
Kind Regards, Johannes
Oh! I have absolutely no objection to that, infact I think that would be really cool, but I have no knowledge how those Tumbleweed images get there :)
Anything I can do to help?
Yes, ask me to link them for you ;-)
I'd need the links to the json files in the `boxes/` subdirectory on download.o.o and if you wish that the boxes have different names, then that one too (otherwise the openSUSE-MicroOS.x86_64-Vagrant box will appear as `opensuse/openSUSE-MicroOS.x86_64-Vagrant` on vagrantcloud, which I find terribly verbose).
opensuse/MicroOS: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8...
The MicroOS box is up on Vagrant Cloud: https://app.vagrantup.com/opensuse/boxes/MicroOS and should be automatically updated on each new release.
opensuse/Kubic: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8... opensuse/MicroOS-ContainerHost: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8...
Unfortunately there is a problem with these two: the version element in the json file is invalid. Vagrant and Vagrant Cloud require the version to be a valid gem version, i.e. x.y.z where x, y and z are all integers. This makes both boxes unusable for vagrant. If you use the following Vagrantfile: --8<---------------cut here---------------start------------->8--- Vagrant.configure("2") do |config| config.vm.box = "openSUSE-MicroOS.x86_64.json" config.vm.box_url = "http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8..." end --8<---------------cut here---------------end--------------->8--- and run: `vagrant up`, then you'll get this error: dan@Boreas:/tmp/test:[0]> vagrant up Bringing machine 'default' up with 'libvirt' provider... ==> default: Box 'openSUSE-MicroOS.x86_64.json' could not be found. Attempting to find and install... default: Box Provider: libvirt default: Box Version: >= 0 ==> default: Loading metadata for box 'http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8...' default: URL: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8... A version of the box you're loading is formatted in a way that Vagrant cannot parse: 'ContainerHost.20191112'. Please reformat the version to be properly formatted. It should be in the format of X.Y.Z. I am not sure why the version field has this value though. It appears to be set correctly in the kiwi recipe on OBS, so maybe this is a bug/quirk in OBS' publisher? Cheers, Dan -- Dan Čermák <dcermak@suse.com> Software Engineer Development tools SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 Nuremberg Germany (HRB 36809, AG Nürnberg) Managing Director: Felix Imendörffer
Hi, Am Donnerstag, 14. November 2019, 23:30:11 CET schrieb Dan Cermak:
Fabian Vogt <fvogt@suse.de> writes:
Hi,
Am Dienstag, 12. November 2019, 14:03:45 CET schrieb Dan Cermak:
Richard Brown <rbrown@suse.de> writes:
On Tue, 2019-11-12 at 13:47 +0100, Johannes Kastl wrote:
Hi Richard,
Am 12.11.19 um 13:43 schrieb Richard Brown:
Is there something wrong with the official vagrant boxes already available from the official image repository at https://download.opensuse.org/tumbleweed/appliances/ ?
Sorry, let me rephrase my question:
Can we have the existing vagrant boxes available in Vagrant Cloud? https://app.vagrantup.com/opensuse/ lists only the Tumbleweed one.
Kind Regards, Johannes
Oh! I have absolutely no objection to that, infact I think that would be really cool, but I have no knowledge how those Tumbleweed images get there :)
Anything I can do to help?
Yes, ask me to link them for you ;-)
I'd need the links to the json files in the `boxes/` subdirectory on download.o.o and if you wish that the boxes have different names, then that one too (otherwise the openSUSE-MicroOS.x86_64-Vagrant box will appear as `opensuse/openSUSE-MicroOS.x86_64-Vagrant` on vagrantcloud, which I find terribly verbose).
opensuse/MicroOS: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8...
The MicroOS box is up on Vagrant Cloud: https://app.vagrantup.com/opensuse/boxes/MicroOS
and should be automatically updated on each new release.
opensuse/Kubic: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8... opensuse/MicroOS-ContainerHost: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8...
Unfortunately there is a problem with these two: the version element in the json file is invalid. Vagrant and Vagrant Cloud require the version to be a valid gem version, i.e. x.y.z where x, y and z are all integers.
This makes both boxes unusable for vagrant. If you use the following Vagrantfile: --8<---------------cut here---------------start------------->8--- Vagrant.configure("2") do |config| config.vm.box = "openSUSE-MicroOS.x86_64.json" config.vm.box_url = "http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8..." end --8<---------------cut here---------------end--------------->8--- and run: `vagrant up`, then you'll get this error:
dan@Boreas:/tmp/test:[0]> vagrant up Bringing machine 'default' up with 'libvirt' provider... ==> default: Box 'openSUSE-MicroOS.x86_64.json' could not be found. Attempting to find and install... default: Box Provider: libvirt default: Box Version: >= 0 ==> default: Loading metadata for box 'http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8...' default: URL: http://download.opensuse.org/tumbleweed/appliances/boxes/openSUSE-MicroOS.x8... A version of the box you're loading is formatted in a way that Vagrant cannot parse: 'ContainerHost.20191112'. Please reformat the version to be properly formatted. It should be in the format of X.Y.Z.
I am not sure why the version field has this value though. It appears to be set correctly in the kiwi recipe on OBS, so maybe this is a bug/quirk in OBS' publisher?
Yes, looks like yet another issue with staticlinks+vagrant. Can you open a bug report with details on https://github.com/openSUSE/open-build-service? Thanks, Fabian
Cheers,
Dan
-- To unsubscribe, e-mail: opensuse-kubic+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kubic+owner@opensuse.org
participants (4)
-
Dan Cermak
-
Fabian Vogt
-
Johannes Kastl
-
Richard Brown