1. 實例不能PXE啓動
問題如下:
創建vm沒有任何報錯,打開控制檯提示:
SeaBIOS (versio xxxxxxx)
Machine UUID xxxxxxxxxx
iPXE (http://ipxe.org) 00.03.0 C980 PCI2.10 PnP PMM
導致這個問題的原因在於centos7.3源中的qemu1.5版本低,更新一下qemu版本即可
[root@compute01 ~]# yum install -y centos-release-qemu-ev.noarch
[root@compute01 ~]# yum update -y
查看更新後的版本爲qemu2.6,之前是1.5
[root@compute01 ~]# virsh version
Compiled against library: libvirt 2.0.0
Using library: libvirt 2.0.0
Using API: QEMU 2.0.0
Running hypervisor: QEMU 2.6.0
轉載自:http://www.cnblogs.com/menkeyi/p/6689256.html
======================================================================================
2. dashboard能正常登陸,能做一系列的操作,但在做刪除操作時會報如下錯誤。
日誌如下所示
報UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128)是轉碼失敗
解決辦法:
在/etc/OpenStack-dashboard/local_settings中加入相關模塊
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
加入後local_settings如下圖所示:
最後重啓http和memcached服務
systemctl start httpd.service memcached.service
轉載自:http://blog.csdn.net/wylfengyujiancheng/article/details/49681799
======================================================================================
3.安裝openstack-dashboard時出現的python compress command not found錯誤 httpd服務啓動失敗
本文出自 “紛繁中享受技術的簡單喜悅” 博客,請務必保留此出處http://51enjoy.blog.51cto.com/8393791/1891410
4. openstack kilo版本啓動httpd失敗,報ImportError: cannot import name importlib錯誤
這個是因爲centos7.3 用pip升級django-pyscss後django自動升級到了django-1.11.4版,換成低版本的django就好了(好像是從django-1.9開始django.utils裏就沒有importlib了),我這裏從新安裝了django-1.8.18,再啓動httpd就能正常啓動了