CastawayEGR / grafana-stack-podman

Spin up the Grafana Stack for Metrics, Logs, and Traces using Podman.
MIT License
26 stars 12 forks source link

Errors? #1

Open mcdent opened 2 years ago

mcdent commented 2 years ago

Hi, thanks for the info, however my install pretty much fails at the first step after pulling down the git files:-

[mike@oracle-nginx grafana-stack-podman]$ podman play kube grafana-stack.yaml Error: grafana-stack.yaml: error encountered while bringing up pod grafana-stack-pod-0: building local pause image: error building at STEP "COPY /usr/libexec/podman/catatonit /catatonit": error storing "/usr/libexec/podman/catatonit": error during bulk transfer for copier.request{Request:"PUT", Root:"/", preservedRoot:"/home/mike/.local/share/containers/storage/overlay/e8789f080a5a923fc6251f111a74c5cde33bdc5ce6c9378afcea3e6f4d58e97b/merged", rootPrefix:"/home/mike/.local/share/containers/storage/overlay/e8789f080a5a923fc6251f111a74c5cde33bdc5ce6c9378afcea3e6f4d58e97b/merged", Directory:"/", preservedDirectory:"/home/mike/.local/share/containers/storage/overlay/e8789f080a5a923fc6251f111a74c5cde33bdc5ce6c9378afcea3e6f4d58e97b/merged", Globs:[]string{}, preservedGlobs:[]string{}, StatOptions:copier.StatOptions{CheckForArchives:false, Excludes:[]string(nil)}, GetOptions:copier.GetOptions{UIDMap:[]idtools.IDMap(nil), GIDMap:[]idtools.IDMap(nil), Excludes:[]string(nil), ExpandArchives:false, ChownDirs:(*idtools.IDPair)(nil), ChmodDirs:(*fs.FileMode)(nil), ChownFiles:(*idtools.IDPair)(nil), ChmodFiles:(*fs.FileMode)(nil), StripSetuidBit:false, StripSetgidBit:false, StripStickyBit:false, StripXattrs:false, KeepDirectoryNames:false, Rename:map[string]string(nil), NoDerefSymlinks:false, IgnoreUnreadable:false, NoCrossDevice:false}, PutOptions:copier.PutOptions{UIDMap:[]idtools.IDMap{}, GIDMap:[]idtools.IDMap{}, DefaultDirOwner:(*idtools.IDPair)(0xc0006b5fe0), DefaultDirMode:(*fs.FileMode)(nil), ChownDirs:(*idtools.IDPair)(nil), ChmodDirs:(*fs.FileMode)(nil), ChownFiles:(*idtools.IDPair)(nil), ChmodFiles:(*fs.FileMode)(nil), StripSetuidBit:false, StripSetgidBit:false, StripStickyBit:false, StripXattrs:false, IgnoreXattrErrors:false, IgnoreDevices:true, NoOverwriteDirNonDir:false, Rename:map[string]string(nil)}, MkdirOptions:copier.MkdirOptions{UIDMap:[]idtools.IDMap(nil), GIDMap:[]idtools.IDMap(nil), ChownNew:(*idtools.IDPair)(nil), ChmodNew:(*fs.FileMode)(nil)}, RemoveOptions:copier.RemoveOptions{All:false}}: copier: put: error setting extended attributes on "/catatonit": error setting value of extended attribute "security.ima" on "/catatonit": operation not permitted [mike@oracle-nginx grafana-stack-podman]$

This is on a Centos 9 install ?

CastawayEGR commented 2 years ago

Thanks for the report, this was tested on RPM based linux versions of 8.x. That said I tested on 9.x and ran into some issues with directory permissions and will debug further.

However I want to confirm what os and version you are running, are you running CentOS Stream 9?

From the logs you shared it appears this maybe Oracle Linux 9 and if so that appears to be related to IMA enabled systems and catatonit which seems to be a known issue.

mcdent commented 2 years ago

Thanks for the info. I am running Oracle Linux 9 Developer Preview for x86_64 (64-bit) . I wrongly assumed that as your instructions mentioned RHEL, that Oracle 9 would be pretty similar, seems its got it's own issues as you pointed out. Any ideas if RHEL 9 will work without these problems? 👍🏻

CastawayEGR commented 2 years ago

No problem and your assumption is a good one as this will work with RHEL derivatives but is only tested on 8.x versions (e.g. RHEL 8.6).

I did test on RHEL 9 and ran into similar directory issues as seen on CentOS Stream 9. I will try to debug further and report back once I have cycles to do so. My apologies!