Pxelinux install stoped when multiple nic card

Hello

I used Kickstart default PXElinux<https://puppet.ihep.ac.cn/config_templates/1-kickstart-default-pxelinux/edit> templates
for pxelinux install.
It work well with the machine has only one nic card.
If it has more than one nic card, the installation will stop for nic card
select.

How to deal with this issue.

Thanks in advance.
Xiaofei

> Hello
>
> I used Kickstart default PXElinux<https://puppet.ihep.ac.cn/config_templates/1-kickstart-default-pxelinux/edit> templates
> for pxelinux install.
> It work well with the machine has only one nic card.
> If it has more than one nic card, the installation will stop for nic card
> select.
>
> Can you elaborate more? e.g. at which step does it stop? (do you get to
anaonda, or is it in pxelinux etc).

Did you enter the mac address of the nic you are booting from etc?

Ohad

··· On Thu, Sep 12, 2013 at 5:06 PM, Yan Xiaofei wrote:

How to deal with this issue.

Thanks in advance.
Xiaofei


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.

Hello

锟斤拷 2013/9/13 2:19, Ohad Levy wrote:
>
>
>
>
> Hello
>
> I used Kickstart default PXElinux
> <https://puppet.ihep.ac.cn/config_templates/1-kickstart-default-pxelinux/edit>
> templates for pxelinux install.
> It work well with the machine has only one nic card.
> If it has more than one nic card, the installation will stop for
> nic card select.
>
> Can you elaborate more? e.g. at which step does it stop? (do you get
> to anaonda, or is it in pxelinux etc).
>
Here is the pxelinux template generated by foreman:

default linux
label linux
kernel
append initrd= ks=http://puppet.ihep.ac.cn/unattended/provision ksdevice=bootif network kssendmac

The stopped step was in anaconda after pxe boot, The screen show nic
card list to select.
After select the correct device, the unattended installation will
finished no problem.

I have add "IPAPPEND 2" to the bottle of the pxe template file, but no
effect on it.

> Did you enter the mac address of the nic you are booting from etc?
>
The mac address was store in hosts.

Xiaofei

··· > On Thu, Sep 12, 2013 at 5:06 PM, Yan Xiaofei > wrote: > Ohad > > > How to deal with this issue. > > Thanks in advance. > Xiaofei > > -- > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, > send an email to foreman-users+unsubscribe@googlegroups.com > . > To post to this group, send email to > foreman-users@googlegroups.com > . > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/groups/opt_out.

It's been a while since I've played with Pxe booting, so apologies if this
sounds a little bit vague…

However we hit the same issue when trying to build HP Blade servers that
had 8 nic's, and worked around it by specifying the boot device in the
Kickstart file aswell…

I'm struggling to find my kickstart scripts atm, so might be worth googling
it…

HTH.

Gav

··· On Friday, 13 September 2013 03:36:01 UTC+1, Yan Xiaofei wrote: > > Hello > > 锟斤拷 2013/9/13 2:19, Ohad Levy wrote: > > > > > On Thu, Sep 12, 2013 at 5:06 PM, Yan Xiaofei <yanx...@gmail.com > > wrote: > >> Hello >> >> I used Kickstart default PXElinux templates >> for pxelinux install. >> It work well with the machine has only one nic card. >> If it has more than one nic card, the installation will stop for nic card >> select. >> >> Can you elaborate more? e.g. at which step does it stop? (do you get > to anaonda, or is it in pxelinux etc). > > Here is the pxelinux template generated by foreman: > > default linux > label linux > kernel > append initrd= ks=http://puppet.ihep.ac.cn/unattended/provision ksdevice=bootif network kssendmac > > > The stopped step was in anaconda after pxe boot, The screen show nic card > list to select. > After select the correct device, the unattended installation will finished > no problem. > > I have add "IPAPPEND 2" to the bottle of the pxe template file, but no > effect on it. > > Did you enter the mac address of the nic you are booting from etc? > > The mac address was store in hosts. > > Xiaofei > > Ohad > >> >> How to deal with this issue. >> >> Thanks in advance. >> Xiaofei >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-user...@googlegroups.com . > To post to this group, send email to forema...@googlegroups.com > . > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/groups/opt_out. > > >

+1 Gavin. Setting ksdevice=eth0 (or what ever device number it is) in the
ice template should help. I bet Foreman has a variable for it too.

I've also run into hardware, like the HP blade CNA's where the driver isn't
supplied in the kernel, either because the hardware is ahead of the curve
or the Linux flavor doesn't have it on the PXE yet.

  • Sean Alderman
    Senior Engineer, UDit Systems Integration

This message had been brought to you by Android Bionic.

··· On Sep 13, 2013 6:02 AM, "Gavin Williams" wrote:

It’s been a while since I’ve played with Pxe booting, so apologies if this
sounds a little bit vague…

