This fixes the web application timeout issue introduced in 1.6.1 that Stephan reported. No other changes are included on top of 1.6.1
http://people.fedoraproject.org/~mdehaan/files/cobbler/
--Michael
Thanks for this release!
Is there something wrong with the source RPM?
stephan@hell:~ $ wget http://people.fedoraproject.org/~mdehaan/files/cobbler/cobbler-1.6.2-1.src.r... --2009-03-30 21:32:15-- http://people.fedoraproject.org/~mdehaan/files/cobbler/cobbler-1.6.2-1.src.r... Resolving people.fedoraproject.org... 128.197.185.45 Connecting to people.fedoraproject.org|128.197.185.45|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 661487 (646K) [application/x-rpm] Saving to: `cobbler-1.6.2-1.src.rpm'
100%[=====================================================================================================================================>] 661,487 328K/s in 2.0s
2009-03-30 21:32:18 (328 KB/s) - `cobbler-1.6.2-1.src.rpm' saved [661487/661487]
stephan@hell:~ $ sudo rpm -i cobbler-1.6.2-1.src.rpm [sudo] password for stephan: error: cobbler-1.6.2-1.src.rpm: not an rpm package (or package manifest):
-Stephan
Michael DeHaan wrote:
This fixes the web application timeout issue introduced in 1.6.1 that Stephan reported. No other changes are included on top of 1.6.1
http://people.fedoraproject.org/~mdehaan/files/cobbler/
--Michael _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
On Mar 30, 2009, at 12:34 PM, Stephan Huiser wrote:
Thanks for this release!
Is there something wrong with the source RPM?
Looks like it accidentally got replaced with a gzipped version of the tarball.
[whiteley@mock]~% file cobbler-1.6.2-1.src.rpm cobbler-1.6.2-1.src.rpm: gzip compressed data, was "cobbler-1.6.2.tar", from Unix, last modified: Mon Mar 30 08:25:05 2009, max compression
matt whiteley wrote:
On Mar 30, 2009, at 12:34 PM, Stephan Huiser wrote:
Thanks for this release!
Is there something wrong with the source RPM?
Looks like it accidentally got replaced with a gzipped version of the tarball.
[whiteley@mock]~% file cobbler-1.6.2-1.src.rpm cobbler-1.6.2-1.src.rpm: gzip compressed data, was "cobbler-1.6.2.tar", from Unix, last modified: Mon Mar 30 08:25:05 2009, max compression
Whoops, that's what I get for copying and pasting my SCP line and only changing the first of two arguments.
I'll fix this tomorrow AM. I'm away from my development setup at the moment.
--Michael
Stephan Huiser wrote:
Thanks for this release!
Is there something wrong with the source RPM?
stephan@hell:~ $ wget http://people.fedoraproject.org/~mdehaan/files/cobbler/cobbler-1.6.2-1.src.r... --2009-03-30 21:32:15-- http://people.fedoraproject.org/~mdehaan/files/cobbler/cobbler-1.6.2-1.src.r... Resolving people.fedoraproject.org... 128.197.185.45 Connecting to people.fedoraproject.org|128.197.185.45|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 661487 (646K) [application/x-rpm] Saving to: `cobbler-1.6.2-1.src.rpm'
100%[=====================================================================================================================================>] 661,487 328K/s in 2.0s
2009-03-30 21:32:18 (328 KB/s) - `cobbler-1.6.2-1.src.rpm' saved [661487/661487]
stephan@hell:~ $ sudo rpm -i cobbler-1.6.2-1.src.rpm [sudo] password for stephan: error: cobbler-1.6.2-1.src.rpm: not an rpm package (or package manifest):
-Stephan
Michael DeHaan wrote:
This fixes the web application timeout issue introduced in 1.6.1 that Stephan reported. No other changes are included on top of 1.6.1
http://people.fedoraproject.org/~mdehaan/files/cobbler/
--Michael _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Fixed!
--Michael
Michael DeHaan wrote:
Stephan Huiser wrote:
Thanks for this release!
Is there something wrong with the source RPM?
stephan@hell:~ $ wget http://people.fedoraproject.org/~mdehaan/files/cobbler/cobbler-1.6.2-1.src.r... --2009-03-30 21:32:15-- http://people.fedoraproject.org/~mdehaan/files/cobbler/cobbler-1.6.2-1.src.r... Resolving people.fedoraproject.org... 128.197.185.45 Connecting to people.fedoraproject.org|128.197.185.45|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 661487 (646K) [application/x-rpm] Saving to: `cobbler-1.6.2-1.src.rpm'
100%[=====================================================================================================================================>] 661,487 328K/s in 2.0s
2009-03-30 21:32:18 (328 KB/s) - `cobbler-1.6.2-1.src.rpm' saved [661487/661487]
stephan@hell:~ $ sudo rpm -i cobbler-1.6.2-1.src.rpm [sudo] password for stephan: error: cobbler-1.6.2-1.src.rpm: not an rpm package (or package manifest):
-Stephan
Michael DeHaan wrote:
This fixes the web application timeout issue introduced in 1.6.1 that Stephan reported. No other changes are included on top of 1.6.1
http://people.fedoraproject.org/~mdehaan/files/cobbler/
--Michael _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Fixed!
--Michael
It's working now, thanks!
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Hi,
I've just upgraded my Cobbler installation to 1.6.2. I've then tried importing the just released CentOS 5.3 and I get this error :
- cp /var/www/cobbler/ks_mirror/CentOS-5.3-i386/CentOS/repodata/comps.xml /var/www/cobbler/ks_mirror/CentOS-5.3-i386/CentOS/base/comps.xml - processing repo at : /var/www/cobbler/ks_mirror/CentOS-5.3-i386/CentOS - looks like we've already scanned here: /var/www/cobbler/ks_mirror/CentOS-5.3-i386/CentOS ---------------- (associating kickstarts) - found content (breed=redhat) at /var/www/cobbler/ks_mirror/CentOS-5.3-i386/images/xen
local variable 'datestamp' referenced before assignment File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 83, in main rc = BootCLI().run(sys.argv)
File "/usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 61, in run return self.loader.run(args)
File "/usr/lib/python2.4/site-packages/cobbler/commands.py", line 122, in run return fn.run()
File "/usr/lib/python2.4/site-packages/cobbler/modules/cli_misc.py", line 124, in run breed=self.options.breed
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 594, in import_tree return importer.run()
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py", line 210, in run self.kickstart_finder(distros_added)
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py", line 278, in kickstart_finder ds = importer.get_datestamp()
File "/usr/lib/python2.4/site-packages/cobbler/action_import.py", line 1062, in get_datestamp return float(datestamp)
I see the this new distro in the Distros and Profiles. But I don't know it I'm still missing something. All the data is there too.
Regards, Tim
Tim Verhoeven wrote:
Hi,
I've just upgraded my Cobbler installation to 1.6.2. I've then tried importing the just released CentOS 5.3 and I get this error :
Hi Tim,
This has happened before where folks have tried to import something and it is missing the .discinfo file. (Was this a DVD import?). A missing discinfo is the root cause of this bug, but we can patch it to tolerate when this file is missing. I'll include this for 1.6.3 when it comes out.
I'd be curious if you have any other problems with 5.3 after importing this, as I haven't yet tried the CentOS 5.3 ISOs. Hopefully the structure is as we would suspect -- if not, we'll take care of it.
Thanks!
--Michael
diff --git a/cobbler/action_import.py b/cobbler/action_import.py index e811c11..eb433da 100644 --- a/cobbler/action_import.py +++ b/cobbler/action_import.py @@ -1059,6 +1059,8 @@ class RedHatImporter ( BaseImporter ) : discinfo = open("%s/.discinfo" % base, "r") datestamp = discinfo.read().split("\n")[0] discinfo.close() + else: + return 0 return float(datestamp)
def set_variance(self, flavor, major, minor, arch):
cobbler@lists.fedorahosted.org