There is also openstack built by the oldest version of centos at home, vm has always been an error

image.pngThere is also openstack built by the oldest version of centos at home, vm has always been an error

I checked ifconfig 10.0.0.11 is normal. brqxxx occupies 10.0.0.11 address!

But the ifconfig of 10.0.0.31 is abnormal. brqxxx does not occupy 10.0.0.31 address!


Baidu check: openstack ifconfig brq no ip

See two articles https://blog.csdn.net/wangjinruifly/article/details/79765198?utm_source=blogxgwz8

image.png

Article 2

https://www.cnblogs.com/linuxk/p/9455420.html


image.png



Know some query commands


I probably checked the openstack component configuration file.

I think it is necessary to check why the ifconfig of 10.0.0.31 is abnormal. brqxxx does not occupy 10.0.0.31 address! Is it a problem with libvirtd.service, or

One more network bridge brqxxxxx, and the previous configuration of the IP address of the physical network card enoxxxx is assigned to the network bridge. View bridge information through brctl:

$ brctl show brqxxxx view information and 10.0.0.11 are correct, there are obvious differences! ! ! Caused

image.png

image.png



[root@compute1 ~]# ifconfig

brq7a72ae73-18: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::f81f:a0ff:fec4:756c  prefixlen 64  scopeid 0x20<link>

        ether fa:1f:a0:c4:75:6c  txqueuelen 0  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 8  bytes 648 (648.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


brqe61c94f3-df: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet6 fe80::d0fb:9fff:fee8:e18b  prefixlen 64  scopeid 0x20<link>

        ether d2:fb:9f:e8:e1:8b  txqueuelen 0  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 8  bytes 648 (648.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 10.0.0.31  netmask 255.255.255.0  broadcast 10.0.0.255

        inet6 fe80::20c:29ff:febb:476e  prefixlen 64  scopeid 0x20<link>

        ether 00:0c:29:bb:47:6e  txqueuelen 1000  (Ethernet)

        RX packets 6984  bytes 1389212 (1.3 MiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 7968  bytes 5947314 (5.6 MiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536

        inet 127.0.0.1  netmask 255.0.0.0

        inet6 ::1  prefixlen 128  scopeid 0x10<host>

        loop  txqueuelen 0  (Local Loopback)

        RX packets 10135  bytes 535279 (522.7 KiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 10135  bytes 535279 (522.7 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500

        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255

        ether 52:54:00:0c:58:76  txqueuelen 0  (Ethernet)

        RX packets 0  bytes 0 (0.0 B)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 0  bytes 0 (0.0 B)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# brctl show ^C

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# brctl show brq7a72ae73-18

bridge name     bridge id               STP enabled     interfaces

brq7a72ae73-18 8000.000000000000 no

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# brctl show brqe61c94f3-df

bridge name     bridge id               STP enabled     interfaces

brqe61c94f3-df          8000.000000000000       no

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# brctl show brq7a72ae73-18

bridge name     bridge id               STP enabled     interfaces

brq7a72ae73-18 8000.000000000000 no

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# virsh list --all

 Id 钖rugged О bell rudder €

----------------------------------------------------


[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# systemctl status libvirt

Unit libvirt.service could not be found.

[root@compute1 ~]# systemctl status libvirt

libvirtd.service        libvirt-guests.service  

[root@compute1 ~]# systemctl status libvirt

libvirtd.service        libvirt-guests.service  

[root@compute1 ~]# systemctl status libvirt

libvirtd.service        libvirt-guests.service  

[root@compute1 ~]# systemctl status libvirt

libvirtd.service        libvirt-guests.service  

[root@compute1 ~]# systemctl status libvirt

libvirtd.service        libvirt-guests.service  

[root@compute1 ~]# systemctl status libvirt

libvirtd.service        libvirt-guests.service  

[root@compute1 ~]# systemctl status libvirt

Unit libvirt.service could not be found.

[root@compute1 ~]# 

[root@compute1 ~]# systemctl status libvirtd.service 

鈼[0m libvirtd.service - Virtualization daemon

   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)

   Active: active (running) since 浜2020-10-27 22:00:41 CST; 29min ago

     Docs: man:libvirtd(8)

           https://libvirt.org

 Main PID: 1304 (libvirtd)

   CGroup: /system.slice/libvirtd.service

           Beryllium sbin 1304 /usr/sbin/libvirtd

           鈹溾攢2540 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelpe...

           鈹斺攢2542 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelpe...


10chain 27 22:17:22 compute1 libvirtd[1304]: 2020-10-27 14:17:22.296+0000: 2348: error: virNetSocketNewConnectUNIX:712: 灏嗘彃妲borrowed 鎺ュ埌'/var/鈥鎷Jealous

10Chain 27 22:17:22 compute1 libvirtd[1304]: 2020-10-27 14:17:22.297+0000: 2348: error: virNetSocketNewConnectUNIX:712: 灏嗘彃妲borrowed 鎺ュ埌'/var/鈥鎷Jealous

10鏈27 22:19:18 compute1 dnsmasq[2540]: no servers found in /etc/resolv.conf, will retry

10鏈27 22:19:18 compute1 dnsmasq[2540]: reading /etc/resolv.conf

10鏈27 22:19:18 compute1 dnsmasq[2540]: using nameserver 223.5.5.5#53

10鏈27 22:19:29 compute1 dnsmasq[2540]: no servers found in /etc/resolv.conf, will retry

10鏈27 22:19:29 compute1 dnsmasq[2540]: reading /etc/resolv.conf

10鏈27 22:19:29 compute1 dnsmasq[2540]: using nameserver 223.5.5.5#53

10Chain 27 22:21:21 compute1 libvirtd[1304]: 2020-10-27 14:21:21.645+0000: 2350: error: virNetSocketNewConnectUNIX:712: 灏嗘彃妲borrowed 鎺ュ埌'/var/鈥鎷Jealous

10Chain27 22:21:21 compute1 libvirtd[1304]: 2020-10-27 14:21:21.646+0000: 2350: error: virNetSocketNewConnectUNIX:712: 灏嗘彃妲borrowed 鎺ュ埌'/var/鈥鎷Jealous

Hint: Some lines were ellipsized, use -l to show in full.

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# systemctl restart libvirtd

[root@compute1 ~]# systemctl status libvirtd.service 

鈼[0m libvirtd.service - Virtualization daemon

   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)

   Active: active (running) since 浜2020-10-27 22:31:13 CST; 1s ago

     Docs: man:libvirtd(8)

           https://libvirt.org

 Main PID: 6280 (libvirtd)

   CGroup: /system.slice/libvirtd.service

           鈹溾攢2540 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelpe...

           鈹溾攢2542 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelpe...

           Beryllium condensed 6280 /usr/sbin/libvirtd


10鏈27 22:31:13 compute1 dnsmasq[2540]: read /etc/hosts - 4 addresses

10鏈27 22:31:13 compute1 dnsmasq[2540]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses

10鏈27 22:31:13 compute1 dnsmasq-dhcp[2540]: read /var/lib/libvirt/dnsmasq/default.hostsfile

10鏈27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.043+0000: 6296: info : libvirt version: 4.5.0, package: 33.el7_8.1 (CentOS B...tos.org)

10鏈27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.043+0000: 6296: info : hostname: compute1

10Chain 27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.043+0000: 6296: warning: virGetUserIDByName:1005: User record for user'ts鈥︽枃浠機垨鐩綍

10Chain 27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.043+0000: 6296: error: virGetUserID:1043 'Chan braid touch

10Chain27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.044+0000: 6296: warning: virGetGroupIDByName:1085: Group record for user'鈥︽枃浠浠極垨鐩綍

10Chain 27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.044+0000: 6296: error: virGetGroupID:1123: 镞犳晥鍙傛暟锛氲В鏋愮粍'tss' Chan braid touch

10鏈27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.105+0000: 6296: warning : virQEMUCapsInit:955 : Failed to get host CPU cache info

Hint: Some lines were ellipsized, use -l to show in full.

[root@compute1 ~]# systemctl status libvirtd.service 

鈼[0m libvirtd.service - Virtualization daemon

   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)

   Active: active (running) since 浜2020-10-27 22:31:13 CST; 7s ago

     Docs: man:libvirtd(8)

           https://libvirt.org

 Main PID: 6280 (libvirtd)

   CGroup: /system.slice/libvirtd.service

           鈹溾攢2540 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelpe...

           鈹溾攢2542 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelpe...

           Beryllium condensed 6280 /usr/sbin/libvirtd


10鏈27 22:31:13 compute1 dnsmasq[2540]: read /etc/hosts - 4 addresses

10鏈27 22:31:13 compute1 dnsmasq[2540]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses

10鏈27 22:31:13 compute1 dnsmasq-dhcp[2540]: read /var/lib/libvirt/dnsmasq/default.hostsfile

10鏈27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.043+0000: 6296: info : libvirt version: 4.5.0, package: 33.el7_8.1 (CentOS B...tos.org)

10鏈27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.043+0000: 6296: info : hostname: compute1

10Chain 27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.043+0000: 6296: warning: virGetUserIDByName:1005: User record for user'ts鈥︽枃浠機垨鐩綍

10Chain 27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.043+0000: 6296: error: virGetUserID:1043 'Chan braid touch

10Chain27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.044+0000: 6296: warning: virGetGroupIDByName:1085: Group record for user'鈥︽枃浠浠極垨鐩綍

10Chain 27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.044+0000: 6296: error: virGetGroupID:1123: 镞犳晥鍙傛暟锛氲В鏋愮粍'tss' Chan braid touch

10鏈27 22:31:14 compute1 libvirtd[6280]: 2020-10-27 14:31:14.105+0000: 6296: warning : virQEMUCapsInit:955 : Failed to get host CPU cache info

Hint: Some lines were ellipsized, use -l to show in full.

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 

[root@compute1 ~]# 


Guess you like

Origin blog.51cto.com/8189171/2544552
Recommended