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

Puppet tasks fails because of missing gcompute_* functions #109

@khaefeli

Description

@khaefeli

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions