Hi,
Don't know if this last post made it.
I've narrowed it down to something in the network_config, pre and post SNIPPETS. I have seen bug report 1117640 however no data is missing as in that case, I've done a cobbler system getks and all the data is there as far as I can tell. I pulled all three SNIPPETs out and replaced them with the proper network kickstart line and the error about an illegal IP address string is gone. The install has other issues but that's not this problem.
So it's something in the network SNIPPETs that is causing the illegal IP address string error when trying to install CentOS 7.
Chris J.
Hi.
I've probably missed something somewhere. I'd love to know what.
I have a cobbler server (2.6.5-9.1) running on CentOS 6.5 in a VBox (4.3.16) VM on OS X (10.9.5). Now 6.5 installs just fine this way on my other VMs. However when trying to install C7, anaconda keeps dumping on an illegal IP address string passed to inet_aton and that's even using the default sample.ks kickstart.
Has anyone managed to install CentOS 7 on a VBox VM? I'd love to know where this error is coming from.
Tnx.
Chris J.
On 10/06/2014 12:41 PM, Chris Johnson wrote:
I've narrowed it down to something in the network_config, pre and post SNIPPETS. I have seen bug report 1117640 however no data is missing as in that case, I've done a cobbler system getks and all the data is there as far as I can tell. I pulled all three SNIPPETs out and replaced them with the proper network kickstart line and the error about an illegal IP address string is gone. The install has other issues but that's not this problem.
I have no idea where this bug 1117640 is from (Cent OS 7?), please post a link to it.
It would help if you would put the rendered kickstart file in a pastebin and send its URL to us so we can check its content. cobbler system getks in Cobbler CLI or "View kickstart" button in systems list in web UI will generate it.
I have a cobbler server (2.6.5-9.1) running on CentOS 6.5 in a VBox (4.3.16) VM on OS X (10.9.5). Now 6.5 installs just fine this way on my other VMs. However when trying to install C7, anaconda keeps dumping on an illegal IP address string passed to inet_aton and that's even using the default sample.ks kickstart.
anaconda crashes or just outputs a warning and automated installation is stalled? Could you replicate the exact error message here?
Regards, Alan Evangelista
On 10/6/14, 1:44 PM, Alan Evangelista wrote:
On 10/06/2014 12:41 PM, Chris Johnson wrote:
I've narrowed it down to something in the network_config, pre and post SNIPPETS. I have seen bug report 1117640 however no data is missing as in that case, I've done a cobbler system getks and all the data is there as far as I can tell. I pulled all three SNIPPETs out and replaced them with the proper network kickstart line and the error about an illegal IP address string is gone. The install has other issues but that's not this problem.
I have no idea where this bug 1117640 is from (Cent OS 7?), please post a link to it.
It would help if you would put the rendered kickstart file in a pastebin and send its URL to us so we can check its content. cobbler system getks in Cobbler CLI or "View kickstart" button in systems list in web UI will generate it.
Sorry ;
https://bugzilla.redhat.com/show_bug.cgi?id=1117640
I have a cobbler server (2.6.5-9.1) running on CentOS 6.5 in a VBox (4.3.16) VM on OS X (10.9.5). Now 6.5 installs just fine this way on my other VMs. However when trying to install C7, anaconda keeps dumping on an illegal IP address string passed to inet_aton and that's even using the default sample.ks kickstart.
anaconda crashes or just outputs a warning and automated installation is stalled? Could you replicate the exact error message here?
It dumps the call stack and stops with a warning
error: illegal IP address string passed to inet_aton
Regards, Alan Evangelista
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
On 10/6/14, 1:44 PM, Alan Evangelista wrote:
On 10/06/2014 12:41 PM, Chris Johnson wrote:
I've narrowed it down to something in the network_config, pre and post SNIPPETS. I have seen bug report 1117640 however no data is missing as in that case, I've done a cobbler system getks and all the data is there as far as I can tell. I pulled all three SNIPPETs out and replaced them with the proper network kickstart line and the error about an illegal IP address string is gone. The install has other issues but that's not this problem.
I have no idea where this bug 1117640 is from (Cent OS 7?), please post a link to it.
It would help if you would put the rendered kickstart file in a pastebin and send its URL to us so we can check its content. cobbler system getks in Cobbler CLI or "View kickstart" button in systems list in web UI will generate it.
Ok, sorry about that. Here is a url for the getks
I have a cobbler server (2.6.5-9.1) running on CentOS 6.5 in a VBox (4.3.16) VM on OS X (10.9.5). Now 6.5 installs just fine this way on my other VMs. However when trying to install C7, anaconda keeps dumping on an illegal IP address string passed to inet_aton and that's even using the default sample.ks kickstart.
anaconda crashes or just outputs a warning and automated installation is stalled? Could you replicate the exact error message here?
Regards, Alan Evangelista
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
On 10/06/2014 08:29 PM, Chris Johnson wrote:
Ok, sorry about that. Here is a url for the getks
What gets written to /tmp/pre_install_network_config ? I wonder if get_ifname is failing. Sure you have the mac addr correct?
On 10/6/14, 10:40 PM, Orion Poplawski wrote:
On 10/06/2014 08:29 PM, Chris Johnson wrote:
Ok, sorry about that. Here is a url for the getks
What gets written to /tmp/pre_install_network_config ? I wonder if get_ifname is failing. Sure you have the mac addr correct?
Yes, C6.5 installs just fine. Plus I've been through that before, different error. Or it was in C6. And it isn't case because the grep in the snippet is grep -i.
And it's C7 specific since 6.5 and lower all work.
Chris J.
On 10/6/14, 10:40 PM, Orion Poplawski wrote:
On 10/06/2014 08:29 PM, Chris Johnson wrote:
Ok, sorry about that. Here is a url for the getks
What gets written to /tmp/pre_install_network_config ? I wonder if get_ifname is failing. Sure you have the mac addr correct?
Ok /tmp/pre_install_network_config contains the following
network --device=enp0s3 --bootproto=static --ip=192.168.1.14 --netmask=255.255.255.0 --nameserver=75.75.76.76 --hostname=client4.net
And we have the problem. Thank you very much Orion.
There are two ways to give cobbler a gateway IP when doing cobbler system add; 1) --if-gateway, 2) --gateway. The scripts I have for adding my systems to cobbler use the former which puts the gateway in the ifcfg-eth0 file rather than /etc/sysconfig/network which is what --gateway does. From the above we see no gateway listed at all. It seems that C7 install wants the --gateway parameter used instead. Obviously I missed this in the notes.
I would make the suggestion that when a required or used parameter is missing a value or has an invalid value, a warning message to that effect listing the name of the parameter would more helpful than illegal IP address string passed to inet_aton.
Thank you again.
Chris J
Anybody fix this problem? I have Centos7, static IP, and same problem:
it is screenshots from IP-KVM: http://postimg.org/image/c2qsjwx7r/ http://s9.postimg.org/rocxra9lr/cobbler2.png
2014-10-08 0:54 GMT+03:00 Chris Johnson rchristopherjohnson@gmail.com:
On 10/6/14, 10:40 PM, Orion Poplawski wrote:
On 10/06/2014 08:29 PM, Chris Johnson wrote:
Ok, sorry about that. Here is a url for the getks
What gets written to /tmp/pre_install_network_config ? I wonder if get_ifname is failing. Sure you have the mac addr correct?
Ok /tmp/pre_install_network_config contains the following
network --device=enp0s3 --bootproto=static --ip=192.168.1.14 --netmask=255.255.255.0 --nameserver=75.75.76.76 --hostname=client4.net
And we have the problem. Thank you very much Orion.
There are two ways to give cobbler a gateway IP when doing cobbler system add; 1) --if-gateway, 2) --gateway. The scripts I have for adding my systems to cobbler use the former which puts the gateway in the ifcfg-eth0 file rather than /etc/sysconfig/network which is what --gateway does. From the above we see no gateway listed at all. It seems that C7 install wants the --gateway parameter used instead. Obviously I missed this in the notes.
I would make the suggestion that when a required or used parameter is missing a value or has an invalid value, a warning message to that effect listing the name of the parameter would more helpful than illegal IP address string passed to inet_aton.
Thank you again.
Chris J
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
Try defaulting back to the old eth names? Google it. New way is that ether names are enumerated (en, em, etc).
On 2015-09-04 21:07, Xeniya Lisovskaya wrote:
Anybody fix this problem? I have Centos7, static IP, and same problem:
it is screenshots from IP-KVM:
http://postimg.org/image/c2qsjwx7r/ [2]
http://s9.postimg.org/rocxra9lr/cobbler2.png [3]
2014-10-08 0:54 GMT+03:00 Chris Johnson rchristopherjohnson@gmail.com:
On 10/6/14, 10:40 PM, Orion Poplawski wrote: On 10/06/2014 08:29 PM, Chris Johnson wrote: Ok, sorry about that. Here is a url for the getks
What gets written to /tmp/pre_install_network_config ? I wonder if get_ifname is failing. Sure you have the mac addr correct?
Ok /tmp/pre_install_network_config contains the following
network --device=enp0s3 --bootproto=static --ip=192.168.1.14 --netmask=255.255.255.0 --nameserver=75.75.76.76 --hostname=client4.net [4]
And we have the problem. Thank you very much Orion.
There are two ways to give cobbler a gateway IP when doing cobbler system add; 1) --if-gateway, 2) --gateway. The scripts I have for adding my systems to cobbler use the former which puts the gateway in the ifcfg-eth0 file rather than /etc/sysconfig/network which is what --gateway does. From the above we see no gateway listed at all. It seems that C7 install wants the --gateway parameter used instead. Obviously I missed this in the notes.
I would make the suggestion that when a required or used parameter is missing a value or has an invalid value, a warning message to that effect listing the name of the parameter would more helpful than illegal IP address string passed to inet_aton.
Thank you again.
Chris J
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler [5]
--
Kseniya Lisovskaya
Links:
[1] http://pastebin.com/w1cq3TKX [2] http://postimg.org/image/c2qsjwx7r/ [3] http://s9.postimg.org/rocxra9lr/cobbler2.png [4] http://client4.net [5] https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
I also had troubles trying to use the enp0s0 type names.
I have a feeling that cobbler needs some work with way RH does device naming now.
On 09/04/2015 05:59 PM, alastair@alastair-munro.com wrote:
Try defaulting back to the old eth names? Google it. New way is that ether names are enumerated (en, em, etc).
On 2015-09-04 21:07, Xeniya Lisovskaya wrote:
Anybody fix this problem? I have Centos7, static IP, and same problem:
it is screenshots from IP-KVM:
http://postimg.org/image/c2qsjwx7r/ [2]
http://s9.postimg.org/rocxra9lr/cobbler2.png [3]
2014-10-08 0:54 GMT+03:00 Chris Johnson rchristopherjohnson@gmail.com:
On 10/6/14, 10:40 PM, Orion Poplawski wrote: On 10/06/2014 08:29 PM, Chris Johnson wrote: Ok, sorry about that. Here is a url for the getks
What gets written to /tmp/pre_install_network_config ? I wonder if get_ifname is failing. Sure you have the mac addr correct?
Ok /tmp/pre_install_network_config contains the following
network --device=enp0s3 --bootproto=static --ip=192.168.1.14 --netmask=255.255.255.0 --nameserver=75.75.76.76 --hostname=client4.net [4]
And we have the problem. Thank you very much Orion.
There are two ways to give cobbler a gateway IP when doing cobbler system add; 1) --if-gateway, 2) --gateway. The scripts I have for adding my systems to cobbler use the former which puts the gateway in the ifcfg-eth0 file rather than /etc/sysconfig/network which is what --gateway does. From the above we see no gateway listed at all. It seems that C7 install wants the --gateway parameter used instead. Obviously I missed this in the notes.
I would make the suggestion that when a required or used parameter is missing a value or has an invalid value, a warning message to that effect listing the name of the parameter would more helpful than illegal IP address string passed to inet_aton.
Thank you again.
Chris J
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler [5]
--
Kseniya Lisovskaya
Links:
[1] http://pastebin.com/w1cq3TKX [2] http://postimg.org/image/c2qsjwx7r/ [3] http://s9.postimg.org/rocxra9lr/cobbler2.png [4] http://client4.net [5] https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
It isn't just RH - openSUSE Fedora have named networks this way (deterministic) for several versions. Also, a network without a gateway is a valid configuration as a level of security so Cobble should be able to handle such a configuration.
Multi-homed servers using the old ethX syntax are not deterministic regarding naming, the names can change depending on which nic wakes up first. If you do any binding, or really anything with more than one nic you risk the names in your configuration getting shuffled with each boot. I think it is a two stage process, first the ethX naming occurs as the nic wakes up and then udev renames them according to biosdevname if possible: Some of the detail are here, but dated from 2010 - https://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming or not... http://lists.freedesktop.org/archives/systemd-devel/2015-March/028904.html it's complicated as of systemd 197: https://wiki.freedesktop.org/www/Software/systemd/PredictableNetworkInterfac...
Ed
On Fri, Sep 4, 2015 at 7:00 PM, Alvin Starr alvin@netvel.net wrote:
I also had troubles trying to use the enp0s0 type names.
I have a feeling that cobbler needs some work with way RH does device naming now.
On 09/04/2015 05:59 PM, alastair@alastair-munro.com wrote:
Try defaulting back to the old eth names? Google it. New way is that ether names are enumerated (en, em, etc).
On 2015-09-04 21:07, Xeniya Lisovskaya wrote:
Anybody fix this problem? I have Centos7, static IP, and same problem:
it is screenshots from IP-KVM:
http://postimg.org/image/c2qsjwx7r/ [2]
http://s9.postimg.org/rocxra9lr/cobbler2.png [3]
2014-10-08 0:54 GMT+03:00 Chris Johnson rchristopherjohnson@gmail.com:
On 10/6/14, 10:40 PM, Orion Poplawski wrote: On 10/06/2014 08:29 PM, Chris Johnson wrote: Ok, sorry about that. Here is a url for the getks
What gets written to /tmp/pre_install_network_config ? I wonder if get_ifname is failing. Sure you have the mac addr correct?
Ok /tmp/pre_install_network_config contains the following
network --device=enp0s3 --bootproto=static --ip=192.168.1.14 --netmask=255.255.255.0 --nameserver=75.75.76.76 --hostname=client4.net [4]
And we have the problem. Thank you very much Orion.
There are two ways to give cobbler a gateway IP when doing cobbler system add; 1) --if-gateway, 2) --gateway. The scripts I have for adding my systems to cobbler use the former which puts the gateway in the ifcfg-eth0 file rather than /etc/sysconfig/network which is what --gateway does. From the above we see no gateway listed at all. It seems that C7 install wants the --gateway parameter used instead. Obviously I missed this in the notes.
I would make the suggestion that when a required or used parameter is missing a value or has an invalid value, a warning message to that effect listing the name of the parameter would more helpful than illegal IP address string passed to inet_aton.
Thank you again.
Chris J
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler [5]
--
Kseniya Lisovskaya
Links:
[1] http://pastebin.com/w1cq3TKX [2] http://postimg.org/image/c2qsjwx7r/ [3] http://s9.postimg.org/rocxra9lr/cobbler2.png [4] http://client4.net [5] https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
-- Alvin Starr || voice: (905)513-7688 Netvel Inc. || Cell: (416)806-0133 alvin@netvel.net ||
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
We use the old eth naming on el7. Why? We have enough tech to juggle with and its just one thing less. It also makes our el7 systems look the same as el5 and el6 ones. When I say el, we also have centos/rhel and oracle Linux in the mix. Not to mention 2 Ubuntu releases and then lots of different builds.
Thus I haven't tried el7 with new naming; could give it a test tomorrow if not too busy.
Thinking about it I think I prefer eth naming; its more predictable and easier to code for (in cheetha).
-- Alastair Munro
-----Original Message----- From: "Ed - 0x1b, Inc." cobblerlist@0x1b.com To: cobbler mailing list cobbler@lists.fedorahosted.org Sent: Sun, 06 Sep 2015 22:10 Subject: Re: [cobbler] CentOS 7 install failure
It isn't just RH - openSUSE Fedora have named networks this way (deterministic) for several versions. Also, a network without a gateway is a valid configuration as a level of security so Cobble should be able to handle such a configuration.
Multi-homed servers using the old ethX syntax are not deterministic regarding naming, the names can change depending on which nic wakes up first. If you do any binding, or really anything with more than one nic you risk the names in your configuration getting shuffled with each boot. I think it is a two stage process, first the ethX naming occurs as the nic wakes up and then udev renames them according to biosdevname if possible: Some of the detail are here, but dated from 2010 - https://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming or not... http://lists.freedesktop.org/archives/systemd-devel/2015-March/028904.html it's complicated as of systemd 197: https://wiki.freedesktop.org/www/Software/systemd/PredictableNetworkInterfac...
Ed
On Fri, Sep 4, 2015 at 7:00 PM, Alvin Starr alvin@netvel.net wrote:
I also had troubles trying to use the enp0s0 type names.
I have a feeling that cobbler needs some work with way RH does device naming now.
On 09/04/2015 05:59 PM, alastair@alastair-munro.com wrote:
Try defaulting back to the old eth names? Google it. New way is that ether names are enumerated (en, em, etc).
On 2015-09-04 21:07, Xeniya Lisovskaya wrote:
Anybody fix this problem? I have Centos7, static IP, and same problem:
it is screenshots from IP-KVM:
http://postimg.org/image/c2qsjwx7r/ [2]
http://s9.postimg.org/rocxra9lr/cobbler2.png [3]
2014-10-08 0:54 GMT+03:00 Chris Johnson rchristopherjohnson@gmail.com:
On 10/6/14, 10:40 PM, Orion Poplawski wrote: On 10/06/2014 08:29 PM, Chris Johnson wrote: Ok, sorry about that. Here is a url for the getks
What gets written to /tmp/pre_install_network_config ? I wonder if get_ifname is failing. Sure you have the mac addr correct?
Ok /tmp/pre_install_network_config contains the following
network --device=enp0s3 --bootproto=static --ip=192.168.1.14 --netmask=255.255.255.0 --nameserver=75.75.76.76 --hostname=client4.net [4]
And we have the problem. Thank you very much Orion.
There are two ways to give cobbler a gateway IP when doing cobbler system add; 1) --if-gateway, 2) --gateway. The scripts I have for adding my systems to cobbler use the former which puts the gateway in the ifcfg-eth0 file rather than /etc/sysconfig/network which is what --gateway does. From the above we see no gateway listed at all. It seems that C7 install wants the --gateway parameter used instead. Obviously I missed this in the notes.
I would make the suggestion that when a required or used parameter is missing a value or has an invalid value, a warning message to that effect listing the name of the parameter would more helpful than illegal IP address string passed to inet_aton.
Thank you again.
Chris J
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler [5]
--
Kseniya Lisovskaya
Links:
[1] http://pastebin.com/w1cq3TKX [2] http://postimg.org/image/c2qsjwx7r/ [3] http://s9.postimg.org/rocxra9lr/cobbler2.png [4] http://client4.net [5] https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
-- Alvin Starr || voice: (905)513-7688 Netvel Inc. || Cell: (416)806-0133 alvin@netvel.net ||
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler
cobbler@lists.fedorahosted.org