<div dir="ltr">Indeed,<div><br></div><div><a href="http://dev.opennebula.org/issues/2255">http://dev.opennebula.org/issues/2255</a><br></div><div><br></div><div>It's already fixed.</div><div><br></div><div>Ruben</div></div>

<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 23, 2013 at 6:51 PM, Nicolas Bélan <span dir="ltr"><<a href="mailto:nicolas.belan@gmail.com" target="_blank">nicolas.belan@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
same (more or less) pb, but with RAW entries...<br>
<br>
each time I update a template using 'classical' window ,not the advanced<br>
on, I loose<br>
<div class="im">RAW=[TYPE="kvm",DATA="<devices><serial type='pty'><target<br>
port='0'/></serial><console type='pty'><target type='serial'<br>
port='0'/></console></devices>"]<br>
<br>
</div>a bug ?<br>
<br>
Best regards,<br>
Nicolas.<br>
<br>
Le 19/08/13 15:11, Javier Fontan a écrit :<br>
<div class="HOEnZb"><div class="h5">> When OpenNebula finds NETWORK=yes it adds (or substitutes) network<br>
> parameters by the standard network parameters that come in variable<br>
> form, something like:<br>
><br>
>   ETH0_IP = "$NIC[IP, NETWORK=\"public\"]",<br>
>   ETH0_NETWORK = "$NETWORK[NETWORK_ADDRESS, NETWORK=\"public\"]",<br>
>   ETH0_MASK = "$NETWORK[NETWORK_MASK, NETWORK=\"public\"]",<br>
>   ETH0_GATEWAY = "$NETWORK[GATEWAY, NETWORK=\"public\"]",<br>
>   ETH0_DNS = "$NETWORK[DNS, NETWORK=\"public\"]",<br>
>   ETH0_CONTEXT_FORCE_IPV4 = "$NETWORK[CONTEXT_FORCE_IPV4, NETWORK=\"public\"]",<br>
><br>
> Then it substitutes the variables but when no match is found the<br>
> variable is deleted. I think the problem is that you don't have the<br>
> variable "CONTEXT_FORCE_IPV4" set in the virtual network template.<br>
><br>
> On Wed, Aug 14, 2013 at 4:22 PM, Nicolas Bélan <<a href="mailto:nicolas.belan@gmail.com">nicolas.belan@gmail.com</a>> wrote:<br>
>> Hello<br>
>><br>
>> I have the following context in my VM:<br>
>> TARGET vdb<br>
>> ETH0_MASK 255.255.255.192<br>
>> ETH0_DNS A.B.C.D<br>
>> ETH0_IPV6 A:B::400:b9ff:fe1e:5c04<br>
>> ETH0_IP6 A:B::400:b9ff:fe1e:5c04<br>
>> ETH0_NETWORK A.B.C.0<br>
>> ETH0_GATEWAY6 A:B::ffff<br>
>> ETH0_GATEWAY A.B.C.D<br>
>> ETH0_IP A.B.C.D<br>
>> NETWORK YES<br>
>> SSH_PUBLIC_KEY ssh-rsa<br>
>> AAAAB3NzaC1yc2EAAAADAQABAAACAQC/I3q0n8U/4+YEnUFyqh6nU7pKjUYQEhcu9jGtmYa57lzf8h9ps23RgUXGjT7GJiTASscRIuv9wSfC/6pGdjk7FVFs4lSVyyVfxuq+hRZ/uGpqsbtJqTWzeqOnEIixiLyjSSHe4O9c8kcNj/HMwqQ9k/IlXIA/kH/a5yUkOE1eHZ3r4KIydnGwvccaxqjJTHqvmKMYJAjOt1oe349SgT8ME7L4602Y88T7akVWmvOlP5W4cyi3hFoClv6iOqdjCTxOZX+tIoxJyBDS8lwIbgbf+S7gJhZsBJs1bshmC8U2Jx4tLTCpvNWYc2yE7LjaZweO3Cvz10OJ30nmRbdnCFT+jm5NvraGghLkp3eIXoEXP+yY/QlHc6R0XckgDZDF+N9jS3QAMsq8kEb6Uiy7UUlXvnDiCksgG1elJrTMN5wdyQFb55y3l0G3GaGt7vF+6yBMOay5b6Gy2LhIizrE2GJpd04auAZc8aAhJPUXXpDAK3nIuwwS2Df23jAa+b7bNcCGUCjHGIc3FJmRRtpJHLhC7g1fLxarvcD+HPQvV5l8sEo3yTyY3cTz+vZRMeYvZE9UImM+U0mf27nYdU3aZk49nb+4EDO23HApUB6XpDef7ODa8+dPsuObi3N76WvYO5BqWJ1uDajwyMBfitvR/T3yArdTMsUemhyRxLt8Mv0Thw==<br>


>> user1@MacBook-Air-de-User1.local\nssh-rsa<br>
>> AAAAB3NzaC1yc2EAAAABIwAAAQEAsVArSh0m8RuropQ7Cqq47aOMg8BEz8LiIsH9A7ffGvzcWKAFLVrVfKg83WdCjJKSMlAArOVzLOzTJy6fSBFhGE3ah8JdBhPFrPJOqXUW9ntYyNlL/rYxAqdhu6FySz4+r2804iw+hWWZgMU5cBIWenaDsJ0HUUPY8mAG+jW2WhB8DEIylvMdkUlAMDNpUM/qeq7ZewX0fxJNUDnxRppmWySaaJmzZGM+ExedEqheBFGxntnaUiJE2ZNo5NLGjBici8Rl7EbB5eapHys7TCErO3k93+7fo4SNbz82yESlSHz+oAzTxGUItl1TnTHJy5zGS9Lu6O89MECNq5BIkR/gqw==<br>


>> nbelan@nln\nssh-rsa<br>
>> AAAAB3NzaC1yc2EAAAADAQABAAABAQDTK5paorACmeNgrEWKNx6mOLRW48LLoeFYKE7CoSXddK+hyY8Lc+k4/tMKgus/TwsxNJ+6hUGHc0mRufp4cIkJwkzBRWkhIsOXwkgC2olFeb8PvfuEhXL/255MP7fgy5SYYb6th97hPYZIdnm8FKVSf1tboh9aGB6zMeyPiPygyY4UNsLcmc6I5ch28wsOQ9KYmfkjWnDP4Hj5D17eabQrmCF9aR6qTM5w9N919dvceop52k95VBLjcSBEkVAUbQUuF8QvcLEU0vf11UgWnFXWEoOj1kTeSJJAE3e+r7xHXnDQQEXSYt+q18LEDXNt+m00YiQdfXJQ5MXpXEI/oX9J<br>


>> user2@MacBook-Air-de-User2.local<br>
>> HOSTNAME host1<br>
>> DISK_ID 1<br>
>><br>
>> but my template has the following (i changed IP & ssh pub key in both)<br>
>><br>
>> RAW=[TYPE="kvm",DATA="<devices><serial type='pty'><target<br>
>> port='0'/></serial><console type='pty'><target type='serial'<br>
>> port='0'/></console></devices>"]<br>
>> NIC=[NETWORK_ID="4",MODEL="e1000",IP="A.B.C.D"]<br>
>> DISK=[IMAGE_ID="29",DRIVER="qcow2"]<br>
>> FEATURES=[PAE="yes",ACPI="yes"]<br>
>> OS=[ARCH="x86_64"]<br>
>> VCPU="1"<br>
>> GRAPHICS=[TYPE="VNC",LISTEN="0.0.0.0",KEYMAP="fr"]<br>
>> MEMORY="1024"<br>
>> CPU="0.1"<br>
>> CONTEXT=[ETH0_IPV6="$NIC[IP6_GLOBAL]",ETH0_CONTEXT_FORCE_IPV4="yes",ETH0_GATEWAY6="$NETWORK[GATEWAY6,<br>
>> NETWORK_ID=4]",NETWORK="YES",SSH_PUBLIC_KEY="ssh-rsa<br>
>> AAAAB3NzaC1yc2EAAAADAQABAAACAQC/I3q0n8U/4+YEnUFyqh6nU7pKjUYQEhcu9jGtmYa57lzf8h9ps23RgUXGjT7GJiTASscRIuv9wSfC/6pGdjk7FVFs4lSVyyVfxuq+hRZ/uGpqsbtJqTWzeqOnEIixiLyjSSHe4O9c8kcNj/HMwqQ9k/IlXIA/kH/a5yUkOE1eHZ3r4KIydnGwvccaxqjJTHqvmKMYJAjOt1oe349SgT8ME7L4602Y88T7akVWmvOlP5W4cyi3hFoClv6iOqdjCTxOZX+tIoxJyBDS8lwIbgbf+S7gJhZsBJs1bshmC8U2Jx4tLTCpvNWYc2yE7LjaZweO3Cvz10OJ30nmRbdnCFT+jm5NvraGghLkp3eIXoEXP+yY/QlHc6R0XckgDZDF+N9jS3QAMsq8kEb6Uiy7UUlXvnDiCksgG1elJrTMN5wdyQFb55y3l0G3GaGt7vF+6yBMOay5b6Gy2LhIizrE2GJpd04auAZc8aAhJPUXXpDAK3nIuwwS2Df23jAa+b7bNcCGUCjHGIc3FJmRRtpJHLhC7g1fLxarvcD+HPQvV5l8sEo3yTyY3cTz+vZRMeYvZE9UImM+U0mf27nYdU3aZk49nb+4EDO23HApUB6XpDef7ODa8+dPsuObi3N76WvYO5BqWJ1uDajwyMBfitvR/T3yArdTMsUemhyRxLt8Mv0Thw==<br>


>> user1@MacBook-Air-de-User1.local\nssh-rsa<br>
>> AAAAB3NzaC1yc2EAAAABIwAAAQEAsVArSh0m8RuropQ7Cqq47aOMg8BEz8LiIsH9A7ffGvzcWKAFLVrVfKg83WdCjJKSMlAArOVzLOzTJy6fSBFhGE3ah8JdBhPFrPJOqXUW9ntYyNlL/rYxAqdhu6FySz4+r2804iw+hWWZgMU5cBIWenaDsJ0HUUPY8mAG+jW2WhB8DEIylvMdkUlAMDNpUM/qeq7ZewX0fxJNUDnxRppmWySaaJmzZGM+ExedEqheBFGxntnaUiJE2ZNo5NLGjBici8Rl7EbB5eapHys7TCErO3k93+7fo4SNbz82yESlSHz+oAzTxGUItl1TnTHJy5zGS9Lu6O89MECNq5BIkR/gqw==<br>


>> nbelan@nln\nssh-rsa<br>
>> AAAAB3NzaC1yc2EAAAADAQABAAABAQDTK5paorACmeNgrEWKNx6mOLRW48LLoeFYKE7CoSXddK+hyY8Lc+k4/tMKgus/TwsxNJ+6hUGHc0mRufp4cIkJwkzBRWkhIsOXwkgC2olFeb8PvfuEhXL/255MP7fgy5SYYb6th97hPYZIdnm8FKVSf1tboh9aGB6zMeyPiPygyY4UNsLcmc6I5ch28wsOQ9KYmfkjWnDP4Hj5D17eabQrmCF9aR6qTM5w9N919dvceop52k95VBLjcSBEkVAUbQUuF8QvcLEU0vf11UgWnFXWEoOj1kTeSJJAE3e+r7xHXnDQQEXSYt+q18LEDXNt+m00YiQdfXJQ5MXpXEI/oX9J<br>


>> user2@MacBook-Air-de-User2.local",HOSTNAME="ns1"]<br>
>><br>
>><br>
>> As you can see, ETH0_CONTEXT_FORCE_IPV4="yes", is not present on VM ?<br>
>> I tested on another VM, it is present ...<br>
>> The difference between both is that the "HOSTNAME" field is not set when<br>
>> working.<br>
>> Perhaps a limitation on an array size ? I failed to find in code where it<br>
>> could be located...<br>
>><br>
>> Best regards,<br>
>> Nicolas<br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
>> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>><br>
><br>
><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div><div>-- </div><div>Join us at OpenNebulaConf2013 in Berlin, 24-26 September, 2013</div></div><div>-- </div></div>Ruben S. Montero, PhD<br>

Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div>


</div>