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

[Xen-API] Xapi on Centos


  • To: xen-api@xxxxxxxxxxxxx
  • From: Muriel <mucawhite@xxxxxxxxx>
  • Date: Tue, 29 May 2012 11:11:21 +0200
  • Delivery-date: Tue, 29 May 2012 09:11:36 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hi all,
as I said some time ago I'm working to bring xapi on centos6. I built some packages just for a proof of concept (when I could I have used the rpms from fedora 17). Now I can use sr, vdi and vbd but I have some problem with network.

The setup:
kernel 2.6.32.39 (jeremy), xen 4.1.2(fedora), blktap 2.0.90(git), xapi-libs 0.5.3(git), xapi 1.3.2(git).

I configured the interface with:
xe pif-reconfigure-ip uuid=$ETH0_UUID mode=dhcp
disabled the network service and enabled xcp-networkd.

When boot ends the machine have the bridges "correctly configured", but without any ip address (also using a static IP).

Some logs:
xapi: [ info|janas27.crs4.it|0 thread_zero|Listening unix socket D:13cd549e76d4|xapi] Successfully bound socket to: UNIX /var/xapi/xapi
xapi: [error|janas27.crs4.it|0 thread_zero|dbsync (update_env) D:920078bd901b|dbsync] Cannot read IP address. Check the control interface has an IP address
xapi: [20120529T08:13:44.607Z|audit|janas27.crs4.it|13 UNIX /var/xapi/xapi|host.sync_pif_currently_attached D:23850c2f8537|audit] ('trackid=3263e3175f3d32e8da7985eb85232ebe' 'LOCAL_SUPERUSER' 'OpaqueRef:e7db6992-17be-646e-25e8-fdbf0726e7ba' 'ALLOWED' 'OK' 'API' 'host.sync_pif_currently_attached' (('host' 'janas27.crs4.it' 'fe53f96e-4b6d-ecfb-44d9-3062af7383cf' 'OpaqueRef:e7db6992-17be-646e-25e8-fdbf0726e7ba')))
xapi: [error|janas27.crs4.it|0 thread_zero|dbsync (update_env) D:920078bd901b|dbsync] Cannot read IP address. Check the control interface has an IP address
xapi: [error|janas27.crs4.it|0 thread_zero|dbsync (update_env) D:920078bd901b|dbsync] Cannot read master IP address. Check the control interface has an IP address
fe: 2442 (/sbin/ethtool -K eth0 gro off lro off) exitted with code 92
xapi: [error|janas27.crs4.it|0 thread_zero|Bringing up physical PIFs D:4fce54d7a42c|xapi] Network configuration error: script error
fe: 2446 (/sbin/ip addr show dev xenbr1) exitted with code 255
fe: 2494 (/sbin/ethtool -K eth1 gro off lro off) exitted with code 92
xapi: [error|janas27.crs4.it|0 thread_zero|Bringing up physical PIFs D:4fce54d7a42c|xapi] Network configuration error: script error

I think there is something misconfigured but i don't know where.

Some strange behaviors:
- when the machine boot I can see the kernel messages:
Starting the XCP networking daemon: Bridge firewalling registered
device eth0 entered promiscuous mode
xenbr0: port 1(eth0) entering learning state
xenbr0: port 1(eth0) entering forwarding state
but according to brctl there is not stp active
bridge name     bridge id               STP enabled     interfaces
xenbr0             8000.00e08133bde0       no              eth0


Any suggestions?
--
Muriel

ps: if someone is interested can find the srpms under
http://rpm.crs4.it/epel/testing/SRPMS/





_______________________________________________
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®.