Atom feed of this document
  

 挂接卷失败,缺失 sg_scan

 问题

给实例挂接卷失败,文件sg_scan不存在,此警告和错误的发生是计算节点没有安装 sg3-utils 软件包。在系统中此错误信息有唯一的ID:

ERROR nova.compute.manager [req-cf2679fd-dd9e-4909-807f-48fe9bda3642 admin admin|req-cf2679fd-dd9e-4909-807f-48fe9bda3642 admin admin]
[instance: 7d7c92e0-49fa-4a8e-87c7-73f22a9585d5|instance:  7d7c92e0-49fa-4a8e-87c7-73f22a9585d5]
Failed to attach volume  4cc104c4-ac92-4bd6-9b95-c6686746414a at /dev/vdcTRACE nova.compute.manager
[instance:  7d7c92e0-49fa-4a8e-87c7-73f22a9585d5|instance: 7d7c92e0-49fa-4a8e-87c7-73f22a9585d5]
Stdout: '/usr/local/bin/nova-rootwrap: Executable not found: /usr/bin/sg_scan

 解决方案

在计算节点中运行下面的命令来安装sg3-utils软件包:

# apt-get install sg3-utils
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...