Modify

Ticket #1071 (closed enhancement: fixed)

Opened 12 years ago

Last modified 12 years ago

bcfg2-admin pull on a non existent file on client gives false feedback

Reported by: https://www.google.com/accounts/o8/id?id=AItOawmwdKt_YKyLClGGNu0lUuocNy76Mh7Nogw Owned by: desai
Priority: minor Milestone: Bcfg2 1.2.0 Release
Component: bcfg2-server Version: 1.0
Keywords: Cc:

Description

on server:

#bcfg2-admin pull -vvv -I hostname Path /path/to/file (current entry) => host entry: hostname Use this entry? [yN]: y

on client after above pull:

Incorrect entries: 1

Path: /path/to/file

Shows the entry is incorrect, when in fact it's b/c it was missing on the client when doing the original pulling.

Same behaviour when not using "-vvv or -I", just different message from the server: "Integrate configuration information from clients into the server repository"

The Path is defined in a bundle but b/c of the way this host was brought up and "fixed" I needed to pull all the configs on it into bcfg2, but it was missing a file.

Fringe case but it had me scratching my head b/c of the pull output. If bcfg2-admin pull would return with a no file exists error that would be great.

So this is just when the client file is not present that things get confusing.

Thanks Joe

Attachments

Change History

comment:1 Changed 12 years ago by solj

  • Status changed from new to closed
  • Resolution set to fixed

This behavior should be fixed in the current code

# bcfg2-admin pull hostname Path /test.txt
Pull Source failure; could not fetch current state

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.