Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-06-07 Thread Michael Mraka
Johannes Renner wrote: % On 06/04/2012 08:47 PM, Miroslav Suchy wrote: % So here is the latest version of the patches. % % Committed (with some white space and check style fixes). Thanks for contribution. % % Thank you very much, here is already a first follow up patch: % % Replace default

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-06-06 Thread Johannes Renner
On 06/04/2012 08:47 PM, Miroslav Suchy wrote: So here is the latest version of the patches. Committed (with some white space and check style fixes). Thanks for contribution. Thank you very much, here is already a first follow up patch: Replace default string with the new constant

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-06-04 Thread Miroslav Suchy
On 29.5.2012 17:35, Johannes Renner wrote: . Not sure if I solved your quiz though, Yes, you did :) So here is the latest version of the patches. Committed (with some white space and check style fixes). Thanks for contribution. Mirek ___

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-23 Thread Duncan Mac-Vicar P.
On 05/16/2012 01:33 PM, Johannes Renner wrote: http://downloads.sourceforge.net/simple/%{name}-%{version}.zip Thanks, I didn't know that. Changed it in our specfile as well. Regards, Johannes We don't do it that way all the time, because sometimes we use bznew and convert upstreams tar.gz

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-21 Thread Uwe Gansert
On 18.05.2012 17:11, Miroslav Suchy wrote: Why default format (DiskFormat) does not show up in list of images. I can see XEN, VMX in list, but not DiskFormat (which is probably usefull for KVM). Additionally I could not see Preloaded ISO and OVF image. Is it filtered out on purposse. the

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-21 Thread Miroslav Suchý
On 05/21/2012 10:35 AM, Uwe Gansert wrote: the reason we only support kvm and xen images Ehm, how do you support KVM? I anticipate that for KVM is supposed DiskImage format. But it does not show up in Spacewalk WebUI, although it is created in SuseStudio. -- Miroslav Suchy Red Hat

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-21 Thread Uwe Gansert
On 21.05.2012 13:19, Miroslav Suchý wrote: the reason we only support kvm and xen images Ehm, how do you support KVM? I anticipate that for KVM is supposed DiskImage format. But it does not show up in Spacewalk WebUI, although it is created in SuseStudio. with the vmware/virtualbox/kvm

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-21 Thread Miroslav Suchý
On 05/21/2012 01:45 PM, Uwe Gansert wrote: On 21.05.2012 13:19, Miroslav Suchý wrote: the reason we only support kvm and xen images Ehm, how do you support KVM? I anticipate that for KVM is supposed DiskImage format. But it does not show up in Spacewalk WebUI, although it is created in

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-21 Thread Miroslav Suchý
On 05/18/2012 05:11 PM, Miroslav Suchy wrote: I still have to test the client part. in spec: Requires: python-curl In Fedora/RHEL the package is called python-pycurl, please fix it using %if After image is scheduled, you land on: /rhn/systems/details/virtualization/VirtualGuestsList.do I

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-21 Thread Uwe Gansert
On 21.05.2012 14:15, Miroslav Suchý wrote: Any problem with DiskImage? Can you add it to list of valid Images? hm, it's not so easy to add and I'm not sure if you really want that. The disk image-type in Studio is an image type that boots, formats a harddisk and then dumps itself onto the

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-21 Thread Johannes Renner
On 05/21/2012 02:17 PM, Miroslav Suchý wrote: On 05/18/2012 05:11 PM, Miroslav Suchy wrote: I still have to test the client part. in spec: Requires: python-curl In Fedora/RHEL the package is called python-pycurl, please fix it using %if No problem. After image is scheduled, you land

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-21 Thread Miroslav Suchy
On 21.5.2012 15:29, Uwe Gansert wrote: The vmdk image (that we already support) is a complete virtual harddisk that contains the image and can be booted directly by kvm. Aha, I just find that too. It is not intuitive IMHO. But OK. Mirek ___

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-18 Thread Miroslav Suchy
In patch 0001 - schema db - you are missing upgrades for table suseCredentialsType. And upgrades for table suseCredentials differs from clean install. Mirek ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-18 Thread Johannes Renner
On 05/18/2012 02:45 PM, Miroslav Suchy wrote: In patch 0001 - schema db - you are missing upgrades for table suseCredentialsType. And upgrades for table suseCredentials differs from clean install. Oh yeah, sorry, I forgot to revise the upgrade files. I can come up with another patch fixing

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-18 Thread Miroslav Suchy
On 18.5.2012 16:01, Johannes Renner wrote: Oh yeah, sorry, I forgot to revise the upgrade files. I can come up with another patch fixing that, or maybe rather with a new version of 0001. New version of 0001. But hold on, I will send another issues to fix, so you can fix it in one bunch.

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-18 Thread Miroslav Suchy
In WebUI patch please do s/SUSE Manager/@@PRODUCT_NAME@@/ When I enter credentials for Suse studio they are not validated. Can you later add some code to do some validation? I.e. do tome test connection and warn if it do not work? Why default format (DiskFormat) does not show up in list of

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-16 Thread Johannes Renner
On 05/15/2012 09:29 PM, Miroslav Suchy wrote: On 15.5.2012 14:28, Johannes Renner wrote: On 05/15/2012 01:25 PM, Miroslav Suchy wrote: +Requires: susestudio-java-client This will require susestudio-java-client rpm? It is not present in neither in Fedora nor in jpackage. Can I take:

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-16 Thread Miroslav Suchy
On 16.5.2012 11:01, Johannes Renner wrote: I guess we could have some %if (0%?rhel/?suse_version) %else ... though, if you prefer that. Ok, I will put there %if and for license as well. simple-xml.src: W: invalid-url Source0: simple-xml-2.6.2.zip Fixed that and put a URL. Not a valid one

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-16 Thread Johannes Renner
On 05/16/2012 12:49 PM, Miroslav Suchy wrote: On 16.5.2012 11:01, Johannes Renner wrote: I guess we could have some %if (0%?rhel/?suse_version) %else ... though, if you prefer that. Ok, I will put there %if and for license as well. Good, let me see how that looks like and I will change add

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-16 Thread Miroslav Suchy
On 16.5.2012 13:33, Johannes Renner wrote: Good, let me see how that looks like and I will change add it to our package as well. --- simple-xml.spec.orig2012-05-16 16:36:42.0 +0200 +++ simple-xml.spec 2012-05-16 15:20:19.0 +0200 @@ -21,8 +21,13 @@ Summary:

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-15 Thread Miroslav Suchy
On 15.5.2012 11:39, Johannes Renner wrote: Hi Miroslav, attached please find a new version of our patches. We considered most of your advices, see my comments below and the patches itself, of course. Hi, I spent just 10 minutes on preliminary review. Please give me few days for complete

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-15 Thread Johannes Renner
On 05/15/2012 01:25 PM, Miroslav Suchy wrote: +Requires: susestudio-java-client This will require susestudio-java-client rpm? It is not present in neither in Fedora nor in jpackage. Can I take:

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-05-15 Thread Miroslav Suchy
On 15.5.2012 14:28, Johannes Renner wrote: On 05/15/2012 01:25 PM, Miroslav Suchy wrote: +Requires: susestudio-java-client This will require susestudio-java-client rpm? It is not present in neither in Fedora nor in jpackage. Can I take:

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-04-13 Thread Miroslav Suchý
On 04/13/2012 10:24 AM, Uwe Gansert wrote: +def _md5(path): Could not you flip to sha1 or sha256?: I know that md5 is not state of the are anymore but we need to use that because Studio provides the checksum in md5. We should change that in Studio but for now it's like that. OK. I expected

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-04-05 Thread Miroslav Suchý
On 03/30/2012 04:46 PM, Johannes Renner wrote: On 03/27/2012 02:53 PM, Miroslav Suchý wrote: I'm looking forward to see your patches. Ok, here they are. They apply to spacewalk master and I tried to not forget anything. The last patch is about fixing checkstyle issues only, while the other

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-04-05 Thread Miroslav Suchý
On 03/30/2012 04:46 PM, Johannes Renner wrote: Oh yes, there is two new required jar files, while RPM packages + spec files can be found here: -https://build.opensuse.org/package/show?package=susestudio-java-clientproject=Java%3Abase

[Spacewalk-devel] Deployment of images built with SUSE Studio

2012-03-27 Thread Johannes Renner
Hello, We recently added a feature to our branch of Spacewalk that enables users to deploy images that were built with SUSE Studio [1] to registered virtual host systems. The feature involves a new action type to be put in table rhnActionType, which we chose to give the ID 500 for now (just to

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-03-27 Thread Christian Berendt
Hi Johannes. We recently added a feature to our branch of Spacewalk that enables users to deploy images that were built with SUSE Studio [1] to registered virtual host systems. Will this feature be committed to the upstream or will it only be available in the SUSE branch? Bye, Christian. --

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-03-27 Thread Miroslav Suchý
On 03/27/2012 10:27 AM, Johannes Renner wrote: The feature involves a new action type to be put in table rhnActionType, which we chose to give the ID 500 for now (just to make sure there will be no clash in the near future). Would you maybe want to provide us with an ID for this action that we

Re: [Spacewalk-devel] Deployment of images built with SUSE Studio

2012-03-27 Thread Johannes Renner
On 03/27/2012 11:35 AM, Miroslav Suchý wrote: On 03/27/2012 10:27 AM, Johannes Renner wrote: The feature involves a new action type to be put in table rhnActionType, which we chose to give the ID 500 for now (just to make sure there will be no clash in the near future). Would you maybe