-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Describe the Bug
I've a PE 2019.12.8 installation. With puppetlabs/node_manager v1.0.1 the peadm:convert doesn't work on a simple/empty PE installation. Used pe.conf:
{
"puppet_enterprise::profile::master::r10k_remote": "https://github.com/bastelfreak/testcontrolrepo.git",
"puppet_enterprise::profile::master::code_manager_auto_configure": true,
"console_admin_password": "***",
"puppet_enterprise::puppet_master_host": "%{trusted.certname}"
}
This fails with:
{
"level": "err",
"message": "node_manager failed with error type 'missing-referents': The group being edited or created makes reference to the following missing classes:\n\"puppet_enterprise\" class in the \"production\" environment\n\nSee the details key for complete information on where every missing reference originated.",
"source": "Puppet",
"tags": [
"err"
],
"time": "2024-07-30T16:02:45.302802570+00:00",
"file": null,
"line": null
},
It works with node_manager v0.8.0. I can also reproduce the issue by running the convert successfully with v0.8.0, then delete a node group that's managed by PEADM, for example PE Primary B
. Then running the convert again it fails with above error.
Expected Behavior
It's supposed to pass with node_manager v1.0.1 because that's listed in metadata.json.
Steps to Reproduce
- Install PE 2019.8.12 or 2021.7.8 or 2023.7.0
- install latest peadm & node_manager
- run peadm::convert
Environment
- AlmaLinux 8
Additional Context
- I am not sure if that's an issue within the node_manager module itself or how peadm uses it, so I raised the issue here instead of https://github.com/puppetlabs/puppetlabs-node_manager
Metadata
Metadata
Assignees
Labels
No labels