Hi folks,
Source rpms for 1.6 are now available for those that want to help test 1.6 and see what's new.
http://mdehaan.fedorapeople.org/files/cobbler/testing/
This is a testing release, so you don't want to install these in production.
We'll test on this for 1.5-2 weeks and then see about a release.
You can see the list of things that have changed here: https://fedorahosted.org/pipermail/cobbler/2009-March/003205.html
Thanks!
--Michael
Hi Michael,
Thanks to make this available for testing :-). So, I've got the src.rpm release (1.6.0) and both following lines seams to be a problem to rebuild on rhel 5.2 i386.
%ghost /var/www/cobbler/aux/anamon.pyc %ghost /var/www/cobbler/aux/anamon.pyo
I'm a bit confused, because it doesn't seams to be include anywhere in the tarball and even into git. Moreover the spec files in devel branch doens't refer to this either.
If I understand correctly, %ghost macro tells to rpmbuild that the file should not be included in the package. In other hand files are not include into the tarball. So I think that both lines should be removed and here is a patch that remove it against the master branch.
Cheers, Martial (babatoko)
On Thu, 12 Mar 2009 06:01:34 Michael DeHaan wrote:
Hi folks,
Source rpms for 1.6 are now available for those that want to help test 1.6 and see what's new.
http://mdehaan.fedorapeople.org/files/cobbler/testing/
This is a testing release, so you don't want to install these in production.
We'll test on this for 1.5-2 weeks and then see about a release.
You can see the list of things that have changed here: https://fedorahosted.org/pipermail/cobbler/2009-March/003205.html
Thanks!
--Michael
Martial Paupe wrote:
Hi Michael,
Thanks to make this available for testing :-). So, I've got the src.rpm release (1.6.0) and both following lines seams to be a problem to rebuild on rhel 5.2 i386.
%ghost /var/www/cobbler/aux/anamon.pyc %ghost /var/www/cobbler/aux/anamon.pyo
Yeah, we need to remove these from the spec. There should have been a fix for this, but maybe it's on devel. I'll take a look...
Michael DeHaan wrote:
Martial Paupe wrote:
Hi Michael,
Thanks to make this available for testing :-). So, I've got the src.rpm release (1.6.0) and both following lines seams to be a problem to rebuild on rhel 5.2 i386.
%ghost /var/www/cobbler/aux/anamon.pyc %ghost /var/www/cobbler/aux/anamon.pyo
Yeah, we need to remove these from the spec. There should have been a fix for this, but maybe it's on devel. I'll take a look...
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
I've replaced the two files in question to correct this, thanks.
Let me know if you hit any more problems like this.
Thanks!
--Michael
Source rpms for 1.6 are now available for those that want to help test 1.6 and see what's new.
http://mdehaan.fedorapeople.org/files/cobbler/testing/
This is a testing release, so you don't want to install these in production.
We'll test on this for 1.5-2 weeks and then see about a release.
You can see the list of things that have changed here: https://fedorahosted.org/pipermail/cobbler/2009-March/003205.html
using both cobbler and koan 1.60 i see this
[root@virt02 ~]# koan -s 192.168.11.1 -D - looking for Cobbler at http://192.168.11.1/cobbler_api Error: Could not find a matching system with MACs: or IPs:
[root@virt02 ~]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:16:3E:59:16:91 inet addr:192.168.11.4 Bcast:192.168.11.255 Mask:255.255.255.0
# cobbler system report virt02 system : virt02 mac address : 00:16:3E:59:16:91 ip address : 192.168.11.4
any thoughts here ??
thanks
using both cobbler and koan 1.60 i see this
[root@virt02 ~]# koan -s 192.168.11.1 -D
- looking for Cobbler at http://192.168.11.1/cobbler_api
Error: Could not find a matching system with MACs: or IPs:
[root@virt02 ~]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:16:3E:59:16:91 inet addr:192.168.11.4 Bcast:192.168.11.255 Mask:255.255.255.0
# cobbler system report virt02 system : virt02 mac address : 00:16:3E:59:16:91 ip address : 192.168.11.4
should also say that koan 1.4.3-1 seems to be fine
Tom Brown wrote:
Source rpms for 1.6 are now available for those that want to help test 1.6 and see what's new.
http://mdehaan.fedorapeople.org/files/cobbler/testing/
This is a testing release, so you don't want to install these in production.
We'll test on this for 1.5-2 weeks and then see about a release.
You can see the list of things that have changed here: https://fedorahosted.org/pipermail/cobbler/2009-March/003205.html
using both cobbler and koan 1.60 i see this
[root@virt02 ~]# koan -s 192.168.11.1 -D
- looking for Cobbler at http://192.168.11.1/cobbler_api
Error: Could not find a matching system with MACs: or IPs:
[root@virt02 ~]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:16:3E:59:16:91 inet addr:192.168.11.4 Bcast:192.168.11.255 Mask:255.255.255.0
# cobbler system report virt02 system : virt02 mac address : 00:16:3E:59:16:91 ip address : 192.168.11.4
any thoughts here ??
thanks _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
The new autodetect code is used when you do not specify a system with --replace-self, though I haven't tried it with display.
Very carefully try the following: koan -s 192.168.11.1 --replace-self (and before rebooting the machine, edit /etc/grub.conf to remove the "kickstart" entry to make sure you don't reinstall it!)
And see if you get the same.
Autodetect uses rhpl.ethtool, which /might/ not be working on your platform. (In this case, what is the host OS?)
--Michael
The new autodetect code is used when you do not specify a system with --replace-self, though I haven't tried it with display.
Very carefully try the following: koan -s 192.168.11.1 --replace-self (and before rebooting the machine, edit /etc/grub.conf to remove the "kickstart" entry to make sure you don't reinstall it!)
And see if you get the same.
[root@virt02 ~]# koan -r - looking for Cobbler at http://192.168.11.1/cobbler_api Error: Could not find a matching system with MACs: or IPs:
Autodetect uses rhpl.ethtool, which /might/ not be working on your platform. (In this case, what is the host OS?)
this is a PV CentOS 5.2 x86_64
thanks
Tom Brown wrote:
The new autodetect code is used when you do not specify a system with --replace-self, though I haven't tried it with display.
Very carefully try the following: koan -s 192.168.11.1 --replace-self (and before rebooting the machine, edit /etc/grub.conf to remove the "kickstart" entry to make sure you don't reinstall it!)
And see if you get the same.
[root@virt02 ~]# koan -r
- looking for Cobbler at http://192.168.11.1/cobbler_api
Error: Could not find a matching system with MACs: or IPs:
Autodetect uses rhpl.ethtool, which /might/ not be working on your platform. (In this case, what is the host OS?)
this is a PV CentOS 5.2 x86_64
thanks _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
And rhpl is installed?
--Michael
Tom Brown wrote:
And rhpl is installed?
apparently so yes
Package rhpl - 0.194.1-1.x86_64 is already installed. _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
I will have to install that OS to try it, I suppose. I'm chasing some larger items at this moment so it may be a while.
If someone else has one handy and wants to hack on koan to see what's up with the networking code, I think it would be pretty easy.
I'd also welcome alternative implementations that don't use rhpl -- I'm trying to avoid parsing /sbin/ip if possible ... though we /may/ have to go back to that.
Note that the network code is used for both autodetection /AND/ the new registration feature. It's common.
--Michael
On Mar 12, 2009, at 11:03 AM, Michael DeHaan wrote:
If someone else has one handy and wants to hack on koan to see what's up with the networking code, I think it would be pretty easy.
I'd also welcome alternative implementations that don't use rhpl -- I'm trying to avoid parsing /sbin/ip if possible ... though we /may/ have to go back to that.
Note that the network code is used for both autodetection /AND/ the new registration feature. It's common.
I found the problem, but I'm not sure what the best solution is, so unfortunately I cannot offer a patch. In the get_network_info function ethtool.get_module(iname) throws an error in rhel 5.3 (rhpl-0.194.1-1), so the except clause is followed and continue skips the assignment of interfaces[iname]. I wasn't sure what would be the right was to fix it, so hopefully this info is still somewhat helpful.
def get_network_info(): try: import rhpl.ethtool as ethtool except: raise CX("the rhpl module is required to use this feature (is your OS>=EL3?)")
interfaces = {} # get names inames = ethtool.get_active_devices() for iname in inames: mac = ethtool.get_hwaddr(iname) ip = ethtool.get_ipaddr(iname) nm = ethtool.get_netmask(iname) try: module = ethtool.get_module(iname) if module == "bridge": continue except: continue interfaces[iname] = { "ip_address" : ip, "mac_address" : mac, "netmask" : nm }
return interfaces
[root@mint ~]# rpm -q rhpl rhpl-0.194.1-1
[root@mint ~]# python Python 2.4.3 (#1, Sep 17 2008, 16:07:08) [GCC 4.1.2 20071124 (Red Hat 4.1.2-41)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import rhpl.ethtool as ethtool ethtool.get_module('eth0')
Traceback (most recent call last): File "<stdin>", line 1, in ? IOError: [Errno 95] Operation not supported
matt whiteley wrote:
On Mar 12, 2009, at 11:03 AM, Michael DeHaan wrote:
If someone else has one handy and wants to hack on koan to see what's up with the networking code, I think it would be pretty easy.
Yes, rhpl appears to behave differently on some systems, and we need to check this out.
Please file a bug here: http://fedorahosted.org/cobbler
(You'll need a Fedora account from https://admin.fedoraproject.org/accounts -- which is easy to do. You do not need to request access to any groups to use Trac.)
--Michael
Source rpms for 1.6 are now available for those that want to help test 1.6 and see what's new.
http://mdehaan.fedorapeople.org/files/cobbler/testing/
This is a testing release, so you don't want to install these in production.
We'll test on this for 1.5-2 weeks and then see about a release.
You can see the list of things that have changed here: https://fedorahosted.org/pipermail/cobbler/2009-March/003205.html
can you let me know what snippet the ssh key preservation feature is in please as i cant seem to find it in my 1.6 ?
thanks
Tom Brown wrote:
Source rpms for 1.6 are now available for those that want to help test 1.6 and see what's new.
http://mdehaan.fedorapeople.org/files/cobbler/testing/
This is a testing release, so you don't want to install these in production.
We'll test on this for 1.5-2 weeks and then see about a release.
You can see the list of things that have changed here: https://fedorahosted.org/pipermail/cobbler/2009-March/003205.html
can you let me know what snippet the ssh key preservation feature is in please as i cant seem to find it in my 1.6 ?
thanks
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
It is checked in but apparently not installed.
You can get it here:
http://git.fedoraproject.org/git/cobbler/?p=cobbler;a=blob_plain;f=snippets/...
and save as "keep_ssh_host_keys"
Meanwhile, I'll see about getting that into the RPM.
--Michael
It is checked in but apparently not installed.
You can get it here:
http://git.fedoraproject.org/git/cobbler/?p=cobbler;a=blob_plain;f=snippets/...
and save as "keep_ssh_host_keys"
Meanwhile, I'll see about getting that into the RPM.
thanks - is this a pre snippet i presume ??
It is checked in but apparently not installed.
You can get it here:
http://git.fedoraproject.org/git/cobbler/?p=cobbler;a=blob_plain;f=snippets/...
and save as "keep_ssh_host_keys"
Meanwhile, I'll see about getting that into the RPM.
+-------------------+ Error +-------------------+ | | | An error occurred trying to initialize swap | | on device xvda2. This problem is serious, | | and the install cannot continue. | | | | Press <Enter> to reboot your system. | | | | +----+ | | | OK | | | +----+ | | | | | +-----------------------------------------------+
thats what i get when trying to use it
Michael DeHaan wrote:
Hi folks,
Source rpms for 1.6 are now available for those that want to help test 1.6 and see what's new.
http://mdehaan.fedorapeople.org/files/cobbler/testing/
This is a testing release, so you don't want to install these in production.
We'll test on this for 1.5-2 weeks and then see about a release.
You can see the list of things that have changed here: https://fedorahosted.org/pipermail/cobbler/2009-March/003205.html
Thanks!
I've downloaded the src.rpms and re-compiled them.
Here's a problem I get when trying to do a `yum localinstall`
-------
[root@cobbler-test sources]# yum localinstall cobbler-1.6.0-1.noarch.rpm koan-1.6.0-1.noarch.rpm Loading "fastestmirror" plugin Setting up Local Package Process Loading mirror speeds from cached hostfile * epel: www.gtlib.gatech.edu * base: mirror.atlanticmetro.net * updates: mirror.newnanutilities.org * addons: mirror.atlanticmetro.net * extras: mirror.nyi.net Examining cobbler-1.6.0-1.noarch.rpm: cobbler - 1.6.0-1.noarch Examining koan-1.6.0-1.noarch.rpm: koan - 1.6.0-1.noarch Marking cobbler-1.6.0-1.noarch.rpm to be installed Marking koan-1.6.0-1.noarch.rpm to be installed Resolving Dependencies . . . <snip> . . . --> Finished Dependency Resolution Error: Missing Dependency: libyaml is needed by package cobbler
--------
-- Derek (aka goozbach)
I've downloaded the src.rpms and re-compiled them.
Here's a problem I get when trying to do a `yum localinstall`
[root@cobbler-test sources]# yum localinstall cobbler-1.6.0-1.noarch.rpm koan-1.6.0-1.noarch.rpm Loading "fastestmirror" plugin Setting up Local Package Process Loading mirror speeds from cached hostfile
- epel: www.gtlib.gatech.edu
- base: mirror.atlanticmetro.net
- updates: mirror.newnanutilities.org
- addons: mirror.atlanticmetro.net
- extras: mirror.nyi.net
Examining cobbler-1.6.0-1.noarch.rpm: cobbler - 1.6.0-1.noarch Examining koan-1.6.0-1.noarch.rpm: koan - 1.6.0-1.noarch Marking cobbler-1.6.0-1.noarch.rpm to be installed Marking koan-1.6.0-1.noarch.rpm to be installed Resolving Dependencies . . . <snip> . . . --> Finished Dependency Resolution Error: Missing Dependency: libyaml is needed by package cobbler
Not suprising. You also need to install libyaml.
cobbler@lists.fedorahosted.org