SUSE Support

Here When You Need Us

Error during bootstrap: An error has occurred during salt execution: unable to parse json.

This document (000021449) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager 4.3


Situation

See the following error when bootstrapping SLES (SUSE Linux Enterprise Server) client from the WebUI:

In "/var/log/rhn/rhn_web_ui.log"

2024-05-08 15:59:10,529 [ajp-nio-0:0:0:0:0:0:0:1-8009-exec-4] ERROR com.suse.manager.webui.controllers.bootstrap.AbstractMinionBootstrapper - Error during bootstrap: An error has occurred during salt execution: unable to parse json.


In "/var/log/salt/api"

2024-05-09 16:18:25,771 [salt.client.ssh  :1464][ERROR   ][2311] An Exception occurred while executing state.apply: [Errno 13] Permission denied: '/var/tmp/.root_304c44_salt/running_data'

Resolution

1) Verify the .root_304c44_salt file permissions from the SUMA server:

:~ # /var/tmp/.root_304c44_salt # ll /var/tmp
total 16
drwxr-xr-x 1 root root    58 May  8 12:27 .root_304c44_salt


2) If the file permissions belong to the root user and group, change the ownership of the `.root_304c44_salt` file to salt:

:~ # chown -R salt:salt /var/tmp/.root_304c44_salt


3) After that, bootstrapping the client should succeed without the error being seen.

Cause

Incorrect file permissions.

Additional Information

The bootstrapping process can be monitored with the command:

:~ # tail -f /var/log/rhn/rhn_web_ui.log 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021449
  • Creation Date: 13-May-2024
  • Modified Date:28-May-2024
    • SUSE Manager Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.