[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] XCP iSCSI boot fails at "Starting the XCP networking daemon"


  • To: Adrian Costin <adrian.costin@xxxxxxxxx>
  • From: Damon Smith <apple@xxxxxxxxxxxxxx>
  • Date: Mon, 12 Nov 2012 19:26:55 -0800 (PST)
  • Cc: xen-api@xxxxxxxxxxxxx
  • Delivery-date: Tue, 13 Nov 2012 03:29:30 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: VOgaXf90bQf4hLjsNVF6xS+u95e+yg==
  • Thread-topic: XCP iSCSI boot fails at "Starting the XCP networking daemon"

Adrian,

Thanks for your quick response. Unfortunately I wasn't able to get this working.

I had to *create* the following files (they were not already present):

/etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
XENMANAGED=no

/etc/sysconfig/network-scripts/ifcfg-xenbr0:
DEVICE=xenbr0
BOOTPROTO=dhcp
ONBOOT=yes
XENMANAGED=no


At boot I recive notifications about bringing up eth0 and configuring it, but I 
also see failures that "xenbr0 does not exist".

I'll admit I know very little about CentOS, especially networking, so do 
correct me if I completely misinterpreted what you said.

Any other ideas? Does the xenbr0 interface have a different MAC address that 
might cause it to obtain a different IP address from DHCP? Anything else?

Thanks,
Damon

----- Original Message -----
From: "Adrian Costin" <adrian.costin@xxxxxxxxx>
To: xen-api@xxxxxxxxxxxxx
Cc: apple@xxxxxxxxxxxxxx
Sent: Saturday, November 10, 2012 1:22:01 AM
Subject: Re: [Xen-API] XCP iSCSI boot fails at "Starting the XCP networking 
daemon"

Hi, 

I've managed to get XCP 1.5 to boot off iSCSI which also has this problem. What 
I've done is edit ifcfg-xenbr0 (or whichever bridge you boot off) and set 
XENMANAGED=no and assigned the IP directly into the ifcfg file (in your case I 
guess it can be set to DHCP). 

It also has a problem when rebooting that it shuts down the network interfaces 
before it finishes the reboot and then it just stays there unable to continue 
the reboot. 

Best regards, 
Adrian Costin 


On Sat, Nov 10, 2012 at 7:41 AM, Damon Smith < apple@xxxxxxxxxxxxxx > wrote: 


Hello, 
I am working on getting an XCP host to boot via iSCSI. I have had pretty good 
success getting it installed and configured thus far, needing only a few hacks 
to get it to a bootable state, but appear to have run into an issue. 

Upon booting, the system loads fine until it reaches "Starting the XCP 
networking daemon". This command will eventually time-out and a few seconds 
later I will start getting errors about journal writing. It seems to me like 
the "Starting the XCP networking daemon" interrupts my connection to my iSCSI 
target. Presumably xcp-networkd brings the interfaces down in order to 
reconfigure them, but after bringing them down is unable to finish as it can no 
longer access the filesystem. 

I've tried various options in /etc/xcp/network.conf: both "bridge" and 
"openvswitch" fail in the same manner. 

Are there any additional configuration options I can use to resolve this? Would 
modifying my init files help? Can I just disable xcp-networkd completely and 
manage the networking configuration myself? 

I feel that once this issue is resolved I will have a working XCP system 
booting from iSCSI, which would be very useful. 

I am running the latest version of XCP and am using DHCP to configure my 
network. The iSCSI target is running FreeNAS. 

Any thoughts? 

Damon 

_______________________________________________ 
Xen-api mailing list 
Xen-api@xxxxxxxxxxxxx 
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api 


Hi,

I've managed to get XCP 1.5 to boot off iSCSI which also has this problem.
What I've done is edit ifcfg-xenbr0 (or whichever bridge you boot off) and
set XENMANAGED=no and assigned the IP directly into the ifcfg file (in your
case I guess it can be set to DHCP).

It also has a problem when rebooting that it shuts down the network
interfaces before it finishes the reboot and then it just stays there
unable to continue the reboot.

Best regards,
Adrian Costin


On Sat, Nov 10, 2012 at 7:41 AM, Damon Smith <apple@xxxxxxxxxxxxxx> wrote:

> Hello,
> I am working on getting an XCP host to boot via iSCSI. I have had pretty
> good success getting it installed and configured thus far, needing only a
> few hacks to get it to a bootable state, but appear to have run into an
> issue.
>
> Upon booting, the system loads fine until it reaches "Starting the XCP
> networking daemon". This command will eventually time-out and a few seconds
> later I will start getting errors about journal writing. It seems to me
> like the "Starting the XCP networking daemon" interrupts my connection to
> my iSCSI target. Presumably xcp-networkd brings the interfaces down in
> order to reconfigure them, but after bringing them down is unable to finish
> as it can no longer access the filesystem.
>
> I've tried various options in /etc/xcp/network.conf: both "bridge" and
> "openvswitch" fail in the same manner.
>
> Are there any additional configuration options I can use to resolve this?
> Would modifying my init files help? Can I just disable xcp-networkd
> completely and manage the networking configuration myself?
>
> I feel that once this issue is resolved I will have a working XCP system
> booting from iSCSI, which would be very useful.
>
> I am running the latest version of XCP and am using DHCP to configure my
> network. The iSCSI target is running FreeNAS.
>
> Any thoughts?
>
> Damon
>
> _______________________________________________
> Xen-api mailing list
> Xen-api@xxxxxxxxxxxxx
> http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
>

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.