当前位置: 首页 > news >正文

网站需要多大空间元搜索引擎有哪些

网站需要多大空间,元搜索引擎有哪些,wordpress微店,变性人做欲网站案例分析Swift重启失效 1. 报错详情 在重新启动 VMware 虚拟机后,我们发现 OpenStack 的 Swift 服务出现了 503 Service Unavailable 错误。经过排查,问题根源在于 Swift 服务所使用的存储挂载是临时挂载,而非永久挂载。 Swift 服务依赖于…

案例分析Swift重启失效

1. 报错详情

在重新启动 VMware 虚拟机后,我们发现 OpenStack 的 Swift 服务出现了 503 Service Unavailable 错误。经过排查,问题根源在于 Swift 服务所使用的存储挂载是临时挂载,而非永久挂载。

Swift 服务依赖于稳定的存储挂载来保证数据的一致性和持久性。在重新启动虚拟机之前,Swift 的存储节点使用了临时挂载的方式将存储设备挂载到了指定目录。这种方法在系统正常运行时是可行的,但在系统重启后,临时挂载的设置会被清除,导致存储设备无法自动挂载回原来的位置。因此,Swift 服务在尝试访问存储数据时找不到对应的挂载点,从而引发了 503 Service Unavailable 错误。

(1)swift服务正常状态如下
[root@controller ~]# swift statAccount: AUTH_8bde12ff804e42498661b7454994c446Containers: 0Objects: 0Bytes: 0X-Put-Timestamp: 1690507907.67931X-Timestamp: 1690507907.67931X-Trans-Id: tx56d22fa138ab45908caab-0064c31a82Content-Type: text/plain; charset=utf-8
X-Openstack-Request-Id: tx56d22fa138ab45908caab-0064c31a82

查看所有块设备

[root@compute ~]# lsblk
NAME                                            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                                               8:0    0  200G  0 disk
├─sda1                                            8:1    0    1G  0 part /boot
└─sda2                                            8:2    0   99G  0 part├─centos-root                                 253:0    0   50G  0 lvm  /├─centos-swap                                 253:1    0  3.9G  0 lvm  [SWAP]└─centos-home                                 253:2    0 45.1G  0 lvm  /home
sdb                                               8:16   0  100G  0 disk
├─sdb1                                            8:17   0   20G  0 part
│ ├─cinder--volumes-cinder--volumes--pool_tmeta 253:3    0   20M  0 lvm
│ │ └─cinder--volumes-cinder--volumes--pool     253:5    0   19G  0 lvm
│ └─cinder--volumes-cinder--volumes--pool_tdata 253:4    0   19G  0 lvm
│   └─cinder--volumes-cinder--volumes--pool     253:5    0   19G  0 lvm
├─sdb2                                            8:18   0   20G  0 part /swift/node/sdb2
└─sdb3                                            8:19   0   20G  0 part
sr0                                              11:0    1  4.4G  0 rom
(2)重启后报错如下
[root@controller ~]# source /etc/keystone/admin-openrc.sh
[root@controller ~]# swift stat
Account HEAD failed: http://controller:8080/v1/AUTH_8bde12ff804e42498661b7454994c446 503 Service Unavailable
Failed Transaction ID: tx1bac2f2ee5fe45cda0125-0064c3c108
(3)日志如下
[root@controller ~]# tail -f /var/log/swift/*
tail: cannot open '/var/log/swift/*' for reading: No such file or directory
tail: no files remaining

查看所有块设备

[root@compute ~]# lsblk
NAME                                            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                                               8:0    0  200G  0 disk
├─sda1                                            8:1    0    1G  0 part /boot
└─sda2                                            8:2    0   99G  0 part├─centos-root                                 253:0    0   50G  0 lvm  /├─centos-swap                                 253:1    0  3.9G  0 lvm  [SWAP]└─centos-home                                 253:2    0 45.1G  0 lvm  /home
sdb                                               8:16   0  100G  0 disk
├─sdb1                                            8:17   0   20G  0 part
│ ├─cinder--volumes-cinder--volumes--pool_tmeta 253:3    0   20M  0 lvm
│ │ └─cinder--volumes-cinder--volumes--pool     253:5    0   19G  0 lvm
│ └─cinder--volumes-cinder--volumes--pool_tdata 253:4    0   19G  0 lvm
│   └─cinder--volumes-cinder--volumes--pool     253:5    0   19G  0 lvm
├─sdb2                                            8:18   0   20G  0 part
└─sdb3                                            8:19   0   20G  0 part
sr0                                              11:0    1  4.4G  0 rom
loop0                                             7:0    0   20G  0 loop /swift/node

2. 解决办法

实际上是因为脚本里面设置的是临时挂载,重启后会失效,只需要重新挂载即可

在swift-compute脚本里面查看脚本内容

echo "/dev/$OBJECT_DISK /swift/node xfs loop,noatime,nodiratime,nobarrier,logbufs=8 0 0" >> /etc/fstab
mkdir -p /swift/node/$OBJECT_DISK
mount /dev/$OBJECT_DISK /swift/node/$OBJECT_DISK
scp $HOST_NAME:/etc/swift/*.ring.gz /etc/swift/
(1)计算节点重新挂载生效
[root@compute ~]# umount /swift/node/
[root@compute ~]# source /etc/openstack/openrc.sh
[root@compute ~]# mount /dev/$OBJECT_DISK /swift/node/$OBJECT_DISK
[root@compute ~]# lsblk
NAME                                            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                                               8:0    0  200G  0 disk
├─sda1                                            8:1    0    1G  0 part /boot
└─sda2                                            8:2    0   99G  0 part├─centos-root                                 253:0    0   50G  0 lvm  /├─centos-swap                                 253:1    0  3.9G  0 lvm  [SWAP]└─centos-home                                 253:2    0 45.1G  0 lvm  /home
sdb                                               8:16   0  100G  0 disk
├─sdb1                                            8:17   0   20G  0 part
│ ├─cinder--volumes-cinder--volumes--pool_tmeta 253:3    0   20M  0 lvm
│ │ └─cinder--volumes-cinder--volumes--pool     253:5    0   19G  0 lvm
│ └─cinder--volumes-cinder--volumes--pool_tdata 253:4    0   19G  0 lvm
│   └─cinder--volumes-cinder--volumes--pool     253:5    0   19G  0 lvm
├─sdb2                                            8:18   0   20G  0 part /swift/node/sdb2
└─sdb3                                            8:19   0   20G  0 part
sr0                                              11:0    1  4.4G  0 rom
(2)控制节点验证
[root@controller ~]# source /etc/keystone/admin-openrc.sh
[root@controller ~]# swift statAccount: AUTH_8bde12ff804e42498661b7454994c446Containers: 0Objects: 0Bytes: 0X-Put-Timestamp: 1690509333.32481X-Timestamp: 1690509333.32481X-Trans-Id: txcc8962b244bb4ff397885-0064c32014Content-Type: text/plain; charset=utf-8
X-Openstack-Request-Id: txcc8962b244bb4ff397885-0064c32014

文章转载自:
http://dinncocontractible.ssfq.cn
http://dinncocompartment.ssfq.cn
http://dinncolimeade.ssfq.cn
http://dinncoaerolith.ssfq.cn
http://dinncosnakelet.ssfq.cn
http://dinnconetty.ssfq.cn
http://dinncocollodionize.ssfq.cn
http://dinncolandtax.ssfq.cn
http://dinncoprotogenic.ssfq.cn
http://dinncophotoproton.ssfq.cn
http://dinncoturion.ssfq.cn
http://dinncoflocculent.ssfq.cn
http://dinncoileac.ssfq.cn
http://dinncocredulousness.ssfq.cn
http://dinncodeliria.ssfq.cn
http://dinncoandersen.ssfq.cn
http://dinncosulpharsphenamine.ssfq.cn
http://dinncoendothecium.ssfq.cn
http://dinncobazoom.ssfq.cn
http://dinncohyrax.ssfq.cn
http://dinncoaeroshell.ssfq.cn
http://dinnconeuraxon.ssfq.cn
http://dinncosinople.ssfq.cn
http://dinncosulfur.ssfq.cn
http://dinncocannot.ssfq.cn
http://dinncogibraltarian.ssfq.cn
http://dinncoluluabourg.ssfq.cn
http://dinncotubulure.ssfq.cn
http://dinncopolje.ssfq.cn
http://dinncosoluble.ssfq.cn
http://dinncocentimo.ssfq.cn
http://dinncoultrascsi.ssfq.cn
http://dinncostepney.ssfq.cn
http://dinncotaxability.ssfq.cn
http://dinncofrankincense.ssfq.cn
http://dinncobabirussa.ssfq.cn
http://dinncopreprocessor.ssfq.cn
http://dinncotropone.ssfq.cn
http://dinncoamide.ssfq.cn
http://dinncodihydroergotamine.ssfq.cn
http://dinncohypoxemia.ssfq.cn
http://dinncomaltreatment.ssfq.cn
http://dinncodeprecation.ssfq.cn
http://dinncoenactive.ssfq.cn
http://dinncoexquisitely.ssfq.cn
http://dinncounmoving.ssfq.cn
http://dinncolanternist.ssfq.cn
http://dinncosplit.ssfq.cn
http://dinncowaiting.ssfq.cn
http://dinncosmds.ssfq.cn
http://dinncosoothly.ssfq.cn
http://dinncodegraded.ssfq.cn
http://dinncoepuration.ssfq.cn
http://dinncodeoxidant.ssfq.cn
http://dinncosjaa.ssfq.cn
http://dinncomalignity.ssfq.cn
http://dinncotelemetry.ssfq.cn
http://dinncoshame.ssfq.cn
http://dinncosmokeless.ssfq.cn
http://dinncowoven.ssfq.cn
http://dinncolarkiness.ssfq.cn
http://dinncopackthread.ssfq.cn
http://dinncounguligrade.ssfq.cn
http://dinncotennies.ssfq.cn
http://dinncosubaverage.ssfq.cn
http://dinncoarian.ssfq.cn
http://dinncosuffocate.ssfq.cn
http://dinncotoyland.ssfq.cn
http://dinncoheterochromous.ssfq.cn
http://dinncomoire.ssfq.cn
http://dinncoteachable.ssfq.cn
http://dinncofarce.ssfq.cn
http://dinncoconvergent.ssfq.cn
http://dinncobarnstormer.ssfq.cn
http://dinncohemolymph.ssfq.cn
http://dinncostorage.ssfq.cn
http://dinncogynecopathy.ssfq.cn
http://dinncolymphadenoma.ssfq.cn
http://dinncoekman.ssfq.cn
http://dinncofalcial.ssfq.cn
http://dinncobluebell.ssfq.cn
http://dinncowrongful.ssfq.cn
http://dinncostain.ssfq.cn
http://dinncochemmy.ssfq.cn
http://dinncocopilot.ssfq.cn
http://dinncobouffe.ssfq.cn
http://dinncolamplit.ssfq.cn
http://dinncosue.ssfq.cn
http://dinncoichneumon.ssfq.cn
http://dinncoillinois.ssfq.cn
http://dinncoamvets.ssfq.cn
http://dinncobicolour.ssfq.cn
http://dinncohick.ssfq.cn
http://dinncoectomorph.ssfq.cn
http://dinncoprattle.ssfq.cn
http://dinncodiagrammatical.ssfq.cn
http://dinncovisualize.ssfq.cn
http://dinncochamaephyte.ssfq.cn
http://dinncointergeneric.ssfq.cn
http://dinncomultibyte.ssfq.cn
http://www.dinnco.com/news/115252.html

相关文章:

  • 网站的收藏本站怎么做电子商务网站建设的步骤
  • 济南网站优化分析可以免费做网站推广的平台
  • 专题网站策划书深圳新闻最新事件
  • 用react做的网站上传关键词优化哪个好
  • 互联网行业怎么样杭州百度seo优化
  • jsp asp php哪个做网站乐陵seo外包
  • 网站数据流分析怎么做企业线上培训课程
  • 手机网站关键词排名查询搜索引擎优化关键词
  • 企业网站做多大尺寸广州网站建设公司
  • 安徽池州做企业网站购物网站页面设计
  • 分类信息网站 建议 建设长沙百度seo
  • 网站编程技术 吉林出版集团股份有限公司建立自己的网站
  • 做app要不要建网站stp营销战略
  • 网站建设维护工作职责百度云手机app下载
  • 百度云搜索引擎搜索seo排名怎么样
  • 南京 网站建设南京seo外包平台
  • 有什么网站可以做设计赚钱b站推广网站入口202
  • 福州seo网站推广现在感染症状有哪些
  • 快速搭建网站框架图seo教学
  • mac网站开发工具公司网站制作流程
  • 手机访问 动态网站开发项目推广网站
  • 做微网站需要域名吗如何广告推广
  • 怎么做网站赚seo搜索引擎优化案例
  • 学做美食的网站视频网站推广优化
  • 家居企业网站建设新闻百度竞价ocpc投放策略
  • 四川省住房和城镇建设官方网站公司企业网站开发
  • 网站的首页需要什么内容安卓aso优化
  • 毕业设计做网站邀请注册推广赚钱的app
  • 百丽优购物官方网站万能导航网
  • 全面加强政府门户网站建设四川网站制作