openstack 报错合集

ATTENTION Found a swap file by the name ***

bash 复制代码
E325: ATTENTION Found a swap file by the name "/etc/openstack-dashboard/.local_settings.py.swp"
          owned by: root   dated: Sun Dec 01 04:27:09 2024
         file name: /etc/openstack-dashboard/local_settings.py
          modified: YES
         user name: root   host name: controller
        process ID: 3599 (STILL RUNNING) While opening file "/etc/openstack-dashboard/local_settings.py"
             dated: Sun Dec 01 04:41:11 2024
      NEWER than swap file!

(1) Another program may be editing the same file.  If this is the case,
    be careful not to end up with two different instances of the same
    file when making changes.  Quit, or continue with caution. (2) An edit session for this file crashed.
    If this is the case, use ":recover" or "vim -r /etc/openstack-dashboard/local_settings.py"
    to recover the changes (see ":help recovery").
    If you did this already, delete the swap file "/etc/openstack-dashboard/.local_settings.py.swp"
    to avoid this message.

Swap file "/etc/openstack-dashboard/.local_settings.py.swp" already exists! [O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort:

这是在使用 vim 编辑器打开文件时遇到的一个提示信息,表示在编辑文件 /etc/openstack-dashboard/local_settings.py 时,发现了一个交换文件(.swp 文件)。这通常有两种可能的情况:

1. 查看文件是否正在被其他进程编辑
  • 如果您确认没有其他人或进程在编辑这个文件,可以直接选择 (E) 即 Edit anyway,忽略警告并继续编辑。
  • 或者选择 (O) 即 Open Read-Only,以只读模式打开文件,避免修改。
2. 恢复未保存的修改
  • 如果您希望恢复上次编辑未保存的内容,选择 (R) 即 Recover,恢复文件。

  • 或手动执行以下命令恢复文件:

    bash 复制代码
    vim -r /etc/openstack-dashboard/local_settings.py
3. 删除交换文件
  • 如果确认不需要恢复,也没有其他进程在编辑文件,可以删除交换文件。执行以下命令:

    bash 复制代码
    sudo rm /etc/openstack-dashboard/.local_settings.py.swp
  • 然后重新打开文件。

4. 退出编辑
  • 如果不确定当前文件状态,可以选择 (Q) 即 Quit,退出当前编辑。稍后再确认文件状态。

Job for rabbitmq-server.service failed because the control process exited with error code.

bash 复制代码
root@controller:/home/zzk# systemctl restart rabbitmq-server  
Job for rabbitmq-server.service failed because the control process exited with error code.

执行:

bash 复制代码
vim /etc/hosts

修改为:

bash 复制代码
127.0.0.1 localhost
192.168.***.*** controller
192.168.***.*** compute
相关推荐
螺蛳粉 螺蛳粉4 天前
OpenStack 部署记录(八):多节点部署执行、验证与排障(完结篇)
openstack·私有云·linux运维·nova·故障排查·packstack·多节点部署
I肆逸I5 天前
OpenStack 管理:从认证、计算到存储与网络
网络·php·openstack
螺蛳粉 螺蛳粉8 天前
OpenStack 部署记录(三):Packstack 单机一键部署与 10 步验证
云计算·openstack·puppet·linux运维·一键部署·packstack
SeanQhl10 天前
OpenStack组件安装之Glance 安装与配置
openstack·glance
小马同学-20 天前
OpenStack网络管理-neutron
网络·openstack·neutron
JudithHuang1 个月前
创建第一台实例:Horizon ↔ CLI
openstack
JudithHuang1 个月前
Apple Silicon 上 Cirros 控制台VNC打不了字
openstack
JudithHuang1 个月前
OpenStack 是什么:一张图看懂在干什么
openstack
SeanQhl1 个月前
基于华为云ARM架构ECS平台的OpenStack Wallaby All-in-one 完整部署指导
openstack·all-in-one
JudithHuang1 个月前
从零安装 OpenStack:DevStack + Multipass 本地可复现指南
openstack