openstack 常见问题及解决方法
来源:互联网 发布:安康市 软件正版 编辑:程序博客网 时间:2024/06/09 21:59
1. 实例不能PXE启动
问题如下:
创建vm没有任何报错,打开控制台提示:
SeaBIOS (versio xxxxxxx)Machine UUID xxxxxxxxxxiPXE (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就能正常启动了
- openstack 常见问题及解决方法
- OPENSTACK常见问题及注意事项汇总
- SAP常见问题及解决方法
- Ext常见问题及解决方法
- Silverlight常见问题及解决方法
- Datastage常见问题及解决方法
- SEP常见问题及解决方法
- Hadoop常见问题及解决方法
- TWebBrower常见问题及解决方法
- Oracle常见问题及解决方法
- BusinessObject 常见问题及解决方法
- Qt 常见问题及解决方法
- mysql 常见问题及解决方法
- WMI常见问题及解决方法
- hadoop常见问题及解决方法
- 集群常见问题及解决方法
- 常见问题及解决方法
- adb常见问题及解决方法
- R极简教程-3:R及RStudio的安装
- 设计模式之原型模式的学习思考
- STL allocator 类探究
- _itoa_s出错的问题
- JavaMail实现邮箱验证码
- openstack 常见问题及解决方法
- 字符串相关工具类
- Ubuntu16.04安装后要做的一些事情
- 2、STM32基本接口驱动--IO 单总线 串口 SPI IIC
- 【HTML5入门】Jquery中获取控件值的三种方法
- Jquery.DataTable使用
- SDUT 1209 求实数绝对值
- 洛谷P3375 【模板】KMP字符串匹配
- grep