Skip to content
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

Server Crash when Viewing Role in UI with Dependency Mismatch #1652

Open
mbamber opened this issue Apr 1, 2019 · 2 comments
Open

Server Crash when Viewing Role in UI with Dependency Mismatch #1652

mbamber opened this issue Apr 1, 2019 · 2 comments
Labels
Aspect: Integration Works correctly with other projects or systems. Component: chef-manage Triage: Try Reproducing Indicates that this issue needs to be reproduced. Type: Bug Does not work as expected.

Comments

@mbamber
Copy link

mbamber commented Apr 1, 2019

Chef Server Version

12.4.1

Platform Details

Running on Ubuntu 16.04 on AWS

Scenario:

Viewing a role via the web UI causes the chef server to crash if the role contains a version mismatch.

i.e. If I try and view role my-role, which contains cookbook1@1.0.0 and cookbook2@1.0.0, but cookbook1@1.0.0 itself requires cookbook2@2.0.0 then the server will crash trying to display this information.

I know this may be down to how we use Chef, and obviously the version mismatch is our fault and we have since fixed this, but I feel like the server shouldn't completely fail in this situation, and should instead just show an error in the UI.

@markan
Copy link
Contributor

markan commented Apr 4, 2019

Thank you for reporting this issue.

What version of manage do you have installed?
What exactly happens during the crash? Does the manage interface crash? Is it limited to the web frontend or does the API also go down? Does the server backend restart after?

@markan markan added Type: Bug Does not work as expected. Component: chef-manage labels Apr 4, 2019
@mbamber
Copy link
Author

mbamber commented Apr 8, 2019

Hi @markan

Sorry for the delay in getting back to you about this.

$ cat /opt/opscode/version-manifest.txt | grep -i chef-server
chef-server 12.4.1

I can't really explain what happens in more detail other than the web interface completely freezes and just shows the spinning chef logo. It's both the frontend and the API that crashes as I cant interact with the server using knife.

No the server doesn't restart automatically.

@PrajaktaPurohit PrajaktaPurohit added the Status: Untriaged An issue that has yet to be triaged. label Aug 5, 2019
@PrajaktaPurohit PrajaktaPurohit added Triage: Try Reproducing Indicates that this issue needs to be reproduced. Aspect: Integration Works correctly with other projects or systems. Size: L and removed Status: Untriaged An issue that has yet to be triaged. labels Aug 28, 2019
@tas50 tas50 removed the Size: L label May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Aspect: Integration Works correctly with other projects or systems. Component: chef-manage Triage: Try Reproducing Indicates that this issue needs to be reproduced. Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

4 participants