KVM image but not Openstack: network config fails

Go down

KVM image but not Openstack: network config fails

Post by pavlyuts on Mon Nov 12, 2018 6:41 pm

Hi All,

I trying KVM (not Openstack/KVM) image on Prpoxmox which is KVM + LXC virtual environment.

Image is freesbc_kvm_3.0.107.3_172_233929.qcow2.tar.gz

It runs up to the network device roles and fails on try to apply change on network.

Meanwhile, if I create exactly the same VM and install FreeSBC from "baremetal" ISO (freesbc_centos7_x86_64_3.0.107.3.170_233929.iso) it works!

I did some research to ensure that network config completely identical for the both case. It is!

In fact, there no network config at all. By default only ifcfg-lo config file created.

Tracks are adentical:

1. Deploy/install
2. No DHCP, go to the console and run "ip addr add {addr} dev eth0"
3. Go to http://{addr}:12358/
4. Go through setup process until network devices roles
5. Devs are visible, all marked as "SBC compatible".
6. Assign roles, no dedicated CPU, check, confirm
7. Success and reboot for ISO image. Error message for KVM image.



Very strange behaviour!

I can supply some extra/log data if you point me where to find it.

pavlyuts

Number of Messages : 9
Registration Date : 2018-11-10

Back to top Go down

Re: KVM image but not Openstack: network config fails

Post by Admin on Tue Nov 13, 2018 1:31 am

Hi

Would you send us your Proxmox Virtual machine settings for FreeSBC please?

Admin
Admin

Number of Messages : 184
Registration Date : 2017-11-27

http://forums.freesbc.com

Back to top Go down

Re: KVM image but not Openstack: network config fails

Post by pavlyuts on Tue Nov 13, 2018 1:40 am

Here it is:

Comments marked by /*, if ypu need to put it to config, please remove /* and all after


********************
bootdisk: scsi0
cores: 4
cpu: host
cpuunits: 2048
memory: 8192
name: sbc-main
net0: virtio=F6:21:32:81:AA:D8,bridge=vmbr0,tag=3 /* Management
net1: virtio=02:19:04:49:FA:C8,bridge=vmbr0,tag=5 /* Cluster network
net2: virtio=22:7A:78:0C:64:19,bridge=vmbr0,tag=21 /* Internal network
net3: virtio=72:2C:4F:E7:DF:62,bridge=vmbr0,tag=33 /* External network
numa: 0
onboot: 1
ostype: l26
scsi0: local:330/vm-330-disk-0.qcow2,cache=writethrough,size=40G
scsihw: virtio-scsi-pci
smbios1: uuid=d54586ea-1419-42d2-b2b8-8c0b09056bc6
sockets: 1
vcpus: 1
vmgenid: 4e43a228-69f6-46fe-b770-81598cdaf2eb

pavlyuts

Number of Messages : 9
Registration Date : 2018-11-10

Back to top Go down

Re: KVM image but not Openstack: network config fails

Post by pavlyuts on Tue Nov 13, 2018 1:42 am

While I was trying to find whi it sticks I come to the situation when it fais on iso omage installiation too.

It looks like is better to go into logfiles. Where they are? Wink

pavlyuts

Number of Messages : 9
Registration Date : 2018-11-10

Back to top Go down

Re: KVM image but not Openstack: network config fails

Post by Admin on Tue Nov 13, 2018 1:49 am

Thanks for sharing the Proxmox details. Would you change network type to e1000 please and try again.

Admin
Admin

Number of Messages : 184
Registration Date : 2017-11-27

http://forums.freesbc.com

Back to top Go down

Re: KVM image but not Openstack: network config fails

Post by pavlyuts on Tue Nov 13, 2018 2:17 am

Admin wrote:Thanks for sharing the Proxmox details. Would you change network type to e1000 please and try again.

I have changed network adaptor type and reattached image for full cleaness.



The result the same: "Failed to configure network devices roles. Please contact support team."

pavlyuts

Number of Messages : 9
Registration Date : 2018-11-10

Back to top Go down

Re: KVM image but not Openstack: network config fails

Post by Admin on Tue Nov 13, 2018 2:25 am

Would you contact support@telcobridges.com, please?

Admin
Admin

Number of Messages : 184
Registration Date : 2017-11-27

http://forums.freesbc.com

Back to top Go down

Re: KVM image but not Openstack: network config fails

Post by Admin on Tue Nov 13, 2018 3:11 am

Please use tbchangeip command to give management IP address if you don't have DHCP in your network. Don't run "ip addr add {addr} dev eth0".

Admin
Admin

Number of Messages : 184
Registration Date : 2017-11-27

http://forums.freesbc.com

Back to top Go down

Re: KVM image but not Openstack: network config fails

Post by pavlyuts on Wed Nov 14, 2018 2:04 am

The trouble was incorrect Proxmox VM setup.

Occasionally, VCPUs=1 was set. Thanks to Serdar from support, we found and reproduces that if VCPUs=1 parameter is set to 1 - installiation fails that place. If it's default value - everything runs ok for both ISO install and KVM image.

DHCP was finally used, but gues it does not matter.


pavlyuts

Number of Messages : 9
Registration Date : 2018-11-10

Back to top Go down

Re: KVM image but not Openstack: network config fails

Post by Admin on Wed Nov 14, 2018 2:31 am

Thanks for your feedback

Admin
Admin

Number of Messages : 184
Registration Date : 2017-11-27

http://forums.freesbc.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum