Code review comment for lp://staging/~thomnico/orange-box/newnet

Revision history for this message
Nicolas Thomas (thomnico) wrote :

Mao / all

I upload a 2.9 version to experimental ppa that should fix the pb and
the VM power issues we might face time to time..

Will restart a review on that one

On Mon, Jun 15, 2015 at 9:12 AM, Nicolas Thomas
<email address hidden> wrote:
> Hello Mao,
>
> With a laptop keyboard (not a phone) this time:
>
> Your network setup should show em1 and not eth0 .. (might not be related).
>
> Can you run :
> sudo biosdevname -i eth1
>
> And rerun the install package to confirm ??
>
> My Box seems totally dead now (node0) so difficult to confirm
>
>
> On 14/06/2015 12:54, Zhanglei Mao wrote:
>> Nicolas,
>>
>> I agree. It should be caused by the problem of my network. Here is output
>> of ifconfig and brctl. The eth1 is my usb-lan-card port, eth0 is system
>> board lan-card port. I configured eth1 with 172.27.252.8 and was able to
>> reach internet via gateway of 172.27.252.1 before running #apt-get install
>> orange-box.
>>
>> ubuntu@OrangeBox8:~$ ifconfig
>> br0 Link encap:Ethernet HWaddr ec:a8:6b:fe:18:22
>> inet addr:172.27.8.1 Bcast:172.27.11.255 Mask:255.255.252.0
>> inet6 addr: fe80::eea8:6bff:fefe:1822/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:0 (0.0 B) TX bytes:7671 (7.6 KB)
>>
>> eth0 Link encap:Ethernet HWaddr ec:a8:6b:fe:18:22
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:0 (0.0 B) TX bytes:8015 (8.0 KB)
>> Interrupt:20 Memory:f7d00000-f7d20000
>>
>> eth1 Link encap:Ethernet HWaddr 00:24:9b:0e:1e:ad
>> inet addr:172.27.252.8 Bcast:172.27.255.255 Mask:255.255.252.0
>> inet6 addr: fe80::224:9bff:fe0e:1ead/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:9734872 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:5699043 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:14599384523 (14.5 GB) TX bytes:443971610 (443.9 MB)
>>
>> lo Link encap:Local Loopback
>> inet addr:127.0.0.1 Mask:255.0.0.0
>> inet6 addr: ::1/128 Scope:Host
>> UP LOOPBACK RUNNING MTU:65536 Metric:1
>> RX packets:107516 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:107516 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:27072199 (27.0 MB) TX bytes:27072199 (27.0 MB)
>>
>> virbr0 Link encap:Ethernet HWaddr da:cf:d4:c0:b0:b7
>> inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
>> UP BROADCAST MULTICAST MTU:1500 Metric:1
>> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:0
>> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>>
>> ubuntu@OrangeBox8:~$
>>
>> ubuntu@OrangeBox8:~$ brctl show
>> bridge name bridge id STP enabled interfaces
>> br0 8000.eca86bfe1822 no eth0
>> virbr0 8000.000000000000 yes
>>
>> thanks,
>> Mao
>>
>> On Sun, Jun 14, 2015 at 5:15 PM, Nicolas Thomas <
>> <email address hidden>> wrote:
>>
>>> Mao,
>>>
>>> You network setup seems odd and not align with our rework doc.
>>>
>>> Please purge Maas package reboot and restart if you can or send us your
>>> network configuration.
>>>
>>> Le dim. 14 juin 2015 07:00, Zhanglei Mao <email address hidden> a
>>> écrit :
>>>
>>>> Test it on Ubuntu 14.04.2 X64 server + MAAS 1.8 and Ubuntu 14.04.2 X64
>>>> Desktop + MAAS 1.7, both are stop at:
>>>>
>>>> + run-one-until-success maas admin node-group-interface update
>>>> 3b3deac8-ce39-4fb6-b0a2-74ab32474fce br0 ip_range_low=172.27.9.1
>>>> ip_range_high=172.27.9.254 static_ip_range_low=172.27.10.1
>>>> static_ip_range_high=172.27.10.254 management=2
>>> broadcast_ip=172.27.11.255
>>>> router_ip=172.27.8.1
>>>> Not FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot
>>>> FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot FoundNot
>>>> FoundNot FoundNot FoundNot FoundNot Found^Cdpkg: error processing package
>>>> orange-box (--configure):
>>>> subprocess installed post-installation script was interrupted
>>>> E: Sub-process /usr/bin/dpkg exited unexpectedly
>>>> W: Operation was interrupted before it could finish
>>>>
>>>> The problem seems of matching in "br0" and "eth1"
>>>>
>>>> ubuntu@OrangeBox8:~$ sudo maas admin node-groups list
>>>> Success.
>>>> Machine-readable output follows:
>>>> [
>>>> {
>>>> "cluster_name": "Cluster master",
>>>> "status": 1,
>>>> "name": "maas",
>>>> "uuid": "3b3deac8-ce39-4fb6-b0a2-74ab32474fce"
>>>> }
>>>> ]
>>>> ubuntu@OrangeBox8:~$ sudo maas admin node-group-interfaces list
>>>> 3b3deac8-ce39-4fb6-b0a2-74ab32474fce
>>>> Success.
>>>> Machine-readable output follows:
>>>> [
>>>> {
>>>> "ip_range_high": null,
>>>> "ip_range_low": null,
>>>> "broadcast_ip": "172.27.255.255",
>>>> "static_ip_range_low": null,
>>>> "name": "eth1",
>>>> "ip": "172.27.252.8",
>>>> "subnet_mask": "255.255.252.0",
>>>> "management": 0,
>>>> "static_ip_range_high": null,
>>>> "interface": "eth1"
>>>> }
>>>> ]
>>>>
>>>> It cab update as below:
>>>>
>>>> ubuntu@OrangeBox8:~$ sudo maas admin node-group-interface update
>>>> 3b3deac8-ce39-4fb6-b0a2-74ab32474fce eth1 ip_range_low=172.27.9.1
>>>> ip_range_high=172.27.9.254 static_ip_range_low=172.27.10.1
>>>> static_ip_range_high=172.27.10.254 management=2
>>> broadcast_ip=172.27.11.255
>>>> router_ip=172.27.8.1
>>>> {"ip_range_high": ["172.27.9.254 not in the 172.27.252.0/22 network"],
>>>> "ip_range_low": ["172.27.9.1 not in the 172.27.252.0/22 network"],
>>>> "broadcast_ip": ["172.27.11.255 not in the 172.27.252.0/22 network"],
>>>> "static_ip_range_low": ["172.27.10.1 not in the 172.27.252.0/22
>>>> network"], "router_ip": ["172.27.8.1 not in the 172.27.252.0/22
>>>> network"], "static_ip_range_high": ["172.27.10.254 not in the
>>>> 172.27.252.0/22 network"]}
>>>>
>>>> The br0 interface seem correct, but I didn't command which created the
>>>> interface listed by the command of '$ sudo maas admin
>>> node-group-interfaces
>>>> list 3b3deac8-ce39-4fb6-b0a2-74ab32474fce'
>>>>
>>>> --
>>>> https://code.launchpad.net/~thomnico/orange-box/newnet/+merge/261775
>>>> You are the owner of lp:~thomnico/orange-box/newnet.
>>>>
>>>
>>> --
>>> https://code.launchpad.net/~thomnico/orange-box/newnet/+merge/261775
>>> Your team CPE SA is requested to review the proposed merge of
>>> lp:~thomnico/orange-box/newnet into lp:orange-box.
>>>
>>
>>
>>
>
> --
> Best Regards,
> Nicolas Thomas - Solution Architect - Canonical
> http://insights.ubuntu.com/?p=889
> GPG FPR: D592 4185 F099 9031 6590 6292 492F C740 F03A 7EB9
>
> https://code.launchpad.net/~thomnico/orange-box/newnet/+merge/261775
> You are the owner of lp:~thomnico/orange-box/newnet.

--
Best Regards,
       Nicolas Thomas
http://insights.ubuntu.com/?p=889
EMEA Solution Architect Canonical
GPG FPR: D592 4185 F099 9031 6590 6292 492F C740 F03A 7EB9

« Back to merge proposal