亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪(fǎng)問(wèn)板塊 發(fā)新帖
查看: 12772 | 回復(fù): 4
打印 上一主題 下一主題

[OpenStack] cinder 虛擬機(jī)掛載磁盤(pán)報(bào)錯(cuò) [復(fù)制鏈接]

論壇徽章:
2
IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-08-23 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-09-23 06:20:00
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2015-09-20 12:25 |只看該作者 |倒序?yàn)g覽
cinder服務(wù)正常
[root@controller ~]# cinder service-list
+------------------+------------+------+---------+-------+----------------------------+-----------------+
|      Binary      |    Host    | Zone |  Status | State |         Updated_at         | Disabled Reason |
+------------------+------------+------+---------+-------+----------------------------+-----------------+
| cinder-scheduler | controller | nova | enabled |   up  | 2015-09-19T17:01:54.000000 |        -        |
|  cinder-volume   | block1@lvm | nova | enabled |   up  | 2015-09-19T17:01:54.000000 |        -        |
+------------------+------------+------+---------+-------+----------------------------+-----------------+

cinder也可以創(chuàng)建磁盤(pán)
[root@controller ~]# nova volume-list
+--------------------------------------+-----------+--------------+------+-------------+-------------+
| ID                                   | Status    | Display Name | Size | Volume Type | Attached to |
+--------------------------------------+-----------+--------------+------+-------------+-------------+
| 16deff98-2bf2-4f60-9400-60a94b272008 | available |              | 1    | -           |             |
| 9ab738b4-7d32-44ac-8d20-ba0e481cd50b | available |              | 1    | -           |             |
+--------------------------------------+-----------+--------------+------+-------------+-------------+

但是掛載給用戶(hù)虛擬機(jī)失敗
檢查控制節(jié)點(diǎn)的var/log下面的 cinder的api.log發(fā)現(xiàn)有如下錯(cuò)誤
OSError: [Errno 13] Permission denied: '/var/lock/cinder'
] Permission denied

經(jīng)分析控制節(jié)點(diǎn)和cinder節(jié)點(diǎn)都沒(méi)有此相關(guān)目錄
檢查控制節(jié)點(diǎn)的var/log下面的 scheduler.log,發(fā)現(xiàn)有如下錯(cuò)誤:
2015-09-19 13:02:59.141 1141 ERROR oslo_messaging._drivers.impl_rabbit [req-81017b1e-4e3d-4a52-8804-b4f7fc0fc8b7 eff3c37ef12e4aa4aca14b2e4b452276 46d8ac56f67f41c08012f4fd1c0786ef - - -] AMQP server on controller:5672 is unreachable: [Errno 104] Connection reset by peer. Trying again in 1 seconds.
2015-09-19 13:03:00.163 1141 INFO oslo_messaging._drivers.impl_rabbit [req-81017b1e-4e3d-4a52-8804-b4f7fc0fc8b7 eff3c37ef12e4aa4aca14b2e4b452276 46d8ac56f67f41c08012f4fd1c0786ef - - -] Reconnected to AMQP server on controller:5672

控制節(jié)點(diǎn)的/etc/cinder/cinder.conf[DEFAULT]
logdir = /var/log/cinder
state_path = /var/lib/cinder
#lock_path = /var/lib/cinder/tmp
volumes_dir = /etc/cinder/volumes
iscsi_helper = lioadm
rootwrap_config = /etc/cinder/rootwrap.conf
#auth_strategy = keystone
auth_strategy = keystone
rpc_backend = rabbit
my_ip = 10.0.0.11
verbose = True
[database]
#connection = mysql---我添加的://cinder:cinder@localhost/cinder
connection = mysql---我添加的://cinder:CINDER_DBPASS@controller/cinder
[keystone_authtoken]
#admin_tenant_name = %SERVICE_TENANT_NAME%
#admin_user = %SERVICE_USER%
#admin_password = %SERVICE_PASSWORD%
#auth_host = 127.0.0.1
#auth_port = 35357
#auth_protocol = http
auth_uri = http---我添加的://controller:5000
auth_url = http---我添加的://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = cinder
password = openstack
[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = RABBIT_PASS
[oslo_concurrency]
lock_path = /var/lock/cinder

論壇徽章:
45
2016猴年福章徽章
日期:2016-02-18 16:42:24平安夜徽章
日期:2015-12-27 09:46:0315-16賽季CBA聯(lián)賽之八一
日期:2015-12-15 17:08:23黃金圣斗士
日期:2015-12-11 09:16:31天蝎座
日期:2015-12-11 09:16:22戌狗
日期:2015-12-11 09:16:19程序設(shè)計(jì)版塊每周發(fā)帖之星
日期:2015-12-11 09:15:21操作系統(tǒng)版塊每周發(fā)帖之星
日期:2015-12-11 09:15:16IT運(yùn)維版塊每周發(fā)帖之星
日期:2015-12-11 09:15:09IT運(yùn)維版塊每月發(fā)帖之星
日期:2015-12-11 09:15:01CU十四周年紀(jì)念徽章
日期:2015-12-11 09:14:40操作系統(tǒng)版塊每日發(fā)帖之星
日期:2015-12-11 09:13:36
2 [報(bào)告]
發(fā)表于 2015-09-20 16:50 |只看該作者
本帖最后由 csoho2000 于 2015-09-20 16:55 編輯

AMQP server on controller:5672 is unreachable: [Errno 104] Connection reset by peer.

看提示是amqp服務(wù)未配置好,或被防火墻擋住了

論壇徽章:
2
IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-08-23 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-09-23 06:20:00
3 [報(bào)告]
發(fā)表于 2015-09-21 09:50 |只看該作者
回復(fù) 2# csoho2000


    防火墻和selinux我都已經(jīng)關(guān)閉。

論壇徽章:
2
IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-08-23 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-09-23 06:20:00
4 [報(bào)告]
發(fā)表于 2015-09-21 11:19 |只看該作者
回復(fù) 2# csoho2000


    問(wèn)題解決 在控制節(jié)點(diǎn)和cinder節(jié)點(diǎn)的。/var/lock/下面創(chuàng)建cinder目錄,并賦予權(quán)限 chown cinder:cinder /var/lock/cinder?刂乒(jié)點(diǎn)重啟服務(wù):systemctl restart openstack-cinder-api.service openstack-cinder-scheduler.service
cdinder節(jié)點(diǎn)重啟服務(wù)systemctl restart openstack-cinder-volume.service target.service

論壇徽章:
2
IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-08-23 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-09-23 06:20:00
5 [報(bào)告]
發(fā)表于 2015-09-23 18:18 |只看該作者
本帖最后由 a5525510 于 2015-09-23 18:27 編輯

回復(fù) 4# a5525510


    這個(gè)問(wèn)題又遇見(jiàn)一個(gè)新問(wèn)題,就是我把節(jié)點(diǎn)重啟以后,我新建的cinder目錄就沒(méi)有了.導(dǎo)致創(chuàng)建新磁盤(pán)失敗,已經(jīng)創(chuàng)建的磁盤(pán)狀態(tài)都是error,想刪除也不行
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP