Submitted by mmi on Mon, 09/03/2012 - 09:07 Pro Licensee
When i add a XenServer Host under cloudmin, it doesnt display the network interfaces. So i cannot add new VMs of make modifications to my network interfaces.
I followed "Adding an existing Xen Host System" from http://www.virtualmin.com/documentation/cloudmin/virtualization/citrix and also installed Webmin after that but if you look at the screen shot, the network interface just displays blank
Please let me know how to fix this
Thanks a lot Arnab
Status:
Closed (fixed)
Comments
Submitted by mmi on Mon, 09/03/2012 - 09:12 Pro Licensee Comment #1
Seems like i cant upload the screen shot as its giving me an error
An HTTP error 0 occurred. /comment-upload/js
But to clarify when i select the server, click on system configuration>Network Interfaces - on the right hand side it doesnt display any network interfaces but gives me the option to Add virtual or physical network interfaces.
If i try to create a physical interface, i get the error Failed to get list of network interfaces : net::boot_interfaces failed : Undefined subroutine &net::boot_interfaces called at (eval 1088) line 2, line 2.
Thanks Arnab
Submitted by JamieCameron on Mon, 09/03/2012 - 12:22 Comment #2
Is this VM running Linux, or some other OS?
Also, do you have Cloudmin installed on the XenServer host, or on a separate system?
Submitted by mmi on Mon, 09/03/2012 - 15:45 Pro Licensee Comment #3
-Yes the machine is running Linux (ubuntu and centos have the same issue) -Cloudmin is installed another kvm virtualized server (cloudmin master is not virtualized)
Looking forward to some kind of solution.
Regards,
Mario (in absence of Arnab)
Submitted by JamieCameron on Mon, 09/03/2012 - 20:54 Comment #4
Could you try adding the line
error_stack=1
to the file/etc/webmin/config
and then re-visiting the System Configuration -> Network Interfaces page? I'd like to see the full error message that is now displayed..Submitted by mmi on Wed, 09/05/2012 - 03:21 Pro Licensee Comment #5
right now, the config file is [root@vHost-185 webmin]# cat /etc/webmin/config ld_env=LD_LIBRARY_PATH passwd_cindex=2 passwd_uindex=0 find_pid_command=ps auwwwx | grep NAME | grep -v grep | awk '{ print $2 }' path=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin passwd_pindex=1 passwd_mindex=4 passwd_file=/etc/shadow tempdelete_days=7 by_view=0 os_type=generic-linux os_version=2.6 real_os_type=Generic Linux real_os_version=2.6 log=1 referers_none=1 md5pass=1 theme=blue-theme product=webmin error_stack=1
But it still gives the same error even after restarting webmin with the new configuration. I dont see a detailed error message.
I am sending two screen shots 1) http://imageshack.us/photo/my-images/708/networkinterfaces.jpg - is what i see when i click on network interfaces 2) http://img651.imageshack.us/img651/5163/errorrealinterface.jpg - is the error message i get after trying to create a real interface
Thanks Arnab
Submitted by JamieCameron on Wed, 09/05/2012 - 13:06 Comment #6
Is that
/etc/webmin/config
file from the VM, or the Cloudmin master?Which exact Linux distribution is the VM and master running? Based on that config file, it looks like the distribution wasn't detected properly, which would cause the errors you have been seeing.
Submitted by mmi on Thu, 09/06/2012 - 04:11 Pro Licensee Comment #7
Hi Jamie
The config is updated both in VM and in the master.
We have 10 servers added to Cloudmin. 8 CentOS KVMs (which are doing fine) and 2 Citrix XenServer Host 6.0.2 (which are not displaying the network interfaces).
But now i do see these errors when trying to add real interfaces:
Failed to get list of network interfaces : net::boot_interfaces failed : Undefined subroutine &net::boot_interfaces called at (eval 1088) line 2, line 2.
Call Stack Trace
File Line Function
/usr/libexec/webmin/server-manager/save_iface.cgi 17 WebminCore::error
(eval 246) 6 (eval)
/usr/libexec/webmin/miniserv.pl 2311 (eval)
/usr/libexec/webmin/miniserv.pl 907 miniserv::handle_request
Thanks Arnab
Submitted by JamieCameron on Thu, 09/06/2012 - 18:16 Comment #8
So what have you installed on the XenServer host systems exactly? In a typical Cloudmin setup, nothing needs to be installed on a XenServer host system..
Submitted by JamieCameron on Thu, 09/06/2012 - 18:23 Comment #9
Actually, there is a Cloudmin bug here - it should better handle systems like XenServer where it doesn't know how to configure network interfaces, rather than just failing.
Submitted by arnabsen on Tue, 09/11/2012 - 03:50 Comment #10
is there any update on this?
Thanks Arnab
Submitted by JamieCameron on Tue, 09/11/2012 - 13:15 Comment #11
You may have to wait till the next Cloudmin release for a proper fix..
But until then, can you tell what you have installed on your XenServer host systems? There should be no need to install Webmin or Cloudmin on them..
Submitted by mmi on Wed, 09/12/2012 - 03:01 Pro Licensee Comment #12
Hi,
I (mario) must take over this call, because Arnab has other things to do. So may be I ask the same questions again, but I shall try to make it so clear as possible what we try to accomplish.
The environment: 10 bladeserver, each with 4 x 1Gb/s (2 for iscsi-storage, 1 for network vlans, 1 for management) 1 iscsi san
First setup: KVM on centos: vlan 3 (br0.3) and 4(br0.4) configured on nic 1 (br0)
Pro's: It works - Con's: storage layer is less efficient, management(knowledge) is different from production virtualization platform.
The new goal: Migrate blade-servers from KVM to Citrix Xenserver with 'out of the box' clustered iscsi volumes (more efficient)
Problems: I can only see (via cloudmin > host systems > citrix xen host systems >vhost-12345 >network-options) the interfaces xenbr0/1/2/3. If I add (via xencenter) vlan 3 (xapi4) and 4 (xapi5) on the xenserver, it does not show in interfaces list. So I cant assign the correct vlan to the vServers.
Is this the bug?
What is the timeframe fro the new realease of cloudmin?
Greetings,
Mario
Submitted by JamieCameron on Wed, 09/12/2012 - 14:46 Comment #13
Regarding the problem with xapi4 and xapi5 not showing up - if you run the command
brctl list
on the host system, are they listed?Submitted by mmi on Thu, 09/13/2012 - 04:32 Pro Licensee Comment #14
Hi,
this is what I see (list=show)
[root@vHost-185 ~]# brctl show
bridge namebridge idSTP enabledinterfaces
xenbr0 0000.0015c5fcb79bno eth0
xenbr1 0000.0015c5fcb79dno eth1
xapi4
xapi5
xenbr2 0000.001422ff57c0no eth2
xenbr3 0000.001422ff57c1no eth3
Part of ifconfig
xapi4 Link encap:Ethernet HWaddr 00:15:C5:FC:B7:9D
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:53595 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3496430 (3.3 MiB) TX bytes:0 (0.0 b)
xapi5 Link encap:Ethernet HWaddr 00:15:C5:FC:B7:9D
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:54447 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3468140 (3.3 MiB) TX bytes:0 (0.0 b)
xenbr1 Link encap:Ethernet HWaddr 00:15:C5:FC:B7:9D
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:119201 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
eth1 Link encap:Ethernet HWaddr 00:15:C5:FC:B7:9D
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2143776 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:150150011 (143.1 MiB) TX bytes:0 (0.0 b)
Interrupt:16 Memory:f4000000-f4012800
RX bytes:8156384 (7.7 MiB) TX bytes:0 (0.0 b)
bye,
Mario
Submitted by JamieCameron on Thu, 09/13/2012 - 13:01 Comment #15
So it looks like those VLANs are connected to the xenbr1 bridge. If you want a VM to use those VLANs, you would need to select the xenbr1 bridge at creation time, or when adding an interface..
Submitted by mmi on Fri, 09/14/2012 - 04:52 Pro Licensee Comment #16
If I create a VM than I must to connect it to a XAPI, because the XAPI is the vlan. The xenbr is just a TRUNK of multiple vlans. So I don't understood your solution, because it will not connect the VM to the needed vlan.
Or do I not understand what you mean?
best,
MArio
Submitted by JamieCameron on Fri, 09/14/2012 - 16:24 Comment #17
I may be misunderstanding how VLANs work with Citrix Xen.
Can you configure a bridge in the way you want using the XenCenter application?
Submitted by mmi on Wed, 10/03/2012 - 05:01 Pro Licensee Comment #18
Hi Jamie,
Sorry for the late reply, I was a few weeks off. Lets continue.
What I try to say is
When I only have 4 nics I see in cloudmin xenbr0-4 (which is correct) On the console of the Citrix xenserver you see: [root@vHost-185 ~]# brctl show bridge namebridge id STP enabled interfaces xenbr0 0000.0015c5fcb79b no eth0 xenbr1 0000.0015c5fcb79d no eth1 xenbr2 0000.001422ff57c0 no eth2 xenbr3 0000.001422ff57c1 no eth3
If I add vlans with citrix xencenter I see:
xenbr0 0000.0015c5fcb79b no eth0 xenbr1 0000.0015c5fcb79d no eth1 xapi0 xapi1 xenbr2 0000.001422ff57c0 no eth2 xenbr3 0000.001422ff57c1 no eth3
xapi0 is the corresponding vlan 963 added to bridge xenbr1 xapi1 is the corresponding vlan 964 added to bridge xenbr1
with ifconfig, you see the same HW addresses as eth1
xapi0 Link encap:Ethernet HWaddr 00:15:C5:FC:B7:9D
xapi1 Link encap:Ethernet HWaddr 00:15:C5:FC:B7:9D
So from the XenCenter perspective it is configured
If I add this server to cloudmin and go to system configuration > network interfaces > I don't see any interface.
If I register the host as citrix xenserver and click on the xenhost -> network options . I see only the Xenbr0-3 not the xapi interface. Also I have added some 'IP address allocation ranges'but also there I can only chose (header Bridge) from the xenbr0-3 and not the xapi's.
What to do now?
Best Mario
Submitted by JamieCameron on Wed, 10/03/2012 - 16:07 Comment #19
In Cloudmin, the Network Interfaces page only shows interfaces that are configured in Linux on the VM.
If you add the interface you want using XenCenter, can you SSH into the VM and see it with the
ifconfig -a
command?Submitted by mmi on Fri, 05/03/2013 - 05:35 Pro Licensee Comment #20
We stopped using xenserver and switched to kvm.