Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

'atomic host' doesn't pass through options to rpm-ostree #166

Closed
dustymabe opened this issue Sep 22, 2015 · 2 comments
Closed

'atomic host' doesn't pass through options to rpm-ostree #166

dustymabe opened this issue Sep 22, 2015 · 2 comments

Comments

@dustymabe
Copy link
Contributor

For the CentOS7/Fedora23 Atomic test day (09/22/2015) there was a centos 7 atomic image where the tree in the image was newer than the remote the image referenced. When I tried to test atomic host upgrade it politely told me that the remote ref was older than what currently existed and then told me how to workaround. When I tried passing --allow-downgrade as suggested I got an error from atomic.

I know I can use rpm-ostree directly but I was told this was a bug by @cgwalters so I'm filing it here.

-bash-4.2# rpm-ostree status                                                                                                                                                                                                                
  TIMESTAMP (UTC)         VERSION        ID             OSNAME                 REFSPEC                                                     
* 2015-09-17 20:46:58     7.20150917     7c37828d3b     centos-atomic-host     centos-atomic-host:centos-atomic-host/7/x86_64/standard     
-bash-4.2# atomic host upgrade 
Updating from: centos-atomic-host:centos-atomic-host/7/x86_64/standard



GPG: Verification enabled, found 3 signatures:

  Signature made Tue 08 Sep 2015 10:01:32 PM UTC using RSA key ID F17E745691BA8335
  Good signature from "CentOS Atomic SIG <security@centos.org>"

  Signature made Tue 08 Sep 2015 10:01:38 PM UTC using RSA key ID F17E745691BA8335
  Good signature from "CentOS Atomic SIG <security@centos.org>"

  Signature made Tue 08 Sep 2015 10:25:23 PM UTC using RSA key ID F17E745691BA8335
  Good signature from "CentOS Atomic SIG <security@centos.org>"


551 metadata, 2834 content objects fetched; 184857 KiB transferred in 62 seconds
error: Upgrade target revision '915aac3154ebf2280b2b646e3f9251805d397edf513bc9b3f3874369a860c90a' with timestamp 'Tue 08 Sep 2015 09:59:09 PM UTC' is chronologically older than current revision '7c37828d3b97aea158feac4475528c6f80cb0454532316df7d0a20b9a6fa9d0f' with timestamp 'Thu 17 Sep 2015 08:46:58 PM UTC'; use --allow-downgrade to permit
-bash-4.2# 
-bash-4.2# atomic host upgrade --allow-downgrade
/bin/atomic: unrecognized arguments: --allow-downgrade
Try 'atomic --help' for more information.
@rhatdan
Copy link
Member

rhatdan commented Sep 23, 2015

Added the following to fix this

#167

@rhatdan
Copy link
Member

rhatdan commented Sep 29, 2015

Merged

@rhatdan rhatdan closed this as completed Sep 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants