Bug #444

Sync is not working

Added by Nuno Cardoso almost 10 years ago. Updated over 9 years ago.

Status:ClosedStart date:12/13/2010
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:worksforme Pull request:
Affected Versions:

Description

onehost's sync command isn't working nor auto sync when new remotes are added.
Also, SCRIPTS_REMOTE_DIR value isn't used on the first sync.

Associated revisions

Revision 871ceee9
Added by Juan Jose Montiel Cano about 3 years ago

B #5308 Added revert dialog to provision-tab (#444)

Revision 05193a63
Added by Juan Jose Montiel Cano about 3 years ago

B #5308 Added revert dialog to provision-tab (#444)

(cherry picked from commit 871ceee91dc3682d9917a9ff1ec04531ebfbe592)

History

#1 Updated by Nuno Cardoso almost 10 years ago

Nuno Cardoso wrote:

Also, SCRIPTS_REMOTE_DIR value isn't used on the first sync.

I've tracked down this problem but it is already fixed in git... I'm using the packaged version.
Wouldn't it be nice to have nightly builds of the packages?

#2 Updated by Nuno Cardoso almost 10 years ago

This issue has been fixed in the last package. You can close it!

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

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

#4 Updated by Shi Jin over 9 years ago

I am running one-2.2 and "onehost sync" still does nothing to after I make changes to $ONE_LOCATIOIN/var/remotes

The onehost code does not seem to do anything other than a touch:

when "sync" 
    check_parameters("sync", 0)
    if ONE_LOCATION
        FileUtils.touch "#{ONE_LOCATION}/var/remotes" 
    else
        FileUtils.touch "/var/lib/one/remotes" 
    end

Shouldn't it call the scp command to copy files over?

Also available in: Atom PDF