Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems getting amanda::disklist::dle working on client nodes. #24

Open
rendhalver opened this issue Mar 17, 2014 · 5 comments
Open

Problems getting amanda::disklist::dle working on client nodes. #24

rendhalver opened this issue Mar 17, 2014 · 5 comments

Comments

@rendhalver
Copy link

Hi gang,

I am trying to get disk list entries exported from my client nodes with the dle define.
It is behaving very strangely.
From what I can tell it should work how I am using it but it's not.
I have basically written a couple of really basic wrapper classes to setup a client and server with a variable for the disk entries (Yes more fixes I was going to port over later).

It works fine on the server node.

From what the error is telling me It seems to be trying to notify the disklist exec on the client which will not work because it doesn't exist on the client.

This is the error i get on a client node.
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid relationship: File[/var/lib/puppet/concat/etc_amanda_daily_disklist/fragments/20_amanda::disklist___etc@daily] { notify => Exec[concat/etc/amanda/daily/disklist] }, because Exec[concat_/etc/amanda/daily/disklist] doesn't seem to be in the catalog
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

This may be some new auto require/notify with the new version of concat. (I am running 1.0.2)
I will have a dig around there and see whats going on. I might also try downgrading to see what that does.
If it is dues to new version weirdness it might need some extra abstraction.

Will keep you posted if I find a fix.
(Yeah I guess I would assign myself to fix the issue if I could)

@rendhalver
Copy link
Author

Same results with concat 1.0.0.
Which version of puppet are you guys using?
I am running 3.4.3.

@rendhalver
Copy link
Author

I finally discovered what I think is the issue.
it's either $::fqdn or the new concat.
$::fqdn is unreliable in my testing environment and production environment for some reason.
But it seems the major cause is concat 1.0.2. I downgraded my test environment to 1.0.0 and it works.
The bizzare thing is 1.0.2 works mostly in be dev environment but $::fqdn is breaking things.
I will get $::fqdn to a reliable state in dev ann test and see if that helps.

@jyaworski
Copy link
Member

Hello:

What's the status of this?

@rendhalver
Copy link
Author

I haven't done much on this for a while.
I will revisit my code and let you know if I can push up a fix.

@jyaworski
Copy link
Member

@rendhalver thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants