分享

openstack【juno】入门 【glance 篇】十二:glance安装配置验证及相关操作

pig2 发表于 2015-1-30 18:44:32 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 28 142418
pig2 发表于 2015-9-9 17:38:20

先看看这个视频:
about云1 openstack--keystone入门视频
http://www.aboutyun.com/thread-12235-1-1.html

先检查keystone是否正确,然后不断定位,glance是否有问题。
endpoint等等。不是一个原因




回复

使用道具 举报

liuwanbing1985 发表于 2015-9-24 19:34:34
贪吃的奶酪 发表于 2015-4-30 20:40
不用了,是镜像问题,已经搞好了,谢谢了.

遇到相同问题,但是日志报错不一样,你是怎么处理的镜像问题?请教下!!
回复

使用道具 举报

黑发洋葱头 发表于 2015-9-25 11:43:57
回复

使用道具 举报

leo_1989 发表于 2015-9-25 16:49:25
黑发洋葱头 发表于 2015-9-25 11:43
我的实例也失败
a6bd62c2-2d8b-4fba-a39c-2eefb791e1e1 | instance | ERROR  | -          | NOSTATE      ...

同一个问题,原因不一样的。根据楼主原因,参考这个。
【已解决】启动云主机时,No valid host was found.
http://www.aboutyun.com/thread-11203-1-1.html

如果不能解决提供更多的日志,或则核实下配置

回复

使用道具 举报

黑发洋葱头 发表于 2015-9-29 09:24:05
目前还是未解决,message报错如下
Sep 28 17:25:07 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 172.16.100.13 54:9f:35:12:1a:58 no address available
Sep 28 17:25:11 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 00:e0:81:e3:73:af no address available
Sep 28 17:25:14 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 00:e0:81:e3:73:af no address available
Sep 28 17:25:17 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 00:e0:81:e3:73:af no address available
Sep 28 17:25:23 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 172.16.100.13 54:9f:35:12:1a:58 no address available
Sep 28 17:25:38 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 172.16.100.13 54:9f:35:12:1a:58 no address available
Sep 28 17:25:40 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 00:e0:81:e3:73:af no address available
Sep 28 17:25:43 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 00:e0:81:e3:73:af no address available
Sep 28 17:25:46 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 00:e0:81:e3:73:af no address available
Sep 28 17:26:09 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 00:e0:81:e3:73:af no address available
Sep 28 17:26:12 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 00:e0:81:e3:73:af no address available
Sep 28 17:26:16 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 00:e0:81:e3:73:af no address available
Sep 28 17:26:20 compute-1-5 kvm: 1 guest now active
Sep 28 17:26:20 compute-1-5 avahi-daemon[935]: Withdrawing address record for 172.16.100.15 on em1.
Sep 28 17:26:20 compute-1-5 avahi-daemon[935]: Leaving mDNS multicast group on interface em1.IPv4 with address 172.16.100.15.
Sep 28 17:26:20 compute-1-5 avahi-daemon[935]: Interface em1.IPv4 no longer relevant for mDNS.
Sep 28 17:26:20 compute-1-5 dnsmasq[29149]: failed to load names from /var/lib/nova/networks/nova-br100.hosts: No such file or directory
Sep 28 17:26:20 compute-1-5 dnsmasq-dhcp[29149]: read /var/lib/nova/networks/nova-br100.conf
Sep 28 17:26:20 compute-1-5 dnsmasq-dhcp[29149]: read /var/lib/nova/networks/nova-br100.opts
Sep 28 17:26:21 compute-1-5 kernel: kvm [30367]: vcpu0 unhandled rdmsr: 0x345
Sep 28 17:26:21 compute-1-5 kernel: kvm_set_msr_common: 54 callbacks suppressed
Sep 28 17:26:21 compute-1-5 kernel: kvm [30367]: vcpu0 unhandled wrmsr: 0x680 data 0
Sep 28 17:26:21 compute-1-5 kernel: kvm [30367]: vcpu0 unhandled wrmsr: 0x6c0 data 0
Sep 28 17:26:21 compute-1-5 kernel: kvm [30367]: vcpu0 unhandled wrmsr: 0x681 data 0
Sep 28 17:26:21 compute-1-5 kernel: kvm [30367]: vcpu0 unhandled wrmsr: 0x6c1 data 0
Sep 28 17:26:21 compute-1-5 kernel: kvm [30367]: vcpu0 unhandled wrmsr: 0x682 data 0
Sep 28 17:26:21 compute-1-5 kernel: kvm [30367]: vcpu0 unhandled wrmsr: 0x6c2 data 0
Sep 28 17:26:21 compute-1-5 kernel: kvm [30367]: vcpu0 unhandled wrmsr: 0x683 data 0
Sep 28 17:26:21 compute-1-5 kernel: kvm [30367]: vcpu0 unhandled wrmsr: 0x6c3 data 0
Sep 28 17:26:21 compute-1-5 kernel: kvm [30367]: vcpu0 unhandled wrmsr: 0x684 data 0
Sep 28 17:26:21 compute-1-5 kernel: kvm [30367]: vcpu0 unhandled wrmsr: 0x6c4 data 0
Sep 28 17:26:22 compute-1-5 kvm: 0 guests now active
Sep 28 17:26:39 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 00:e0:81:e3:73:af no address available
Sep 28 17:26:42 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100) 00:e0:81:e3:73:af no address available

回复

使用道具 举报

黑发洋葱头 发表于 2015-9-29 14:09:55
黑发洋葱头 发表于 2015-9-29 09:24
目前还是未解决,message报错如下
Sep 28 17:25:07 compute-1-5 dnsmasq-dhcp[29149]: DHCPDISCOVER(br100 ...

并不是因为AMPQ连接问题,看起来像是分配虚拟机资源这块儿出错导致,以上message是计算节点的日志

回复

使用道具 举报

黑发洋葱头 发表于 2015-9-29 14:11:52
leo_1989 发表于 2015-9-25 16:49
同一个问题,原因不一样的。根据楼主原因,参考这个。
【已解决】启动云主机时,No valid host was foun ...

并不是因为AMPQ连接问题,看起来像是分配虚拟机资源这块儿出错导致,以上message是计算节点的日志
回复

使用道具 举报

ZHOU_GONG 发表于 2016-12-20 20:36:39
[root@controller ~]# glance image-create --name centos6.5 --disk-format qcow2 --container-format bare --is-public True --progress < /opt/centos_65_x86_6420140327.qcow2
[=============================>] 100%
Invalid OpenStack Identity credentials.
回复

使用道具 举报

a7260488 发表于 2017-10-22 00:21:06
[root@controller ~]#  su -s /bin/sh -c "glance-manage db_sync" glance
Option "verbose" from group "DEFAULT" is deprecated for removal.  Its value may be silently ignored in the future.
/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:1241: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade
  expire_on_commit=expire_on_commit, _conf=conf)
日志显示 错误
tail -f /var/log/glance/api.log
2017-10-21 23:48:19.034 4610 ERROR glance   File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1124, in _request_authentication
2017-10-21 23:48:19.034 4610 ERROR glance     auth_packet = self._read_packet()
2017-10-21 23:48:19.034 4610 ERROR glance   File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 991, in _read_packet
2017-10-21 23:48:19.034 4610 ERROR glance     packet.check_error()
2017-10-21 23:48:19.034 4610 ERROR glance   File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 393, in check_error
2017-10-21 23:48:19.034 4610 ERROR glance     err.raise_mysql_exception(self._data)
2017-10-21 23:48:19.034 4610 ERROR glance   File "/usr/lib/python2.7/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
2017-10-21 23:48:19.034 4610 ERROR glance     raise errorclass(errno, errval)
2017-10-21 23:48:19.034 4610 ERROR glance OperationalError: (pymysql.err.OperationalError) (1044, u"Access denied for user 'glance'@'%' to database 'glance\xa0\xa0'")
2017-10-21 23:48:19.034 4610 ERROR glance
我已经按照要求授权,不知怎么出现这个权限错误
回复

使用道具 举报

123
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条