[Bug 1258304] Re: lxc-create fails on IPv6 address

2014-01-15 Thread Stéphane Graber
** Changed in: lxc (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1258304

Title:
  lxc-create fails on IPv6 address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1258304/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1258304] Re: lxc-create fails on IPv6 address

2013-12-06 Thread Stéphane Graber
Fix pushed upstream (rather obvious once I started looking at the right 
place...).
https://github.com/lxc/lxc/commit/64994c030ccf3980a34bc93072155b2810b8f691

** Changed in: lxc (Ubuntu)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1258304

Title:
  lxc-create fails on IPv6 address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1258304/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1258304] Re: lxc-create fails on IPv6 address

2013-12-06 Thread Stéphane Graber
Yeah, I figured as much but looking at the code there's nothing
obviously wrong...

I even managed to get LXC to say:
lxc_container: Failed to parse config: lxc.network.ipv6 = 38.7.240.136

Which is supposed to be a verbatim copy of the line it just read from
the file... so I'm not sure what's somehow altering that value but it's
perplexing... I'm doing some test builds with added debugging now to try
and track down what's going on.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1258304

Title:
  lxc-create fails on IPv6 address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1258304/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1258304] Re: lxc-create fails on IPv6 address

2013-12-06 Thread Tim Spriggs
Not sure if this is clear to everyone else so as a hint (I haven't
looked at the code for lxc) the "IPv6" address shown gives a pretty good
indication that something is parsing an IPv6 address and then
representing the first 32 bits as an IPv4 address.

The specified ip address is 2607:f088:...
which we then split up into bytes: 26 07 f0 88
and then represent as base 10:

root@cps3:~/lxc# printf "%d.%d.%d.%d\n" 0x26 0x07 0xf0 0x88
38.7.240.136

anything that looks like address=ip is probably suspect.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1258304

Title:
  lxc-create fails on IPv6 address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1258304/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1258304] Re: lxc-create fails on IPv6 address

2013-12-05 Thread Tim Spriggs
Sure thing, by "start" I assume you mean "create" since there is nothing
created yet. There are only three lines in the debug output, I'll just
paste it here:

root@cps3:~/lxc# lxc-create -n horizon-cps3 -f horizon-cps3.net.conf -t ubuntu 
-l debug -o debug
lxc-create: No such file or directory - invalid ipv6 address: 38.7.240.136
lxc-create: Error creating container horizon-cps3


root@cps3:~/lxc# cat debug 
 lxc-create 1386289012.783 WARN lxc_log - lxc_log_init called with log 
already initialized
 lxc-create 1386289012.784 ERRORlxc_confile - No such file or directory 
- invalid ipv6 address: 38.7.240.136
 lxc-create 1386289012.785 ERRORlxc_create - Error creating container 
horizon-cps3

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1258304

Title:
  lxc-create fails on IPv6 address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1258304/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1258304] Re: lxc-create fails on IPv6 address

2013-12-05 Thread Stéphane Graber
Can you start your container with "-l debug -o debug" and attach the
debug file generated?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1258304

Title:
  lxc-create fails on IPv6 address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1258304/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1258304] Re: lxc-create fails on IPv6 address

2013-12-05 Thread Stéphane Graber
** Changed in: lxc (Ubuntu)
 Assignee: (unassigned) => Stéphane Graber (stgraber)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1258304

Title:
  lxc-create fails on IPv6 address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1258304/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs