Status: New
Owner: ----

New issue 754 by [email protected]: gnt-cluster copyfile fails when the path to the file isn't absolute
http://code.google.com/p/ganeti/issues/detail?id=754

gnt-cluster version

Software version: 2.9.3
Internode protocol: 2090000
Configuration format: 2090000
OS api version: 20
Export interface: 0
VCS version: v2.9.3

hspace --version

hspace (ganeti) version v2.9.3
compiled with ghc 7.4
running on linux x86_64

Release:

DISTRIB_RELEASE="7 (wheezy) - installer build 20130613+deb7u1+b1"


What steps will reproduce the problem?

1. gnt-cluster copyfile file_in_current_directory

What is the expected output?

gnt-cluster copyfile should distribute the file to all nodes in the cluster.

What do you see instead?

Copy of file file_in_current_directory to node XXX failed.

Please provide any additional information below:

The manual page for gnt-cluster, section 'copyfile' uses absolute paths as an example, but doesn't state that
this is a requirement.

Proposed change:

- better error message (test that path is absolute) from the `gnt-cluster copyfile` command, possibly
  'copyfile requires an absolute (qualified) path'

- add this requirement in the manpage:

'Note that {file} must be an absolute path - failure to provide an absolute path (with leading /) will result in an error'

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to