However we hit the same issue when trying to build HP Blade servers that
had 8 nic’s, and worked around it by specifying the boot device in the
Kickstart file aswell…

I’m struggling to find my kickstart scripts atm, so might be worth
googling it…

HTH.

Gav

On Friday, 13 September 2013 03:36:01 UTC+1, Yan Xiaofei wrote:

Hello

锟斤拷 2013/9/13 2:19, Ohad Levy wrote:

On Thu, Sep 12, 2013 at 5:06 PM, Yan Xiaofei yanx...@gmail.com wrote:

Hello

I used Kickstart default PXElinuxhttps://puppet.ihep.ac.cn/config_templates/1-kickstart-default-pxelinux/edit templates
for pxelinux install.
It work well with the machine has only one nic card.
If it has more than one nic card, the installation will stop for nic
card select.

Can you elaborate more? e.g. at which step does it stop? (do you get
to anaonda, or is it in pxelinux etc).

Here is the pxelinux template generated by foreman:

default linux
label linux
kernel
append initrd= ks=http://puppet.ihep.ac.cn/**unattended/provision http://puppet.ihep.ac.cn/unattended/provision ksdevice=bootif network kssendmac

The stopped step was in anaconda after pxe boot, The screen show nic card
list to select.
After select the correct device, the unattended installation will
finished no problem.

I have add “IPAPPEND 2” to the bottle of the pxe template file, but no
effect on it.

Did you enter the mac address of the nic you are booting from etc?

The mac address was store in hosts.

Xiaofei

Ohad

How to deal with this issue.

Thanks in advance.
Xiaofei


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-user…@googlegroups.com.
To post to this group, send email to forema...@googlegroups.com
.
Visit this group at http://groups.google.com/**group/foreman-usershttp://groups.google.com/group/foreman-users
.
For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-user…@googlegroups.com.
To post to this group, send email to forema...@googlegroups.com
.
Visit this group at http://groups.google.com/**group/foreman-usershttp://groups.google.com/group/foreman-users
.
For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Yan,

You can edit something like ksdevice=ethN interface you want to choose.

I have question for other, Is there any way to add another static interface
or bonding in foreman ?

Thanks
Govind

··· On Fri, Sep 13, 2013 at 3:36 AM, Yan Xiaofei wrote:

Hello

于 2013/9/13 2:19, Ohad Levy wrote:

On Thu, Sep 12, 2013 at 5:06 PM, Yan Xiaofei yanxf912@gmail.com wrote:

Hello

I used Kickstart default PXElinuxhttps://puppet.ihep.ac.cn/config_templates/1-kickstart-default-pxelinux/edit templates
for pxelinux install.
It work well with the machine has only one nic card.
If it has more than one nic card, the installation will stop for nic card
select.

Can you elaborate more? e.g. at which step does it stop? (do you get
to anaonda, or is it in pxelinux etc).

Here is the pxelinux template generated by foreman:

default linux
label linux
kernel
append initrd= ks=http://puppet.ihep.ac.cn/unattended/provision ksdevice=bootif network kssendmac

The stopped step was in anaconda after pxe boot, The screen show nic card
list to select.
After select the correct device, the unattended installation will finished
no problem.

I have add “IPAPPEND 2” to the bottle of the pxe template file, but no
effect on it.

Did you enter the mac address of the nic you are booting from etc?

The mac address was store in hosts.

Xiaofei

Ohad

How to deal with this issue.

Thanks in advance.
Xiaofei


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.

Govind,
I've been playing with that a bit. It's really not a foreman related
question, IMHO. Configuring bonding is not something you can do at the
provisioning stage, it's a post install task. You might be able to develop
a post install snippet to bond interfaces, but I would suggest
investigating Mike Arnold's very robust puppet-network module [1] if you're
using RHEL based servers.

[1] https://github.com/razorsedge/puppet-network

··· On Fri, Sep 13, 2013 at 5:53 AM, Govind B. Songara wrote:

Hi Yan,

You can edit something like ksdevice=ethN interface you want to choose.

I have question for other, Is there any way to add another static
interface or bonding in foreman ?

Thanks
Govind

On Fri, Sep 13, 2013 at 3:36 AM, Yan Xiaofei yanxf912@gmail.com wrote:

Hello

于 2013/9/13 2:19, Ohad Levy wrote:

On Thu, Sep 12, 2013 at 5:06 PM, Yan Xiaofei yanxf912@gmail.com wrote:

Hello

I used Kickstart default PXElinuxhttps://puppet.ihep.ac.cn/config_templates/1-kickstart-default-pxelinux/edit templates
for pxelinux install.
It work well with the machine has only one nic card.
If it has more than one nic card, the installation will stop for nic
card select.

