【正文】
ID Mem(MiB) VCPUs State Time(s) Domain0 0 7931 8 r 查 看網(wǎng) 橋設(shè)備 [roothdfs05 ~] brctl show bridge name bridge id STP enabled interfaces virbr0 yes xenbr0 no peth0 xenbr1 no peth1 (7)半虛 擬 化安裝〃 選擇 nat上網(wǎng)方式、 IP配置使用 DHCP 方式 時 〃虛 擬 機系 統(tǒng) 安裝 過 程卡在 TCP/IP 配置界面〃停滯不前 半虛 擬 化安裝 時 〃 選擇 nat 上網(wǎng)方式〃 IP 配置使用 DHCP 方式〃此 時 卡在 TCP/IP 配置界面〃 Xen Sending request for IP information for eth0 不能成功 , 卡在 這 里〃不能通 過 。 if the 6 driver is piled statically into the kernel, then you may set the parameter 7 using =N on the domain 0 kernel mand line. 8 使用腳本手 動 啟 動 〃出 現(xiàn)錯誤 [roothdfs05 ~] /etc/xen/scripts/workbridge status ============================================================ 2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:1d:7d:48:38:1a brd ff:ff:ff:ff:ff:ff i i6 fe80::21d:7dff:fe48:381a/64 scope link valid_lft forever preferred_lft forever Device xenbr0 does not exist. [roothdfs05 ~] /etc/xen/scripts/workbridge start Link veth0 is missing. This may be because you have reached the limit of the number of interfaces that the loopback driver supports. If the loopback driver is a module, you may raise this limit by passing it as a parameter (nloopbacks=N)。) 這 是 xenbr0、 未啟 動導(dǎo) 致的 問題 。, conn=self) libvirtError: virDomainCreateLinux() failed POST操作失 敗 : ( 39。) Traceback (most recent call last): File /usr/bin/virtinstall, line 502, in ? main() File /usr/bin/virtinstall, line 462, in main dom = (conscb,progresscb) File /usr/lib/, line 813, in start_install return (consolecb, meter) File /usr/lib/, line 834, in _do_install = (install_xml, 0) File /usr/lib64/, line 573, in createLinux if ret is None:raise libvirtError(39。 otherwise, please restart your installation. 二 , 26 4月 2020 09:23:28 ERROR virDomainCreateLinux() failed POST操作失 敗 : ( 39。) Domain installation may not have been successful. If it was, you can restart your domain by running 39。 網(wǎng)站上 說 〃啟 動 虛 擬 機 橋 接 設(shè)備 需要 這樣 幾個內(nèi)核模 塊 支持: bk 〃 loop〃于是我使用 modprobe 命令手 動 加 載 了 這 兩個模 塊 〃并且重新啟 動 了 xend〃 這 是生成了網(wǎng) 橋設(shè)備 xenbr0〃 我的 測試 和使用日志如下: 安裝虛 擬 機系 統(tǒng)時 〃出 現(xiàn) 以下 錯誤 : virtinstall n r 2048 vcpus=4 f s 20 nographic l [roothdfs05 ] ./ Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodified operating systems. yes Starting install... Retrieving file .treeinfo 100% |=========================| 417 B 00:00 Retrieving file . 100% |=========================| 10 MB 00:00 Creating storage file... 100% |=========================| 20 GB 00:00 virDomainCreateLinux() failed POST操作失 敗 : ( 39。安裝完 畢 〃重啟系 統(tǒng) 后 創(chuàng) 建虛 擬 機〃 該問題 不再出 現(xiàn) 。) 39。, conn=self) libvirtError: virDomainCreateLinux() failed POST操作失 敗 : ( 39。) Traceback (most recent call last): File /usr/share/virtmanager/virtManager/, line 611, in do_install dom = (False, meter = meter) File /usr/lib/, line 813, in start_install return (consolecb, meter) File /usr/lib/, line 834, in _do_install = (install_xml, 0) File /usr/lib64/, line 573, in createLinux if ret is None:raise libvirtError(39。 virDomainCreateLinux() failed POST操作失 敗 : ( 39。 virDomainCreateLinux() failed POST 操作失 敗 : ( 39。: 拒 絕連 接 解決: 修改 Xend 配置文件〃然后〃 xend restart [rootgmnode14 ] vim /etc/xen/ (xendserver yes) (xendunixserver yes) (xendport 8000) (5) virtmanager 安裝 Xen虛 擬 機 連 接網(wǎng) 絡(luò)時 nat和 橋 接 設(shè)備 均 為 空,無法 選擇 ,安裝不能 繼續(xù) 分析原因: 出 現(xiàn) 此 報錯應(yīng)該 是主機的 libvirtd服 務(wù) 沒有啟 動 〃 而 virtinstall工具在 進(jìn) 行客 戶 機系 統(tǒng) 安裝的 時 候 錯誤 地將客 戶 機的網(wǎng)卡 連 接到 libvirtd服 務(wù) 起的網(wǎng) 橋 virbr0上〃此 時 libvirtd是關(guān) 閉 的〃所以 virbr0也不存在了〃就出 現(xiàn) 了上面的 錯誤 信息。) libvirtError: 無法 連 接到 39。: 拒 絕連 接 Traceback (most recent call last): File /usr/sbin/virtinstall, line 861, in ? main() File /usr/sbin/virtinstall, line 636, in main conn = () File /usr/lib/, line 126, in getConnection conn = (connect) File /usr/lib64/, line 159, in open if ret is None:raise libvirtError(39。: 拒絕連 接 [rootgmnode14 ] virtinstall n r 1024 vcpus=4 f s 20 nographic l nfs::/opt/CentOS/mirrors/ ERROR 無法 連 接到 39。) libvirtError: virConnectOpenReadOnly() failed 解決: 修改 xen 配置文件〃按如下方式修改: [rootglnode04 ~] vim /etc/xen/ (xendserver yes) (xendunixserver yes) 重新啟 動 Xend 服 務(wù) [rootglnode04 ~] xend restart (4) virtinstall 安裝虛 擬 機是出 現(xiàn)錯誤 : ERROR 無法 連 接到 39。 virConnectOpenReadOnly() failed Traceback (most rece