Bug #412

oneadmin does not have permissions to touch /usr/lib/one/remotes

Added by Jaime Melis over 10 years ago. Updated over 10 years ago.

Status:ClosedStart date:11/15/2010
Priority:NormalDue date:
Assignee:Jaime Melis% Done:

0%

Category:Drivers - Auth
Target version:Release 2.0.1
Resolution:fixed Pull request:
Affected Versions:

Description

onehost --sync is essentially a wrapper to touch /path/to/remotes. In system-wide mode the path to remotes is: /usr/lib/one/remotes, which belongs to root, therefore the command fails.

A possible solution is to move the remotes dir to /var/lib/one/remotes


Related issues

Related to Bug #396: /tmp/one not populated if headnode can't ssh to host node Closed 11/08/2010
Related to Bug #385: mads/one_im_ssh.rb not coping files to the host Closed 11/03/2010

Associated revisions

Revision c4dbdf53
Added by Ruben S. Montero over 10 years ago

bug #412: Fix remotes location for RemoteCommand. Checks info string to be returned to the core. Includes std output for local_actions

Revision 52974fe8
Added by Ruben S. Montero over 10 years ago

bug #412: RemoteCommand update

Revision d687c966
Added by Ruben S. Montero over 10 years ago

bug #412: Remotes update

Revision 9422a293
Added by Ruben S. Montero over 10 years ago

bug #412: Re-use Command object to handle errors

Revision ee1f8d04
Added by Abel Coronado almost 4 years ago

Added TotalVMs and solved bug in VMGroups (#412)

Revision 1f6286b2
Added by Abel Coronado almost 4 years ago

Added TotalVMs and solved bug in VMGroups (#412)

Revision e4b76b77
Added by Abel Coronado almost 4 years ago

Added TotalVMs and solved bug in VMGroups (#412)

(cherry picked from commit ee1f8d046dd9076bcfae9803faa0f279d08ea00a)

History

#1 Updated by Jaime Melis over 10 years ago

  • Category set to Drivers - Auth
  • Assignee set to Jaime Melis
  • Target version set to Release 2.0.1

#2 Updated by Jaime Melis over 10 years ago

Also, there should also be a feature where the remotes are copied over to the remote host if the command fails because the remote file is not found, as described by #396.

#3 Updated by Ruben S. Montero over 10 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Fixed in one-2.0 + master

Also available in: Atom PDF