openstack swift 集群不能同步文件信息

weixin_37195916 2016-12-28 09:00:53
我在两台PC上安装了openstack swift,然后设置swift如下,在一台PC上使用openstack container create cname 建立container后,另外一台机器上openstack container list 不显示,但是查看实际存储的/srv/node/device1中,数据已经同步过来:
account.builder, build version 3
262144 partitions, 2.000000 replicas, 1 regions, 2 zones, 2 devices, 0.00 balance, 0.00 dispersion
The minimum number of hours before a partition can be reassigned is 1 (0:11:48 remaining)
The overload factor is 0.00% (0.000000)
Ring file account.ring.gz is up-to-date
Devices: id region zone ip address:port replication ip:port name weight partitions balance flags meta
0 1 1 172.16.10.62:6002 172.16.10.62:6002 device1 100.00 262144 0.00
1 1 2 172.16.10.63:6002 172.16.10.63:6002 device1 100.00 262144 0.00
container.builder, build version 3
262144 partitions, 2.000000 replicas, 1 regions, 2 zones, 2 devices, 0.00 balance, 0.00 dispersion
The minimum number of hours before a partition can be reassigned is 1 (0:12:06 remaining)
The overload factor is 0.00% (0.000000)
Ring file container.ring.gz is up-to-date
Devices: id region zone ip address:port replication ip:port name weight partitions balance flags meta
0 1 2 172.16.10.63:6001 172.16.10.63:6001 device1 100.00 262144 0.00
1 1 1 172.16.10.62:6001 172.16.10.62:6001 device1 100.00 262144 0.00
object.builder, build version 3
262144 partitions, 2.000000 replicas, 1 regions, 2 zones, 2 devices, 0.00 balance, 0.00 dispersion
The minimum number of hours before a partition can be reassigned is 1 (0:12:22 remaining)
The overload factor is 0.00% (0.000000)
Ring file object.ring.gz is up-to-date
Devices: id region zone ip address:port replication ip:port name weight partitions balance flags meta
0 1 1 172.16.10.62:6000 172.16.10.62:6000 device1 100.00 262144 0.00
1 1 2 172.16.10.63:6000 172.16.10.63:6000 device1 100.00 262144 0.00
...全文
1908 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
weixin_37195916 2016-12-28
  • 打赏
  • 举报
回复
存储没有问题 ,只是不同步数据
weixin_37195916 2016-12-28
  • 打赏
  • 举报
回复
可以建立,可以显示,但是不能存储object [root@cloud63 ~(keystone_admin)]# openstack container create abc 成功 | account | container | x-trans-id | +---------------------------------------+-----------+------------------------------------+ | AUTH_380533bcb9a94f0f8ab0cd2e6aec8f27 | abc | txb85a9e7776584a92b55ba-005863be76 | +---------------------------------------+-----------+------------------------------------+ [root@cloud63 ~(keystone_admin)]# openstack container list 成功 +--------+ | Name | +--------+ | abc | [root@cloud63 ~(keystone_admin)]# openstack object save abc /home/172-63.conf 失败 Not Found (HTTP 404)
weixin_37195916 2016-12-28
  • 打赏
  • 举报
回复
在运行一段时间(大约半小时),就只可以建立container,不能增加object了,增加的时候报错显示404错误

999

社区成员

发帖
与我相关
我的任务
社区描述
OpenStack
社区管理员
  • OpenStack社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