Can you elaborate more? e.g. at which step does it stop? (do you get
to anaonda, or is it in pxelinux etc).

Here is the pxelinux template generated by foreman:

default linux
label linux
kernel
append initrd= ks=http://puppet.ihep.ac.cn/unattended/provision ksdevice=bootif network kssendmac

The stopped step was in anaconda after pxe boot, The screen show nic card
list to select.
After select the correct device, the unattended installation will
finished no problem.

I have add “IPAPPEND 2” to the bottle of the pxe template file, but no
effect on it.

Did you enter the mac address of the nic you are booting from etc?

The mac address was store in hosts.

Xiaofei

Ohad

How to deal with this issue.

Thanks in advance.
Xiaofei


You received this message because you are subscribed to the Google
Groups “Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.


Sean M. Alderman
Senior Engineer, UDit Systems Integration and Engineering
University of Dayton
300 College Park
Dayton, Ohio 45469-1530
(937) 229-5088
salderman1@udayton.edu

“We are not some casual and meaningless product of evolution. Each of us
is the result of a thought of God. Each of us is willed. Each of us is
loved. Each of us is necessary.”
- BXVI

Hello

I use ksdevice=link to resolve this issue.

Best Regards
Xiaofei

锟斤拷 2013/9/13 21:59, Sean Alderman wrote:

··· > Govind, > I've been playing with that a bit. It's really not a foreman related > question, IMHO. Configuring bonding is not something you can do at the > provisioning stage, it's a post install task. You might be able to > develop a post install snippet to bond interfaces, but I would suggest > investigating Mike Arnold's very robust puppet-network module [1] if > you're using RHEL based servers. > > [1] https://github.com/razorsedge/puppet-network > > > On Fri, Sep 13, 2013 at 5:53 AM, Govind B. Songara > <govind.rhul@gmail.com > wrote: > > Hi Yan, > > You can edit something like ksdevice=ethN interface you want to > choose. > > > I have question for other, Is there any way to add another static > interface or bonding in foreman ? > > Thanks > Govind > > > > > > On Fri, Sep 13, 2013 at 3:36 AM, Yan Xiaofei > wrote: > > Hello > > > 锟斤拷 2013/9/13 2:19, Ohad Levy wrote: >> >> >> >> On Thu, Sep 12, 2013 at 5:06 PM, Yan Xiaofei >> <yanxf912@gmail.com > wrote: >> >> Hello >> >> I used Kickstart default PXElinux >> >> templates for pxelinux install. >> It work well with the machine has only one nic card. >> If it has more than one nic card, the installation will >> stop for nic card select. >> >> Can you elaborate more? e.g. at which step does it stop? (do >> you get to anaonda, or is it in pxelinux etc). >> > Here is the pxelinux template generated by foreman: > > default linux > label linux > kernel > append initrd= ks=http://puppet.ihep.ac.cn/unattended/provision ksdevice=bootif network kssendmac > > The stopped step was in anaconda after pxe boot, The screen > show nic card list to select. > After select the correct device, the unattended installation > will finished no problem. > > I have add "IPAPPEND 2" to the bottle of the pxe template > file, but no effect on it. > > >> Did you enter the mac address of the nic you are booting from >> etc? >> > The mac address was store in hosts. > > Xiaofei >> Ohad >> >> >> How to deal with this issue. >> >> Thanks in advance. >> Xiaofei >> >> -- >> You received this message because you are subscribed to >> the Google Groups "Foreman users" group. >> To unsubscribe from this group and stop receiving emails >> from it, send an email to >> foreman-users+unsubscribe@googlegroups.com >> . >> To post to this group, send email to >> foreman-users@googlegroups.com >> . >> Visit this group at >> http://groups.google.com/group/foreman-users. >> For more options, visit >> https://groups.google.com/groups/opt_out. >> >> >> -- >> You received this message because you are subscribed to the >> Google Groups "Foreman users" group. >> To unsubscribe from this group and stop receiving emails from >> it, send an email to >> foreman-users+unsubscribe@googlegroups.com >> . >> To post to this group, send email to >> foreman-users@googlegroups.com >> . >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to the > Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from > it, send an email to > foreman-users+unsubscribe@googlegroups.com > . > To post to this group, send email to > foreman-users@googlegroups.com > . > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, > send an email to foreman-users+unsubscribe@googlegroups.com > . > To post to this group, send email to > foreman-users@googlegroups.com > . > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- > Sean M. Alderman > Senior Engineer, UDit Systems Integration and Engineering > University of Dayton > 300 College Park > Dayton, Ohio 45469-1530 > (937) 229-5088 > salderman1@udayton.edu > > /"We are not some casual and meaningless product of evolution. Each of > us is the result of a thought of God. Each of us is willed. Each of us > is loved. Each of us is necessary."/ - BXVI > > -- > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/groups/opt_out.