-
Notifications
You must be signed in to change notification settings - Fork 773
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
MicroK8s v1.31.0 revision 7178 missing addon CIS-hardening #4688
Comments
Hey @djjeffr, Is this node upgraded from an older version to v1.31? Doing a fresh install I can observe the addon in the list
You might need to update the addons repository with For the community addons repo can you check the ownership of the |
Thanks that worked. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
MicroK8s v1.31.0 revision 7178 missing addon CIS-hardening
See https://bugs.launchpad.net/canonical-identity-provider/+bug/2083079
What Should Happen Instead?
Addon should exist
Reproduction Steps
Introspection Report
Can you suggest a fix?
Load addon
Are you interested in contributing with a fix?
no
Also community addon doesn't load;
~ $ microk8s enable community
Infer repository core for addon community
Cloning into '/var/snap/microk8s/common/addons/community'...
fatal: detected dubious ownership in repository at '/snap/microk8s/current/addons/community/.git'
To add an exception for this directory, call:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Traceback (most recent call last):
File "/snap/microk8s/7178/scripts/wrappers/addons.py", line 351, in
addons(prog_name="microk8s addons")
File "/snap/microk8s/7178/usr/lib/python3/dist-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/snap/microk8s/7178/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/snap/microk8s/7178/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/snap/microk8s/7178/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/snap/microk8s/7178/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/snap/microk8s/7178/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/snap/microk8s/7178/scripts/wrappers/addons.py", line 207, in add
subprocess.check_call(cmd)
File "/snap/microk8s/7178/usr/lib/python3.8/subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/snap/microk8s/7178/git.wrapper', 'clone', '/snap/microk8s/current/addons/community', PosixPath('/var/snap/microk8s/common/addons/communited non-zero exit status 128.
~$ microk8s version
MicroK8s v1.31.0 revision 7178
inspection-report-20240927_220449.tar.gz
The text was updated successfully, but these errors were encountered: