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
相关推荐
Yana.nice16 小时前
华为云计算(FusionAccess/FusionCompute/OpenStack)平台
华为云·openstack
huhy~2 天前
基于Ubuntu 24.04 LTS 搭建OpenStack F 版
android·ubuntu·openstack
小夏子_riotous3 天前
openstack的使用——5. Swift服务的基本使用
linux·运维·开发语言·分布式·云计算·openstack·swift
小夏子_riotous3 天前
openstack的使用——7. 共享文件系统manila服务
linux·运维·服务器·系统架构·centos·openstack·运维开发
小夏子_riotous4 天前
openstack的使用——9. 密钥管理服务Barbican
linux·运维·服务器·系统架构·centos·云计算·openstack
做咩啊~5 天前
6.增加一个flat网段
服务器·openstack
Virtual_human080610 天前
在VMware workstation上,部署3节点ceph测试,及加入openstack
ceph·云计算·openstack·osd·ceph集群
做咩啊~12 天前
5.块存储服务cinder
openstack
中国IT14 天前
OpenStack云计算部署操作手册 目录简介
云计算·openstack
源远流长jerry16 天前
在云环境中部署 NFV:OpenStack 讲解
数据库·openstack