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

downstream: Include GPG signature in delta from 7.20170209 #259

Open
cgwalters opened this issue Mar 21, 2017 · 5 comments
Open

downstream: Include GPG signature in delta from 7.20170209 #259

cgwalters opened this issue Mar 21, 2017 · 5 comments

Comments

@cgwalters
Copy link
Member

See ostreedev/ostree#748

@cgwalters
Copy link
Member Author

TL;DR, it should work to:

ostree --repo=repo static-delta generate --from d433342b09673c9c4d75ff6eef50a447e73a7541491e5197e1dde14147b164b8 --to 841fae51e5b68716a9996ddbdb4e543855bbfab9c6e4cb433267b24e41e8bbc1
ostree --repo=repo summary -u

@cgwalters
Copy link
Member Author

It worked for me to upgrade from d433342b09673c9c4d75ff6eef50a447e73a7541491e5197e1dde14147b164b8 (7.20170209) ➡️ 91fe03fef75652f68a9974261b391faaeb5bd20f33abf09bb1d45511ba2df04e (7.20170405).

Closing, but please reopen/comment if you see other issues.

@cgwalters cgwalters reopened this Apr 13, 2017
@cgwalters
Copy link
Member Author

Actually, I think we have the same problem again:

# rpm-ostree status
State: idle
Deployments:
● centos-atomic-host:centos-atomic-host/7/x86_64/standard
       Version: 7.20170309 (2017-03-13 21:18:01)
        Commit: 841fae51e5b68716a9996ddbdb4e543855bbfab9c6e4cb433267b24e41e8bbc1
        OSName: centos-atomic-host
  GPGSignature: 1 signature
                Signature made Tue 14 Mar 2017 12:37:40 AM UTC using RSA key ID F17E745691BA8335
                Good signature from "CentOS Atomic SIG <[email protected]>"
-bash-4.2# rpm-ostree upgrade
Updating from: centos-atomic-host:centos-atomic-host/7/x86_64/standard
error: No detached metadata found for GPG verification

There is a GPG signature, but not in the delta. So we need to regenerate the delta.

@cgwalters
Copy link
Member Author

It does work to upgrade from d433342b09673c9c4d75ff6eef50a447e73a7541491e5197e1dde14147b164b8 because there's no delta.

@jasonbrooks
Copy link
Collaborator

@kbsingh and I will fix this, but interestingly, I was still able to sudo atomic host deploy 7.20170405 on a system where upgrade wasn't working.

jasonbrooks added a commit to jasonbrooks/sig-atomic-buildscripts that referenced this issue Apr 27, 2017
jasonbrooks added a commit that referenced this issue Apr 27, 2017
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

No branches or pull requests

2 participants