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

🧹 fix error with os provider for windows installation #56

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

atomic111
Copy link
Member

Can't install or update a windows with this ansible playbook. I always get an error regarding the "provider update", as you can see in the ansible logs:

On logout via "cnspec.exe logout --force --config C:\\ProgramData\\Mondoo\\mondoo.yml":
=======================================================================================

WRN could not load configuration file C:\\ProgramData\\Mondoo\\mondoo.yml
Error: could not gather client information: please update the provider plugin for os
Usage:
  cnspec logout [flags]

Aliases:
  logout, unregister

Flags:
      --force   Force re-authentication
  -h, --help    help for logout

Global Flags:
      --api-proxy string   Set proxy for communications with Mondoo API
      --auto-update        Enable automatic provider installation and update (default true)
      --config string      Set config file path (default $HOME/.config/mondoo/mondoo.yml)
      --log-level string   Set log level: error, warn, info, debug, trace (default "info")
  -v, --verbose            Enable verbose output

ERR could not gather client information: please update the provider plugin for os
On regsiter via "nspec.exe login --config C:\ProgramData\Mondoo\mondoo.yml --token XYZ":
========================================================================================

Error: could not gather client information: please update the provider plugin for os
Usage:
  cnspec login [flags]

Aliases:
  login, register

Flags:
      --annotation stringToString   Set the client annotations. (default [])
      --api-endpoint string         Set the Mondoo API endpoint.
  -h, --help                        help for login
      --name string                 Set asset name.
  -t, --token string                Set a client registration token.

Global Flags:
      --api-proxy string   Set proxy for communications with Mondoo API
      --auto-update        Enable automatic provider installation and update (default true)
      --config string      Set config file path (default $HOME/.config/mondoo/mondoo.yml)
      --log-level string   Set log level: error, warn, info, debug, trace (default "info")
  -v, --verbose            Enable verbose output

ERR could not gather client information: please update the provider plugin for os

Signed-off-by: Patrick Münch <patrick.muench1111@gmail.com>
@atomic111 atomic111 requested a review from chris-rock November 16, 2023 12:20
@chris-rock chris-rock merged commit 62ec314 into main Nov 30, 2023
@chris-rock chris-rock deleted the patrick/fix-os-provider-error branch November 30, 2023 08:12
@github-actions github-actions bot locked and limited conversation to collaborators Nov 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants