SUSE / suse-migration-services

GNU General Public License v3.0
7 stars 11 forks source link

Fixed registration check #157

Closed schaefi closed 4 years ago

schaefi commented 4 years ago

The SUSEConnect call to check if the system is registered was called in the live migration system environment. Of course there it will fail because the live migration system is never registered. The call has to be performed chrooted inside of the system we want to migrate. Thus the caller arguments as well as the call time in the preparation unit needs a fix

schaefi commented 4 years ago

I'm not sure what we did during the workshop but at least me obviously failed on a good review ;) The check for the registration did not work. In my tests it showed:

[ERROR   ]: 16:34:31 | To list extensions, you must first register the base product, using: SUSEConnect -r <registration code>

[ERROR   ]: 16:34:31 | System not registered. Aborting migration.

which is clear because we ran this on the live migration system

jesusbv commented 4 years ago

I'm not sure what we did during the workshop

Pretty sure (87% sure) we tested it at the time.

rjschwei commented 4 years ago

The problem was clearly that we had no beer during the workshop.