Request #181

Migration Path from 1.2 to 1.4

Added by Marlon Nerling about 2 years ago. Updated 4 months ago.

Status:Closed Start date:12/08/2009
Priority:Normal Due date:
Assignee:- % Done:

70%

Category:Ecosystem
Target version:Release 1.4

Description

I i'm trying to migrate my Infrastrukture from 1.2 to 1.4 (using the release 1.3.80) and I'm having massive problems there.
I run one1.2 on the productive Master and 1.4 on the development Master.
Since the DB schema is changed, I scripted a little bash to import from a 1.2 DB to a 1.4 DB.
After this import the DB schemas are exactly the same on both Masters.
It is as far sucessfully as I can to use onevm, onehost and onenet for query my VM inventory.
But I cannot submit any VM. The only log I become is:

Tue Dec 8 17:00:30 2009 [ReM][D]: VirtualMachineAllocate invoked
Tue Dec 8 17:00:30 2009 [DiM][D]: Allocating a new VM

And the VMs stay in the state PENDING, forever and ever.

I tried to manually create the user_pool, by inserting the same values I use in my development 'one master'.
Tonight i will try using oneuser to create a new user on the Prod machine.
I will let You know wenn I have a running Master.

Every help and Idea are welcome.

ONE_DB-migrate-1.2to1.4.sh - Bash script for the migration of a 1.2 DB to a 1.4 schema (2 kB) Marlon Nerling, 12/08/2009 06:20 pm

History

Updated by Marlon Nerling about 2 years ago

I found the flag!

1. Do not manually create a user, set the ONE_AUTH to the user and password before starting the migration.
2. Don't forget to install all binaries on /usr/bin (I was doing nasty and copying only one* binaries).
3. Enjoy.

Updated by Javi Fontan about 2 years ago

Great!

Thank you so much for the contribution.

Updated by Ignacio M. Llorente about 2 years ago

  • Status changed from New to 3

Updated by Ruben S. Montero 4 months ago

  • Status changed from 3 to Closed

Also available in: Atom PDF