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

Install with LWRP fails, but Chef completes successfully #83

Open
DanielRedOak opened this issue Jun 20, 2016 · 2 comments
Open

Install with LWRP fails, but Chef completes successfully #83

DanielRedOak opened this issue Jun 20, 2016 · 2 comments
Labels

Comments

@DanielRedOak
Copy link

It looks like even if the install using the LWRP fails, Chef reports success on completion. On the next run the install is attempted again. This continues for all subsequent runs.

I ran the same command that is used during the LWRP install and the installer is showing:

Unpacking JRE ... Preparing JRE ... Starting Installer ... The installation directory has been set to /opt/SumoCollector. Extracting files... Jun 20, 2016 3:10:17 PM java.util.prefs.FileSystemPreferences$2 run INFO: Created system preferences directory in java.home. Unable to start Sumo Logic Collector service. It's taking longer than expected to register your Collector with Sumo Logic. Please check your settings and try again. It's taking longer than expected to register your Collector with Sumo Logic. Please check your settings and try again. Finishing installation...

My issue was bad access keys, but I wouldn't have seen any issue if I didn't check to see the status of the new collector.

@duchatran
Copy link
Contributor

@KierranM , @zl4bv : Have you guys seen this?

@zl4bv
Copy link
Collaborator

zl4bv commented Jun 28, 2016

We've had access key problems that produced different error messages but in those cases Chef reported a failure and stopped.

For Chef to detect failure the Sumo installer needs to return a non-zero exist status, which it may not be doing in this case.

@majormoses majormoses added the bug label Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants