Skip to content

importer: Add some error prefixing#1889

Closed
cgwalters wants to merge 2 commits intocoreos:masterfrom
cgwalters:importer-error-cleanup
Closed

importer: Add some error prefixing#1889
cgwalters wants to merge 2 commits intocoreos:masterfrom
cgwalters:importer-error-cleanup

Conversation

@cgwalters
Copy link
Member

@cgwalters cgwalters commented Aug 22, 2019

I was debugging a failure in cosa when running in unprivleged podman,
with this patch the error is:
error: Importing package 'alternatives': Writing tmpfiles mtree: llistxattr: Is a directory

And that finally made it obvious to me that the problem is not using
tmpfs for /tmp (well, this is a bug in fuse-overlayfs).

Anyways, let's prefix errors some more on general principle.

@rfairley
Copy link
Contributor

Minor: typo in commit message unprivleged

LGTM!

@cgwalters cgwalters force-pushed the importer-error-cleanup branch from 19c5e57 to db9d984 Compare August 22, 2019 14:57
@cgwalters
Copy link
Member Author

Looks like containers/fuse-overlayfs#105 would fix this.

@rfairley
Copy link
Contributor

@rh-atomic-bot r+ db9d984

rh-atomic-bot pushed a commit that referenced this pull request Aug 22, 2019
I was debugging a failure in cosa when running in unprivileged podman,
with this patch the error is:
`error: Importing package 'alternatives': Writing tmpfiles mtree: llistxattr: Is a directory`

And that finally made it obvious to me that the problem is not using
tmpfs for `/tmp` (well, this is a bug in fuse-overlayfs).

Anyways, let's prefix errors some more on general principle.

Closes: #1889
Approved by: rfairley
@rh-atomic-bot
Copy link

⌛ Testing commit db9d984 with merge f342cb5...

@rh-atomic-bot
Copy link

💔 Test failed - status-atomicjenkins

@rfairley
Copy link
Contributor

@rh-atomic-bot retry

@rh-atomic-bot
Copy link

⌛ Testing commit db9d984 with merge a74d19c...

rh-atomic-bot pushed a commit that referenced this pull request Aug 22, 2019
I was debugging a failure in cosa when running in unprivileged podman,
with this patch the error is:
`error: Importing package 'alternatives': Writing tmpfiles mtree: llistxattr: Is a directory`

And that finally made it obvious to me that the problem is not using
tmpfs for `/tmp` (well, this is a bug in fuse-overlayfs).

Anyways, let's prefix errors some more on general principle.

Closes: #1889
Approved by: rfairley
@rh-atomic-bot
Copy link

💔 Test failed - status-atomicjenkins

I was debugging a failure in cosa when running in unprivileged podman,
with this patch the error is:
`error: Importing package 'alternatives': Writing tmpfiles mtree: llistxattr: Is a directory`

And that finally made it obvious to me that the problem is not using
tmpfs for `/tmp` (well, this is a bug in fuse-overlayfs).

Anyways, let's prefix errors some more on general principle.
@cgwalters cgwalters force-pushed the importer-error-cleanup branch from db9d984 to 91f3fff Compare August 22, 2019 20:14
@cgwalters
Copy link
Member Author

rpm-ostree: /lib64/libostree-1.so.1: version `LIBOSTREE_2019.3' not found (required by rpm-ostree)

Should be fixed by 1027ade
which I accidentally pushed to master directly (meant to push on top of this PR).

@rfairley
Copy link
Contributor

👍 giving it another go!

@rh-atomic-bot r+ 91f3fff

@rh-atomic-bot
Copy link

⌛ Testing commit 91f3fff with merge 9f7cea3...

rh-atomic-bot pushed a commit that referenced this pull request Aug 22, 2019
I was debugging a failure in cosa when running in unprivileged podman,
with this patch the error is:
`error: Importing package 'alternatives': Writing tmpfiles mtree: llistxattr: Is a directory`

And that finally made it obvious to me that the problem is not using
tmpfs for `/tmp` (well, this is a bug in fuse-overlayfs).

Anyways, let's prefix errors some more on general principle.

Closes: #1889
Approved by: rfairley
@cgwalters cgwalters force-pushed the importer-error-cleanup branch 5 times, most recently from 063aca9 to f3c398b Compare August 23, 2019 19:28
@rfairley
Copy link
Contributor

In CI log (https://s3.amazonaws.com/aos-ci/ghprb/projectatomic/rpm-ostree/f3c398b75416bbd05b8a0ca5d171d37ff5e29e74.1.1566589033842598483/output.log):

 + yum -y install @buildsys-build
Repository 'f30-coreos-continuous' is missing name in configuration, using id.
Last metadata expiration check: 0:00:04 ago on Fri Aug 23 19:43:15 2019.
Error: 
 Problem: problem with installed package fedora-release-container-30-5.noarch
  - package fedora-release-container-30-5.noarch conflicts with system-release provided by fedora-release-30-1.noarch

Hit this locally before but passed --skip-broken to get past it. Should we exclude fedora-release here? From https://fedoraproject.org/wiki/Common_F30_bugs#Conflicts_between_fedora-release_packages_when_installing_package_groups

yum -y install @buildsys-build --excludepkg fedora-release

@cgwalters cgwalters force-pushed the importer-error-cleanup branch from f3c398b to 37bb6f4 Compare August 23, 2019 21:31
@cgwalters
Copy link
Member Author

Thanks for looking at that! I'm going to try what I think is a simpler solution than any of those on the wiki: yum swap fedora-release-container fedora-release. (IMO it's fairly broken that this is required...but eh)

Use --entrypoint and also rename it while we're here.
@cgwalters cgwalters force-pushed the importer-error-cleanup branch from 37bb6f4 to 9ff6117 Compare August 23, 2019 21:46
@cgwalters
Copy link
Member Author

Woo, it works! That was only like 9 iterations of "I can just push this one more fix, don't need to test locally". Totally worked.

@rh-atomic-bot r=rfairley 9ff6117

@rh-atomic-bot
Copy link

⚡ Test exempted: pull fully rebased and already tested.

rh-atomic-bot pushed a commit that referenced this pull request Aug 24, 2019
Use --entrypoint and also rename it while we're here.

Closes: #1889
Approved by: rfairley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants