TL;DR - This email describes how to determine the changes between two releases 
via a number of 'ostree' and 'rpm-ostree' commands.  Kind of hacky, but it 
works.


I couldn't find an email about the previous two week release, so I had to kind 
of guess that it was released around Nov. 16.

With that information, I pulled all the commit metadata from the Fedora Atomic 
ostree repo.


# ostree pull --commit-metadata-only --depth -1 
fedora-atomic:fedora-atomic/f23/x86_64/docker-host

46 metadata, 0 content objects fetched; 5 KiB transferred in 11 seconds


I know the commit ID for the current release via 'rpm-ostree status'.


# rpm-ostree status
  TIMESTAMP (UTC)         VERSION   ID             OSNAME            REFSPEC    
                                            
* 2015-11-30 21:02:28     23.22     253ec42e3c     fedora-atomic     
fedora-atomic:fedora-atomic/f23/x86_64/docker-host


And now I can get the logs starting from that commit ID.


# ostree log 253ec42e3c
commit 253ec42e3cf434d1f69e63f6c3a020cfa502c03c49cb7691c929e259504c1e66
Date:  2015-11-30 21:02:28 +0000
Version: 23.22


commit beb2e699456454682eb685de404947c449e2b087f7e97523bc57e318bfa64038
Date:  2015-11-26 20:40:19 +0000
Version: 23.21
...


Around the Nov. 16 date, I found the following log entry:


commit 3a104b451e1f242eeca8b8682d12bb06ae64121b54ceaeb4f600d4495d640161
Date:  2015-11-17 15:33:11 +0000
Version: 23.14


So I'm going to pull that commit down, deploy it to my system, and reboot.


# ostree pull fedora-atomic 
3a104b451e1f242eeca8b8682d12bb06ae64121b54ceaeb4f600d4495d640161

733 metadata, 3220 content objects fetched; 186183 KiB transferred in 70 seconds
# ostree reset fedora-atomic:fedora-atomic/f23/x86_64/docker-host 
3a104b451e1f242eeca8b8682d12bb06ae64121b54ceaeb4f600d4495d640161
# ostree admin deploy fedora-atomic:fedora-atomic/f23/x86_64/docker-host
Copying /etc changes: 22 modified, 0 removed, 43 added
Transaction complete; bootconfig swap: yes deployment count change: 1
Freed objects: 4.9 kB
# rpm-ostree status
  TIMESTAMP (UTC)         VERSION   ID             OSNAME            REFSPEC    
                                            
  2015-11-17 15:33:11     23.14     3a104b451e     fedora-atomic     
fedora-atomic:fedora-atomic/f23/x86_64/docker-host     
* 2015-11-30 21:02:28     23.22     253ec42e3c     fedora-atomic     
fedora-atomic:fedora-atomic/f23/x86_64/docker-host     
# systemctl reboot


When I log into the system again, I can see I am booted into the older commit.

# atomic host status
  TIMESTAMP (UTC)         VERSION   ID             OSNAME            REFSPEC    
                                            
* 2015-11-17 15:33:11     23.14     3a104b451e     fedora-atomic     
fedora-atomic:fedora-atomic/f23/x86_64/docker-host     
  2015-11-30 21:02:28     23.22     253ec42e3c     fedora-atomic     
fedora-atomic:fedora-atomic/f23/x86_64/docker-host     


And if I do an 'rpm-ostree rollback', I get a nice summary of what changed at a 
package level.

# rpm-ostree rollback
Moving '253ec42e3cf434d1f69e63f6c3a020cfa502c03c49cb7691c929e259504c1e66.0' to 
be first deployment
Transaction complete; bootconfig swap: yes deployment count change: 0
Changed:
  ca-certificates 2015.2.5-1.0.fc23 -> 2015.2.6-1.0.fc23
  chkconfig 1.6-1.fc23 -> 1.7-1.fc23
  dbus 1:1.10.2-1.fc23 -> 1:1.10.4-1.fc23
  dbus-libs 1:1.10.2-1.fc23 -> 1:1.10.4-1.fc23
  device-mapper 1.02.107-1.fc23 -> 1.02.109-2.fc23
  device-mapper-event 1.02.107-1.fc23 -> 1.02.109-2.fc23
...

(Full changes here - http://fpaste.org/296660/07035214/)


It's worth noting that this process is substantially simpler with the 
'rpm-ostree deploy' command [1], which has landed upstream but does not appear 
to be in this release (availabe in 'rpm-ostree' version 2015.10 [2]).  


Thanks!

-Micah

[1] https://github.com/projectatomic/rpm-ostree/pull/178
[2] https://github.com/projectatomic/rpm-ostree/releases/tag/v2015.10

----- Original Message -----
> From: "Josh Boyer" <jwbo...@fedoraproject.org>
> To: "Fedora Cloud SIG" <cloud@lists.fedoraproject.org>
> Cc: rel-...@lists.fedoraproject.org, atomic-de...@projectatomic.io
> Sent: Tuesday, December 1, 2015 7:48:50 PM
> Subject: Re: Fedora Atomic Host Two Week Release Announcement
> 
> On Tue, Dec 1, 2015 at 7:46 PM, Adam Miller
> <maxamill...@fedoraproject.org> wrote:
> > A new update of Fedora Cloud Atomic Host has been released and can be
> > downloaded at:
> >
> > https://getfedora.org/en/cloud/download/atomic.html
> >
> > Respective signed CHECKSUM files can be found here:
> > https://alt.fedoraproject.org/pub/alt/atomic/stable/Cloud-Images/x86_64/Images/Fedora-Cloud-Images-x86_64-23-CHECKSUM
> > https://alt.fedoraproject.org/pub/alt/atomic/stable/Cloud_Atomic/x86_64/iso/Fedora-Cloud_Atomic-23-x86_64-CHECKSUM
> 
> Is there a manifest or changelog file for the updates that went into
> these images anywhere?
> 
> josh
> _______________________________________________
> cloud mailing list
> cloud@lists.fedoraproject.org
> http://lists.fedoraproject.org/admin/lists/cloud@lists.fedoraproject.org
> 
_______________________________________________
cloud mailing list
cloud@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/cloud@lists.fedoraproject.org

Reply via email to