-
Notifications
You must be signed in to change notification settings - Fork 209
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
On 1st chef-server-ctl reconfigure execute[bootstrap-platform] fails #584
Comments
I am experiencing the same error. |
@meson10 Adding the retries on execute block fixed this issue for me. I'll send out a PR for it soon. |
Do you have the original reconfigure output available? Bifrost startup is Could you also let me know what version you're installing and on what On Mon, Nov 2, 2015, 11:01 AM Phil Oliva [email protected] wrote:
|
@marcparadise Unfortunately I have the output any more other then what I posted above. It was an intermittent issue for me. Didn't see it happen though after doing 3 retries on execute block. |
@meson10 since you're able to reproduce this consistently - I am wondering what the specs are for memory and CPU on the machine/VM you're installing to? |
@marcparadise Have tried it on smaller Virtual machines (2 core + 4GB RAM) as well as EC2 instance (r3.large) with 2 Core + 15.25G RAM. |
@marcparadise I have figured the problem. So, accidentally, I was supplying
(observe the empty quotes) |
The 2core+4gb should be good enough, so it's definitely not a resource constraint. Tonight or tomorrow morning I will try to reproduce in the same environment - though that's similar to what our CI pipleine uses, iirc, so it will be interesting to see how it behaves. In the interim to get you unstuck, you could manually modify the file https://github.com/chef/chef-server/pull/597/files#diff-1f3de27173d5e39c86242170696a4f19L45 |
Aha! That'd definitely do it :D It would prevent bifrost from starting up. |
Should I do a PR to have that check in place? To have a less cryptic error being reported. |
While we definitely appreciate the offer, this is one of many places chef-server would fall down if a value was improperly configured so it would be a drop in the bucket. For almost any of the tunables, a bad value would cause a failure either in the startup of a service, or a relatively obscure chef run failure in reconfigure. I think until somehwat recently, the idea was that for the most part, people wouldn't be touching these values without guidance from Chef Software support. However, over time this is just proving to be incorrect. We've been talking about how we can improve that - one thing we've been considering is that we add validation parameters to everything that we expose as tunables so that we can comprehensively validate instead of selectively. |
Got that. Fair point. |
What I didn't get is you download deb file, then dpkg, then
|
For some reason it can't yet connect to bifrost, but then on 2nd reconfigure it succeeds. Not sure what actually starts bifrost component (maybe its too slow to start up) but thinking about adding retries to execute block to see if it fixes my problem.
The text was updated successfully, but these errors were encountered: