--
You received this message because you are subscribed to the Google
Groups "Synnefo" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to synnefo+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello Michael,
snf-image is used by Synnefo only during instance creation, so it is
not really
relevant here.
The process to import your XEN instances to Synnefo contains two
distinct
phases. The first phase involves importing your XEN instances into a
Ganeti
cluster that is being used by Synnefo. I am not aware of the XEN
configuration,
but I am sure you will get some help in the Ganeti mailing list.
Once you have the VM running under Ganeti, you can import it to
Synnefo using
the 'snf-manage server-import' command. This command will shutdown
the Ganeti
instance, rename it in order to match the Synnefo naming rule
(snf-$id) and
then start it again. e.g.
# snf-manage server-import
--user=0683cdca-ae6b-43ee-8dc6-23546d4428bb
--backend-id=1 --image=7b7d7308-a5d7-458c-a20c-2dcf01647c5e
--flavor=1 instance-name
From this point, the instance can be managed by Synnefo and will
belong to the
user that you specified above. The 'image' option does not play an
important
role here, but is required from the API and it will be used in order
to display
a proper icon in the Cyclades UI.
This command will fail to import the instance if it is connected to
networks
that Synnefo is not aware. The easiest way will be to remove all
instance NICs
before importing it, and then assign new ones using Synnefo.
Best,
Christos
PS: I played around with the server-import command and it seems it
has some
minor bugs. I have attached a small patch that should be applied
to
'/usr/share/pyshared/synnefo/logic/management/commands/server-import.py'.
I will soon send a PR for this.