Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ done
echo "Gathering bootstrap journals ..."
mkdir -p "${ARTIFACTS}/bootstrap/journals"
for service in approve-csr bootkube crio crio-configure image-customization ironic ironic-dnsmasq ironic-httpd ironic-ramdisk-logs \
kubelet master-bmh-update metal3-baremetal-operator release-image release-image-download sssd
kubelet master-bmh-update metal3-baremetal-operator release-image release-image-download sssd node-image-pull
do
journalctl --boot --no-pager --output=short --unit="${service}" > "${ARTIFACTS}/bootstrap/journals/${service}.log"
done
Expand Down
1 change: 1 addition & 0 deletions pkg/gather/service/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ func analyzeGatherBundle(bundleFile io.Reader) error {
check func(analysis) bool
optional bool
}{
{name: "node-image-pull", check: checkReleaseImageDownload, optional: false},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking about adding unit tests case for node-image-pull in:

func TestAnalyzeGatherBundle(t *testing.T) {

But the service release-image and node-image-pull are handled the same way. Let's just rename test cases to node-image-pull instead to avoid dups + reflect the new "actually being used" service?

{name: "release-image", check: checkReleaseImageDownload, optional: false},
{name: "bootkube", check: checkBootkubeService, optional: false},
}
Expand Down