Issue #5520 has been reported by Marcelo Bartsch.
----------------------------------------
Bug #5520: Filebucket is not restoring files
https://projects.puppetlabs.com/issues/5520
Author: Marcelo Bartsch
Status: Unreviewed
Priority: Normal
Assignee:
Category: fileserving
Target version:
Affected Puppet version: 2.6.4
Keywords: filebucket
Branch:
Hi
i'm new to puppet , but it seems to be a bug to me.
scenario:
I had a module called dhcpd-ste, wich put a dhcpd.antennas.conf file into the
server, when this is changed a backup is done in the local system , but i
cannot restore the file:
info: FileBucket adding /etc/dhcpd.antennas.conf as
{md5}3651c7b07ce0841905345de470ae399a
info:
/Stage[main]/Dhcpd-ste/Dhcpd-ste::Dhcpd-ste::Dhcpd-ste_files[/etc/dhcpd.antennas.conf]/File[/etc/dhcpd.antennas.conf]:
Filebucketed /etc/dhcpd.antennas.conf to main with sum
3651c7b07ce0841905345de470ae399a
This is the error message:
[r...@pp-client ~]# puppet filebucket -l restore /tmp/la2
3651c7b07ce0841905345de470ae399a
Could not run: File not found
[r...@pp-client ~]# find /var/lib/puppet -name 3651c7b07ce0841905345de470ae399a
-ls
2540997 4 drwxrwx--- 2 root root 4096 Dec 12 19:53
/var/lib/puppet/clientbucket/3/6/5/1/c/7/b/0/3651c7b07ce0841905345de470ae399a
also tried with a remote filebucket, almos the same problem:
here the file is filebucketed on the server
info:
/Stage[main]/Dhcpd-ste/Dhcpd-ste::Dhcpd-ste::Dhcpd-ste_files[/etc/dhcpd.antennas.conf]/File[/etc/dhcpd.antennas.conf]:
Filebucketed /etc/dhcpd.antennas.conf to main with sum
2228e977ebea8966e27929f43e39cb67
this is the message on the server
info: FileBucket adding etc/dhcpd.antennas.conf as
{md5}2228e977ebea8966e27929f43e39cb67
the file IS on the server
[r...@puppet puppet]# find /var/lib/puppet -name
2228e977ebea8966e27929f43e39cb67 -ls
3913708 4 drwxrwx--- 2 puppet puppet 4096 Dec 12 20:02
/var/lib/puppet/bucket/2/2/2/8/e/9/7/7/2228e977ebea8966e27929f43e39cb67
trying to restore it from the server with filebucket gave this:
[r...@pp-client ~]# puppet filebucket restore /tmp/dhcp.antena.conf
2228e977ebea8966e27929f43e39cb67
Could not run: Checksum {md5} does not match contents
2228e977ebea8966e27929f43e39cb67
on the server it shows the following:
info: FileBucket read {md5}2228e977ebea8966e27929f43e39cb67
Please let me know if you need anything else.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.