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

Error: Could not autoload puppet/type/gcompute_instance: Attempt to redefine entity #110

Open
khaefeli opened this issue Feb 17, 2019 · 0 comments

Comments

@khaefeli
Copy link

khaefeli commented Feb 17, 2019

After fixing the issue #109 I'm running into the next bug during the choria puppet task run:

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

The error says:

Error: Could not autoload puppet/type/gcompute_instance: Attempt to redefine entity 
'http://puppet.com/2016.1/runtime/type/gcompute_instance'. Set at unknown location
Error: Could not autoload puppet/type/gcompute_instance: Attempt to redefine entity 
'http://puppet.com/2016.1/runtime/type/gcompute_instance'. Set at unknown location

Not sure if it's related to the puppet bug: https://tickets.puppetlabs.com/browse/PUP-8002

Workaround is to remove the require line in the instance.sh

notify { 'task:success':
   message => "\$vm",
   require => Gcompute_instance[\$vm],
 }
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