Re: [one-users] context package: network restart issue in Debian

2014-10-07 Thread Javier Fontan
Thanks for testing. I'll do the changes and testing here as soon as I can.

On Thu, Oct 2, 2014 at 3:07 PM, Olivier Sallou  wrote:
>
> On 10/01/2014 06:56 PM, Javier Fontan wrote:
>> This can probably be caused because after save the network
>> configuration is already generated and the next time that network stop
>> is not working. Can you check that using the same method as ubuntu
>> makes it work? If this is correct I can modify the context packages
>> accordingly.
> We already manually modified locally to remove the ubuntu test  to use
> the ifup/ifdown and it works
>
> Olivier
>>
>> Thanks
>>
>> On Tue, Sep 30, 2014 at 2:45 PM, Olivier Sallou  
>> wrote:
>>> Hi,
>>> we face some issues with the network restart on Debian with the
>>> 00-network script.
>>> The issue occurs after an image save and a start of the new image, not
>>> at first boot.
>>>
>>> The "network stop" fails.
>>>
>>> In the 00-network script, there is a test  if [ ... "ubuntu"], to apply
>>> ifup/ifdown commands.
>>> Here is a relative revision (maybe ot the only one):
>>> http://dev.opennebula.org/projects/opennebula/repository/revisions/ff682025003d7ad1759aad838798c05636e2bb08
>>>
>>> It seems that networking restart is not recommended (and deprecated) in
>>> Debian either. As ifup/ifdown is "generic", why not applying this
>>> modification to both Ubuntu and Debian ? It seems that in some cases,
>>> the networking restart does not work either in Debian.
>>>
>>> Thanks
>>>
>>> Olivier
>>>
>>> --
>>>
>>> gpg key id: 4096R/326D8438  (keyring.debian.org)
>>> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
> --
> Olivier Sallou
> IRISA / University of Rennes 1
> Campus de Beaulieu, 35000 RENNES - FRANCE
> Tel: 02.99.84.71.95
>
> gpg key id: 4096R/326D8438  (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] context package: network restart issue in Debian

2014-10-02 Thread Olivier Sallou

On 10/01/2014 06:56 PM, Javier Fontan wrote:
> This can probably be caused because after save the network
> configuration is already generated and the next time that network stop
> is not working. Can you check that using the same method as ubuntu
> makes it work? If this is correct I can modify the context packages
> accordingly.
We already manually modified locally to remove the ubuntu test  to use
the ifup/ifdown and it works

Olivier
>
> Thanks
>
> On Tue, Sep 30, 2014 at 2:45 PM, Olivier Sallou  
> wrote:
>> Hi,
>> we face some issues with the network restart on Debian with the
>> 00-network script.
>> The issue occurs after an image save and a start of the new image, not
>> at first boot.
>>
>> The "network stop" fails.
>>
>> In the 00-network script, there is a test  if [ ... "ubuntu"], to apply
>> ifup/ifdown commands.
>> Here is a relative revision (maybe ot the only one):
>> http://dev.opennebula.org/projects/opennebula/repository/revisions/ff682025003d7ad1759aad838798c05636e2bb08
>>
>> It seems that networking restart is not recommended (and deprecated) in
>> Debian either. As ifup/ifdown is "generic", why not applying this
>> modification to both Ubuntu and Debian ? It seems that in some cases,
>> the networking restart does not work either in Debian.
>>
>> Thanks
>>
>> Olivier
>>
>> --
>>
>> gpg key id: 4096R/326D8438  (keyring.debian.org)
>> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] context package: network restart issue in Debian

2014-10-01 Thread Rolandas Naujikas
Another solution is to move context to early stage (before networking) 
as we do already and let OS start network. Also that solves problem with 
saved images. Of cause if some context script wants network it should 
fork and wait for network, or install itself to /etc/network/if-up.d/.


http://grid5.mif.vu.lt/mif/debian7/vmcontext

Regards,
Rolandas

On 2014.10.01 19:56, Javier Fontan wrote:

This can probably be caused because after save the network
configuration is already generated and the next time that network stop
is not working. Can you check that using the same method as ubuntu
makes it work? If this is correct I can modify the context packages
accordingly.

Thanks

On Tue, Sep 30, 2014 at 2:45 PM, Olivier Sallou  wrote:

Hi,
we face some issues with the network restart on Debian with the
00-network script.
The issue occurs after an image save and a start of the new image, not
at first boot.

The "network stop" fails.

In the 00-network script, there is a test  if [ ... "ubuntu"], to apply
ifup/ifdown commands.
Here is a relative revision (maybe ot the only one):
http://dev.opennebula.org/projects/opennebula/repository/revisions/ff682025003d7ad1759aad838798c05636e2bb08

It seems that networking restart is not recommended (and deprecated) in
Debian either. As ifup/ifdown is "generic", why not applying this
modification to both Ubuntu and Debian ? It seems that in some cases,
the networking restart does not work either in Debian.

Thanks

Olivier

--

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org





___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] context package: network restart issue in Debian

2014-10-01 Thread Javier Fontan
This can probably be caused because after save the network
configuration is already generated and the next time that network stop
is not working. Can you check that using the same method as ubuntu
makes it work? If this is correct I can modify the context packages
accordingly.

Thanks

On Tue, Sep 30, 2014 at 2:45 PM, Olivier Sallou  wrote:
> Hi,
> we face some issues with the network restart on Debian with the
> 00-network script.
> The issue occurs after an image save and a start of the new image, not
> at first boot.
>
> The "network stop" fails.
>
> In the 00-network script, there is a test  if [ ... "ubuntu"], to apply
> ifup/ifdown commands.
> Here is a relative revision (maybe ot the only one):
> http://dev.opennebula.org/projects/opennebula/repository/revisions/ff682025003d7ad1759aad838798c05636e2bb08
>
> It seems that networking restart is not recommended (and deprecated) in
> Debian either. As ifup/ifdown is "generic", why not applying this
> modification to both Ubuntu and Debian ? It seems that in some cases,
> the networking restart does not work either in Debian.
>
> Thanks
>
> Olivier
>
> --
>
> gpg key id: 4096R/326D8438  (keyring.debian.org)
> Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



-- 
Javier Fontán Muiños
Developer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | @OpenNebula | github.com/jfontan
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] context package: network restart issue in Debian

2014-09-30 Thread Olivier Sallou
Hi,
we face some issues with the network restart on Debian with the
00-network script.
The issue occurs after an image save and a start of the new image, not
at first boot.

The "network stop" fails.

In the 00-network script, there is a test  if [ ... "ubuntu"], to apply
ifup/ifdown commands.
Here is a relative revision (maybe ot the only one):
http://dev.opennebula.org/projects/opennebula/repository/revisions/ff682025003d7ad1759aad838798c05636e2bb08

It seems that networking restart is not recommended (and deprecated) in
Debian either. As ifup/ifdown is "generic", why not applying this
modification to both Ubuntu and Debian ? It seems that in some cases,
the networking restart does not work either in Debian.

Thanks

Olivier

-- 

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org