-
Notifications
You must be signed in to change notification settings - Fork 55
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
(#351) code_manager: Switch default to undef
#352
Conversation
f5e5662
to
fe70fa1
Compare
5a2a25a
to
e08c4b5
Compare
} else { | ||
$_code_manager_auto_configure = $code_manager_auto_configure | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does installation of Larger or XL installations w/ replicas still succeed? If I recall correctly, Code Manager defaults to enabled in peadm
because replica provisioning fails if the service is not running.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sharpie is correct! We need code manager for HA environments. There is already a plan for those environments which for any reasons cant use code manager divert_code_manager
(https://github.com/puppetlabs/puppetlabs-peadm/blob/main/plans/misc/divert_code_manager.pp). That said, it isnt great but doable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
installation with replica and/or compilers still works. In those cases code-manager is configured/enabled
e08c4b5
to
6006175
Compare
6006175
to
e2c4660
Compare
@bastelfreak can you please have a look at those failing CI Jobs? As @Sharpie and I said, the problem is that we need/use code manager for L and XL installations. |
@CoMfUcIoS the majority of the fails are caused by a yanked? PE release. Can you take a look at #391 ? |
e2c4660
to
3babf65
Compare
I just merged that PR thanks for the review. Rebase and i think that Large and XL installation test will fail again because of the missing Code manager. |
Is there any option to get more debug output? thats from the |
Those errors are from problems with our provisioning queue. I know that sometime could be temperamental, we rekick any tests that fails there. I know changes are happening atm to prevent issues like that and hopefully vmpooler will be stable again. Feel free to re kick this test or i will as i usually do. |
@CoMfUcIoS can I get to any of the logs? The CI output isn't helpful :( |
Re kicked some of the failures with DEBUG on, let's see if we get anything useful. |
@bastelfreak cant get more logs from it atm. Looks like it fails in the configure subplan where we use code manager
|
3babf65
to
fe05c88
Compare
fe05c88
to
1576fa4
Compare
the tests are all passing now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
thanks a lot! any chance you can do a new release soonish? |
# * it isn't explicitly disabled *and* the user provided r10k repo+key | ||
# * a replica is present | ||
# * one or multiple compiler are present | ||
$_code_manager_auto_configure = if $r10k_private_key and $code_manager_auto_configure { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This conditional doesn't account for the case where a user might provide just a remote and not a key, as they would if they were using an HTTPS clone URL for a public repo, which doesn't require any creds or key. Would it make sense to check for the remote to be set here instead of the key, since I think that is the minimum required for Code Manager to work properly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
derp, you're right! I had it the way you described it before and broke it during the latest rebase...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed it in #401
No description provided.