Hello,
Javier, Henar,
Now I see that the script could be useful to enable additional features.
I tried to launch VMs with 2 network (as suggested by Henar) but the script
seems not working in Trento Node (the network configuration it is not
applied). I used ubuntu (Ubuntu 14.04 from cloud-images.ubuntu.com) and
CentOS (CentOS-6.2-sdc) and both have cloud-inint installed (see attached
log).
Do you have any suggestion to solve this issue?
This use case – VM attached to two network – it’s a very interesting
scenario for multiple external networks.
So I'll wait to hear back from you.
Regards,
Giuseppe
From: federico.facca@gmail.com federico.facca@gmail.com On Behalf
Of Federico Michele Facca
Sent: 27 August 2014 12:59
To: Javier Cerviño
Cc: HENAR MUÑOZ FRUTOS; fiware-portals@lists.fi-ware.org;
giuseppe.cossu@create-net.org; fiware-lab-help@lists.fi-ware.org
Subject: Re: [Fiware-portals] [Fiware-lab-help] Fwd:
Hi Javier,
I see Just trying to understand if this makes sense or not also
considering is not much documented in the portal.
Thx,
Federico
On Wed, Aug 27, 2014 at 12:55 PM, Javier Cerviño <jcague@gmail.com> wrote:
Hi Federico,
In regions that do not have neutron (like the one in Spain) you can see in
the Cloud Portal that the script is not filled, so you it shouldn't be a
problem at all.
Cheers,
Javier.
On 27 August 2014 12:27, HENAR MUÑOZ FRUTOS
<henar.munozfrutos@telefonica.com> wrote:
Hi
This script is valid for Centos and Ubuntu and it has been testbed in a
Havanna installation.
Regards,
Henar
De: federico.facca@gmail.com federico.facca@gmail.com En nombre de
Federico Michele Facca
Enviado el: miércoles, 27 de agosto de 2014 12:25
Para: HENAR MUÑOZ FRUTOS
CC: fiware-lab-help@lists.fi-ware.org; fiware-portals@lists.fi-ware.org;
giuseppe.cossu@create-net.org
Asunto: Re: [Fiware-lab-help] Fwd:
hi henar,
i know for the chef/puppet part (i recall discussing this with fernando).
the problem is that the script may not work on something different from
centos, and that network configuration is largely depending also on the
openstack set-up. for example spain does not use yet neutron. not sure if
this was properly tested on all combinations.
cheers,
federico
On Wed, Aug 27, 2014 at 12:05 PM, HENAR MUÑOZ FRUTOS
<henar.munozfrutos@telefonica.com> wrote:
Hi
We are using the user_data funciontality plus cloud-init library to
configure the VMs. For instance, if a VM is deployed on two networks, the VM
needs to have two network interface. The way to do that is by the cloud-init
configuration. We agree with UPM portal to show this script, so that, the
user is aware we are configuring its VM. In addition, we are using this
cloud-init configuration to install the chef and puppet for blueprint
configuration.
Regards,
Henar
De: fiware-lab-help-bounces@lists.fi-ware.org
fiware-lab-help-bounces@lists.fi-ware.org En nombre de Federico
Michele Facca
Enviado el: miércoles, 27 de agosto de 2014 12:01
Para: fiware-lab-help@lists.fi-ware.org
Asunto: [Fiware-lab-help] Fwd:
does anyone knows why this was introduced?
---------- Forwarded message ----------
From: Giuseppe Cossu <giuseppe.cossu@create-net.org>
Date: Wed, Aug 27, 2014 at 11:57 AM
Subject:
To: Federico Michele Facca <federico.facca@create-net.org>
Federico,
I noticed that the Cloud Portal uses a default script configuration (look at
the attached file and below) when a try to boot a VM.
This script is the same for all XIFI nodes and for all the images. Is it
useful?
The images I’ve tried work fine without this script that seems designed only
for CentOS images.
Giuseppe
----------------------------------------------------------------------------------------
- This script automatically installs network interfaces in the instance.
- You can modify it, but be careful not to change network configuration.
write_files:
content: |
YXV0byBsbyAKaWZhY2UgbG8gaW5ldCBsb29wYmFjawogYXV0byBldGgwIAogaWZhY2UgZXRoMCAgaW5ldCBkaGNwCg==
path: /etc/network/interfaces
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO="dhcp"
TYPE="Ethernet"
path: /etc/sysconfig/network-scripts/ifcfg-eth0
permissions: '460'
bootcmd:
--------------------------------------------------------
Giuseppe Cossu
CREATE-NET
Smart Infrastructures
Research Engineer
Via alla Cascata 56/D - 38123 Povo Trento (Italy)
e-mail: giuseppe.cossu@create-net.org
Tel: (+39) 0461 408400 <tel:%28%2B39%29%200461%20408400> -
interno/extension [1316]
Fax: (+39) 0461 421157 <tel:%28%2B39%29%200461%20421157>
<http://www.create-net.org> www.create-net.org
--------------------------------------------------------
–
Dr. Federico M. Facca
CREATE-NET
Via alla Cascata 56/D
38123 Povo Trento (Italy)
T +39 0461 408400 <tel:%2B39%200461%20408400> (1669)
F +39 0461 421157 <tel:%2B39%200461%20421157>
M +39 334 6049758 <tel:%2B39%20334%206049758>
E federico.facca@create-net.org
W www.create-net.org
_____
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
–
Dr. Federico M. Facca
CREATE-NET
Via alla Cascata 56/D
38123 Povo Trento (Italy)
T +39 0461 408400 <tel:%2B39%200461%20408400> (1669)
F +39 0461 421157 <tel:%2B39%200461%20421157>
M +39 334 6049758 <tel:%2B39%20334%206049758>
E federico.facca@create-net.org
W www.create-net.org
_____
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
_______________________________________________
Fiware-portals mailing list
Fiware-portals@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-portals
–
Dr. Federico M. Facca
CREATE-NET
Via alla Cascata 56/D
38123 Povo Trento (Italy)
T +39 0461 408400 (1669)
F +39 0461 421157
M +39 334 6049758
E federico.facca@create-net.org
W www.create-net.org
_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-lab-help
Hi
We are using the user_data funciontality plus cloud-init library to configure the VMs. For instance, if a VM is deployed on two networks, the VM needs to have two network interface. The way to do that is by the cloud-init configuration. We agree with UPM portal to show this script, so that, the user is aware we are configuring its VM. In addition, we are using this cloud-init configuration to install the chef and puppet for blueprint configuration.
Regards,
Henar
De: fiware-lab-help-bounces@lists.fi-ware.org fiware-lab-help-bounces@lists.fi-ware.org En nombre de Federico Michele Facca
Enviado el: miércoles, 27 de agosto de 2014 12:01
Para: fiware-lab-help@lists.fi-ware.org
Asunto: [Fiware-lab-help] Fwd:
does anyone knows why this was introduced?
---------- Forwarded message ----------
From: Giuseppe Cossu <giuseppe.cossu@create-net.org<giuseppe.cossu@create-net.org>>
Date: Wed, Aug 27, 2014 at 11:57 AM
Subject:
To: Federico Michele Facca <federico.facca@create-net.org<federico.facca@create-net.org>>
Federico,
I noticed that the Cloud Portal uses a default script configuration (look at the attached file and below) when a try to boot a VM.
This script is the same for all XIFI nodes and for all the images. Is it useful?
The images I’ve tried work fine without this script that seems designed only for CentOS images.
Giuseppe
----------------------------------------------------------------------------------------
write_files:
content: |
YXV0byBsbyAKaWZhY2UgbG8gaW5ldCBsb29wYmFjawogYXV0byBldGgwIAogaWZhY2UgZXRoMCAgaW5ldCBkaGNwCg==
path: /etc/network/interfaces
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT="yes"
BOOTPROTO="dhcp"
TYPE="Ethernet"
path: /etc/sysconfig/network-scripts/ifcfg-eth0
permissions: '460'
bootcmd:
--------------------------------------------------------
Giuseppe Cossu
CREATE-NET
Smart Infrastructures
Research Engineer
Via alla Cascata 56/D - 38123 Povo Trento (Italy)
e-mail: giuseppe.cossu@create-net.org<giuseppe.cossu@create-net.org>
Tel: (+39) 0461 408400<tel:%28%2B39%29%200461%20408400> - interno/extension [1316]
Fax: (+39) 0461 421157<tel:%28%2B39%29%200461%20421157>
www.create-net.org<http://www.create-net.org>
--------------------------------------------------------
–
Dr. Federico M. Facca
CREATE-NET
Via alla Cascata 56/D
38123 Povo Trento (Italy)
T +39 0461 408400 (1669)
F +39 0461 421157
M +39 334 6049758
E federico.facca@create-net.org<federico.facca@create-net.org>
W www.create-net.org<http://www.create-net.org>
________________________________
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
_______________________________________________
Fiware-lab-help mailing list
Fiware-lab-help@lists.fi-ware.org
https://lists.fi-ware.org/listinfo/fiware-lab-help