Bug 851888

Summary: yum update to RHUI 2.1 should call pulp-migrate
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Ian Pilcher <ipilcher>
Component: RHUAAssignee: mkovacik
Status: CLOSED ERRATA QA Contact: mkovacik
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1CC: tsanders, whayutin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-29 13:57:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Verifying screen log none

Description Ian Pilcher 2012-08-26 23:18:17 UTC
Description of problem:
When updating from RHUI 2.0.3 to 2.1, it is necessary to manually run
pulp-migrate.  This is not documented, and it should arguably be run as
part of a %post script (pulp?).

Version-Release number of selected component (if applicable):
pulp-0.0.263-25.el6_3.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install RHUI 2.0.3
2. yum update
  
Actual results:
After update, various things will be broken.  Attempting to display the
CDS sync status screen will report an "unexpected error", for example.

Expected results:
pulp-migrate should be run automatically.

Additional info:

Comment 1 James Slagle 2012-08-27 15:58:56 UTC
pulp-migrate won't be run automatically, but I've added the instructions to the README on the iso and we're going to do a new errata and iso for this issue.

Comment 3 James Slagle 2012-08-27 22:10:03 UTC
README updated:

== Updating ==
If updating from RHUI 2.0 or RHUI 2.0.1, make sure to follow all the update
steps detailed in the RHUI 2.0.2 release notes section.

Otherwise, the update steps from the RHUI Installation guide can be followed.

Once the update steps are completed however, the pulp-migrate command needs
to be run and the pulp-server service restarted on the RHUA:

$ pulp-migrate
database migration to version 41 complete
$ service pulp-server restart
Stopping httpd:                                            [  OK  ]
Stopping Qpid AMQP daemon:                                 [  OK  ]
Stopping mongod:                                           [  OK  ]
Starting mongod:                                           [  OK  ]
Starting Qpid AMQP daemon:                                 [  OK  ]
Starting httpd:                                            [  OK  ]

Note: the pulp-migrate command could take up to 1 hour to run.

Comment 5 mkovacik 2012-08-28 10:59:29 UTC
Created attachment 607475 [details]
Verifying screen log

The latest ISO README file does now mention the 'pulp-migrate' step indeed. URL used: https://cdn.redhat.com/content/dist/rhel/rhui/server/6/6Server/x86_64/rhui/2/iso/RHEL-6-RHUI-2-LATEST-Server-x86_64-DVD.iso

Comment 7 errata-xmlrpc 2012-08-29 13:57:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-1218.html