8000 Commad makeconservercf should check attribute cons in node definition · Issue #4009 · xcat2/xcat-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Commad makeconservercf should check attribute cons in node definition #4009
Closed
@neo954

Description

@neo954

This bug is against xCAT 2.13.7 snap201709220216.

The recreation steps

# mkdef tz998 groups=all cons=foo
1 object definitions have been created or modified.
# makeconservercf tz998
# echo $?
0

What actually happened

The following section was add in file /etc/conserver.cf. Even if /opt/xcat/share/xcat/cons/foo does not exist at all.

#xCAT BEGIN tz998 CONS
console tz998 {
  type exec;
  exec /opt/xcat/share/xcat/cons/foo tz998;
}
#xCAT END tz998 CONS

What is expected

  • A proper error message is expected. In this way, the end users will get better understanding of their misconfiguration.
  • The return value should be non-zero

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0