[原]openstack-kilo--issue(三) openstack-nova-issue-systemctl start openstack-nova-compute.service
本博客已经添加"打赏"功能,"打赏"位置位于右边栏红色框中,感谢您赞助的咖啡.
execute systemctl start openstack-nova-compute.service when openstack-nova was done.
check use journalctl -xe
issue 1:
Loaded: loaded (/usr/lib/systemd/system/openstack-nova-compute.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Wed 14min ago
compute1 systemd[1]: openstack-nova-compute.service: main process exited, code=exited, status=1/FAILURE
compute1 systemd[1]: Failed to start OpenStack Nova Compute Server.
compute1 systemd[1]: Unit openstack-nova-compute.service entered failed state.
compute1 systemd[1]: openstack-nova-compute.service failed.
compute1 systemd[1]: Failed to start OpenStack Nova Compute Server.
check /etc/nova/nova.conf
-----configue-content---resolved-issue-----
[DEFAULT]
vnc_enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = 192.168.70.73
novncproxy_base_url = http://controller0:6080/vnc_auto.html
verbose = True
rpc_backend=rabbit
my_ip=192.168.70.73
auth_strategy=keystone
[api_database]
[barbican]
[cells]
[cinder]
[conductor]
[database]
[ephemeral_storage_encryption]
[glance]
host = controller0
[guestfs]
[hyperv]
[image_file_url]
[ironic]
[keymgr]
[keystone_authtoken]
auth_uri = http://controller0:5000
auth_url = http://controller0:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = nova
password = nova
[libvirt]
[metrics]
[neutron]
[osapi_v3]
[rdp]
[serial_console]
[spice]
[ssl]
[trusted_computing]
[upgrade_levels]
[vmware]
[workarounds]
[xenserver]
[zookeeper]
[matchmaker_redis]
[matchmaker_ring]
[oslo_concurrency]
lock_path = /var/lib/nova/tmp
[oslo_messaging_amqp]
[oslo_messaging_qpid]
[oslo_messaging_rabbit]
rabbit_host = controller0
rabbit_userid = openstack
rabbit_password =
------------------
but another issue is appear when resolved previous issue
issue 2: check /var/log/nova/compute-nove.log
ERROR oslo_messaging._drivers.impl_rabbit [req-74c2a9e1-37fe--98af-6ea48339cb8b - - - - -] AMQP server on controller0: is unreachable: [Errno ] EHOSTUNREACH. Trying again in seconds.
lead systemctl start openstack-nova-compute.service pause all the time
solution:
telnet 22 form compute node to controller node show successful
[root@compute1 ~]# telnet controller0
Trying 192.168.70.71...
Connected to controller0.
Escape character is '^]'.
SSH-2.0-OpenSSH_6.6.1
telnet 5672 form compute node to controller node show failed
[root@compute1 ~]# telnet controller0
Trying 192.168.70.71...
telnet: connect to address 192.168.70.71: No route to host
so ,the problem can doubt is firewall.
checke the firewall was changed in redhat7 or CentOS7 :reference : http://www.zhongweicheng.com/?p=1419
stop and disabled firewall both compute node and controller node
check firewall status
[root@controller0 ~]# systemctl list-unit-files |grep enabled |grep firewal
firewalld.service enabled stop firewall
[root@compute1 ~]# systemctl stop firewalld.service disabled on system boot
[root@compute1 ~]# systemctl disable firewalld.service
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service. check status of firewall
[root@compute1 ~]# systemctl status firewalld.service
鈼?firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
audit the issue soluation:
[root@compute1 ~]# telnet controller0
Trying 192.168.70.71...
Connected to controller0.
Escape character is '^]'.
Connection closed by foreign host.
run openstack-nova-compute
systemctl start openstack-nova-compute.service //successful
check /var/log/nova/nova-compute.log
INFO nova.compute.resource_tracker [req-68ca2404--46c2-be97-f7623a4c3d7e - - - - -] Auditing locally available compute resources for node compute1
INFO nova.compute.resource_tracker [req-68ca2404--46c2-be97-f7623a4c3d7e - - - - -] Total usable vcpus: , total allocated vcpus:
INFO nova.compute.resource_tracker [req-68ca2404--46c2-be97-f7623a4c3d7e - - - - -] Final resource view: name=compute1 phys_ram=985MB used_ram=512MB phys_disk=37GB used_disk=0GB total_vcpus= used_vcpus= pci_stats=<nova.pci.stats.PciDeviceStats object at 0x5bc9750>
INFO nova.scheduler.client.report [req-68ca2404--46c2-be97-f7623a4c3d7e - - - - -] Compute_service record updated for ('compute1', 'compute1')
INFO nova.compute.resource_tracker [req-68ca2404--46c2-be97-f7623a4c3d7e - - - - -] Compute_service record updated for compute1:compute1
INFO oslo_messaging._drivers.impl_rabbit [req-68ca2404--46c2-be97-f7623a4c3d7e - - - - -] Connecting to AMQP server on controller0:
INFO oslo_messaging._drivers.impl_rabbit [req-68ca2404--46c2-be97-f7623a4c3d7e - - - - -] Connected to AMQP server on controller0:
INFO oslo_messaging._drivers.impl_rabbit [req-d41e81fd-68cc-4e5a-aa4a-82d3b44e364a - - - - -] Connecting to AMQP server on controller0:
INFO oslo_messaging._drivers.impl_rabbit [req-d41e81fd-68cc-4e5a-aa4a-82d3b44e364a - - - - -] Connected to AMQP server on controller0:
INFO nova.compute.resource_tracker [req-d41e81fd-68cc-4e5a-aa4a-82d3b44e364a - - - - -] Auditing locally available compute resources for node compute1
INFO nova.compute.resource_tracker [req-d41e81fd-68cc-4e5a-aa4a-82d3b44e364a - - - - -] Total usable vcpus: , total allocated vcpus:
INFO nova.compute.resource_tracker [req-d41e81fd-68cc-4e5a-aa4a-82d3b44e364a - - - - -] Final resource view: name=compute1 phys_ram=985MB used_ram=512MB phys_disk=37GB used_disk=0GB total_vcpus= used_vcpus= pci_stats=<nova.pci.stats.PciDeviceStats object at 0x5bc9750>
[原]openstack-kilo--issue(三) openstack-nova-issue-systemctl start openstack-nova-compute.service的更多相关文章
- Openstack(Kilo)安装系列之nova(八)
计算节点 To install and configure the Compute hypervisor components 1.Install the packages: yum install ...
- Openstack(Kilo)安装系列之nova(七)
控制节点 Before you install and configure the Compute service, you must create a database, service crede ...
- OpenStack kilo版(3) Nova部署
部署在controller和compute节点 配置数据库 MariaDB [(none)]> CREATE DATABASE nova; Query OK, 1 row affected ( ...
- OpenStack Kilo版加CEPH部署手册
OpenStack Kilo版加CEPH部署手册 作者: yz联系方式: QQ: 949587200日期: 2015-7-13版本: Kilo 转载地址: http://mp.weixin.qq.co ...
- openstack kilo部署-基础环境
公司也想搞个私有云玩玩,于是展开了一系列的调研,部署测试,openstack 有几个版本真是坑爹!!,如果喜欢被虐有兄弟,你就试试 openstack 的 juno , icehouse等版本,用不了 ...
- [译] OpenStack Kilo 版本中 Neutron 的新变化
OpenStack Kilo 版本,OpenStack 这个开源项目的第11个版本,已经于2015年4月正式发布了.现在是个合适的时间来看看这个版本中Neutron到底发生了哪些变化了,以及引入了哪些 ...
- [转] OpenStack Kilo 更新日志
OpenStack 2015.1.0 (Kilo)更新日志 原文: https://wiki.openstack.org/wiki/ReleaseNotes/Kilo/zh-hans 目录 [隐藏] ...
- openstack私有云布署实践【11.2 计算nova - compute节点配置(办公网环境)】
这里我只使用compute1节点配置为示例,其它节点的配置基本是一样的,只是声明的管理IP不同而已 计算节点 # yum install openstack-nova-compute sysfsu ...
- openstack私有云布署实践【11.1 计算nova - compute节点配置(科兴环境)】
这里我只使用kxcompute1节点配置为示例,其它节点的配置基本是一样的,只是声明的管理IP不同而已 计算节点 # yum install openstack-nova-compute sysf ...
- openstack私有云布署实践【10.2 计算nova - controller节点配置(办公网环境)】
一.首先登录controller1创建nova数据库,并赋于远程和本地访问的权限. mysql -u root -p CREATE DATABASE nova; GRANT ALL PRI ...
随机推荐
- js 历史
原文http://javascript.ruanyifeng.com/introduction/history.html JavaScript的诞生 JavaScript 因为互联网而生,紧随着浏览器 ...
- Struts2+Hibernate+Spring(SSH)三大框架整合jar包
Struts2 + Spring3 + Hibernate3 框架整合 1. 每个框架使用 (开发环境搭建 )* 表现层框架 struts2 1) jar包导入: apps/struts2_blank ...
- GCT之数学公式(微积分)
- 对转换公式为LaTeX代码要注意什么
mathtype是一款专业的数学公式编辑工具,理科生专用的工具.mathtype公式编辑器能够帮助用户在各种文档中插入复杂的数学公式和符号.可以轻松的将数学公式转换成LaTex代码,但是转换LaTeX ...
- Android开发学习笔记-自定义组合控件
为了能让代码能够更多的复用,故使用组合控件.下面是我正在写的项目中用到的方法. 1.先写要组合的一些需要的控件,将其封装到一个布局xml布局文件中. <?xml version="1. ...
- Application runtime path "/opt/lampp/htdocs/yii/test/protected/runtime" is not valid. 错误
原因:把windows版的Yii框架写的程序中的拷到Linux去,assets和runtime目录对Group和其他的权限不够.解决方案:点击这2个文件的属性,属性框全选好了,权限777了. cd p ...
- linux环境中,ssh登录报错,Permission denied, please try again.
问题描述: 今天早上一个同事反应一个问题,通过ssh登录一台测试机的时候,发现两个账号,都是普通账号,一个账号能够登录, 另外一个账号无法登录.问他之前有做过什么变更吗,提到的就是之前有升级过open ...
- 理解firewall
http://blog.csdn.net/dream361/article/details/54022470 //firewall介绍 http://www.jb51.net/article/103 ...
- python修改python unittest的运行顺序
正常是一个测试类中按函数名字运行, 下面修改成直接按每个测试方法的代码顺序执行 文件 unittest_util.py import time import unittest from app.uti ...
- PHP常用的缓存技术汇总
一.数据缓存 这里所说的数据缓存是指数据库查询缓存,每次访问页面的时候,都会先检测相应的缓存数据是否存在,如果不存在,就连接数据库,得到数据,并把查询结果序列化后保存到文件中,以后同样的查询结果就直接 ...