Ask Your Question
0

vm instance vnet disappeared [closed]

asked 2018-11-28 21:38:04 -0600

dan5 gravatar image

hi all,my openstack version is queens,after a few days test,i found something strange like this,: virsh # list

Id Name State

30 instance-00000027 running 31 instance-00000022 running

virsh # domiflist 31

Interface Type Source Model MAC

virsh # pls hope for your help.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dan5
close date 2018-11-29 06:32:32.251370

Comments

A few suggestions what you could check:

  • The OpenStack status of this instance
  • Neutron agent log and libvirt log on the compute node
  • virsh dumpxml | grep tap
  • If the TAP interface exists anyway
Bernd Bausch gravatar imageBernd Bausch ( 2018-11-28 22:05:06 -0600 )edit

thanks for your syggestions,I have already check that,nova does not pass the interface to the xml file. and comapre with a normal instance's start log,this vm do not has network-vif-plugged,i don,t know why this happened.

dan5 gravatar imagedan5 ( 2018-11-28 22:52:15 -0600 )edit

I guess it also depends on how the instance was launched. It's possible to create a server without network connection, for example.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-29 00:18:06 -0600 )edit

i am pretty sure that it has vnet at first,and the newly instance created in 10 days,do not has this problems.,but vm createed before 10days,all start without vnet.what can i do to figure how this happened?

dan5 gravatar imagedan5 ( 2018-11-29 00:28:43 -0600 )edit

You could use auditing to get a trace when it happens again in the future, but off-the-cuff I don't know how to set up auditing for operations on network interfaces.

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-29 01:30:24 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-11-29 06:32:03 -0600

dan5 gravatar image

I found the vnet info in database was deleted.thanks all.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-11-28 21:29:42 -0600

Seen: 16 times

Last updated: Nov 28 '18