[Fiware-lab-federation-nodes] Migration Plan After Open Call Results

Cristian Cristelotti cristian.cristelotti.coll at trentinonetwork.it
Thu Feb 25 14:55:12 CET 2016


Same for us in Trento.

We've done a little script to save all VMs, transfer the snapshots and create the commands (glance image-create ... )  to launch the snapshots on the new node.

Cristian

----- Messaggio originale -----
Da: "Riwal KERHERVE" <rkerherve at images-et-reseaux.com>
A: "Theofanis Katsiaounis" <th_katsiaounis at neuropublic.gr>, "FERNANDO LOPEZ AGUILAR" <fernando.lopezaguilar at telefonica.com>, "Álvaro Alonso" <aalonsog at dit.upm.es>
Cc: fiware-lab-federation-nodes at lists.fiware.org
Inviato: Giovedì, 25 febbraio 2016 14:49:29
Oggetto: Re: [Fiware-lab-federation-nodes] Migration Plan After Open Call Results





Theofanis, 



Some answers below in your mail. 



BR 


Riwal 
Kerherve 
	

{ T } 	

+ 33 ( 0 ) 2 56 35 85 04 
	

{ M } 	

+ 33 ( 0 ) 6 83 64 25 94 







De : fiware-lab-federation-nodes-bounces at lists.fiware.org [mailto:fiware-lab-federation-nodes-bounces at lists.fiware.org] De la part de Theofanis Katsiaounis 
Envoyé : lundi 22 février 2016 10:28 
À : FERNANDO LOPEZ AGUILAR; Álvaro Alonso 
Cc : fiware-lab-federation-nodes at lists.fiware.org 
Objet : Re: [Fiware-lab-federation-nodes] Migration Plan After Open Call Results 



Dear Fernando,all 
since we are in the process of migrating our vm's to other nodes can we have any tips on how to do that more efficiently? 
I believe the process should be to create a snapshot and then tranfer the snapshot to the new node glance??? 

RKE : Yes this is how in Lannion we had proceed for Juno and will proceed for Kilo. 

Will we be able to transfer our images directly to other node glance servers? 

RKE: I think you should ask to Fernando to put your new node in the config of the “automatic image update tool”. 



Thanks a lot in advance, 
Fanis 


On 18/02/2016 02:45 μμ, FERNANDO LOPEZ AGUILAR wrote: 






FYI, we update the repo with the last changes in order to resolve the problems that were identified by Theofanis. 





I hope that now you can use it. 





Fernando.- 





From: Theofanis Katsiaounis < th_katsiaounis at neuropublic.gr > 
Date: Thursday 18 February 2016 at 12:40 
To: fla < fernando.lopezaguilar at telefonica.com >, Álvaro Alonso < aalonsog at dit.upm.es > 
Cc: " fiware-lab-federation-nodes at lists.fiware.org " < fiware-lab-federation-nodes at lists.fiware.org > 
Subject: Re: [Fiware-lab-federation-nodes] Migration Plan After Open Call Results 






Dear Fernando, 
i tried the proposed solution and it failed again. 
I then noticed it tries to load OpenstackMap module which in the skuld 
folder is called as OpenStackMap. 
Changed in users.py line 48 the name to OpenStackMap and it worked. 
However now i get this: 

Getting administrator token... 
Getting id of the requested region... 
Getting the list of projects in the specific region... 
Get the list of users with some role on those projects... 
Getting the email of the identified users... 
Making analysis bottom-up... 
Traceback (most recent call last): 
File "./users.py", line 320, in <module> 
getusers = processing_request(arguments) 
File "./users.py", line 306, in processing_request 
useremail_osclient = get_email_osclient(username=username, 
password=password, region=region) 
File "./users.py", line 237, in get_email_osclient 
map.load_keystone() 
File "/root/download/fiware-skuld/skuld/openstackmap.py", line 572, 
in load_keystone 
self._get_keystone_data() 
File "/root/download/fiware-skuld/skuld/openstackmap.py", line 215, 
in _get_keystone_data 
keystone = self.osclients.get_keystoneclientv3() 
File "/root/download/fiware-skuld/utils/osclients.py", line 585, in 
get_keystoneclientv3 
session = self.get_session_v3() 
File "/root/download/fiware-skuld/utils/osclients.py", line 440, in 
get_session_v3 
self._apply_override_endpoint(**override) 
File "/root/download/fiware-skuld/utils/osclients.py", line 680, in 
_apply_override_endpoint 
endpoints = list(endp for endp in self.get_endpoints(service_type) 
File "/root/download/fiware-skuld/utils/osclients.py", line 615, in 
get_endpoints 
for service in self.get_catalog(): 
File "/root/download/fiware-skuld/utils/osclients.py", line 597, in 
get_catalog 
access = session.auth.get_access(session) 
File 
"/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", 
line 126, in get_access 
self.auth_ref = self.get_auth_ref(session) 
File 
"/usr/lib/python2.7/dist-packages/keystoneclient/auth/identity/v3.py", 
line 119, in get_auth_ref 
authenticated=False, log=False, **rkwargs) 
File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", 
line 430, in post 
return self.request(url, 'POST', **kwargs) 
File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 
318, in inner 
return func(*args, **kwargs) 
File "/usr/lib/python2.7/dist-packages/keystoneclient/session.py", 
line 346, in request 
raise exceptions.from_response(resp, method, url) 
keystoneclient.openstack.common.apiclient.exceptions.NotFound: The 
resource could not be found. (HTTP 404) 



On 18/02/2016 01:30 μμ, FERNANDO LOPEZ AGUILAR wrote: 
> $ export PYTHONPATH=../.. 



Αποποίηση ευθυνών / Disclaimer 






Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. 

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it. 

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição 




Αποποίηση ευθυνών / Disclaimer 
_______________________________________________
Fiware-lab-federation-nodes mailing list
Fiware-lab-federation-nodes at lists.fiware.org
https://lists.fiware.org/listinfo/fiware-lab-federation-nodes

-- 
Cristian Cristelotti

Collaboratore di Trentino Network Srl







More information about the Fiware-lab-federation-nodes mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy