Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Puppet tasks fails because of missing gcompute_* functions #109

Open
khaefeli opened this issue Dec 28, 2018 · 0 comments
Open

Puppet tasks fails because of missing gcompute_* functions #109

khaefeli opened this issue Dec 28, 2018 · 0 comments

Comments

@khaefeli
Copy link

khaefeli commented Dec 28, 2018

I've a puppetserver (6.1x) with a node connected, provisioning GCP. Which is working pretty well.

I tried now to orchestrate the instances with Puppet Tasks (based on Choria) for this node.

mco tasks run gcompute::instance --credential /root/credential.json --name testing --ensure present --project projectname --zone europe-west3-c -I infrastructurenode.internal

This runs the instance.sh script on the node (via Choria queue). But the Choria controller gets the following error:
choria.tasks/task-error: The task errored with a code 1 {"status":"failure"}

According to the /tmp/bolt-run log
Error: Evaluation Error: Unknown function: 'gcompute_task_load_params'. (line: 17, column: 11) on node infrastructure.internal

If I manually store the gauth and gcompute modules under /etc/puppetlabs/code/modules/ everything is working well. But I think this is not the target of a master/client setup. It probably should use the scripts from the master, which are stored under /opt/puppetlabs/puppet/cache/lib/

@khaefeli khaefeli changed the title Puppet tasks fails with empty error message Puppet tasks fails because of missing gcompute_* functions Dec 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant