Validated not stack traces on xenial yakkety and zesty:

Xenial --------------------------
--2017-06-16 17:13:03--  
https://git.launchpad.net/~cloud-init-dev/cloud-init/plain/tools/net-convert.py
Resolving git.launchpad.net (git.launchpad.net)... 162.213.33.96, 162.213.33.95
Connecting to git.launchpad.net (git.launchpad.net)|162.213.33.96|:443... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 2683 (2.6K) [text/plain]
Saving to: ‘net-convert.py’

net-convert.py      100%[===================>]   2.62K  --.-KB/s    in
0s

2017-06-16 17:13:04 (254 MB/s) - ‘net-convert.py’ saved [2683/2683]

---- eni -> ./out-eni.d/ ----
Input YAML
config:
-   name: eth1
    subnets:
    -   address: 10.0.0.2
        broadcast: 10.0.0.255
        control: manual
        dns_nameservers:
        - 10.0.1.1
        dns_search:
        - foo.com
        gateway: 10.0.0.1
        netmask: 255.255.255.0
        type: static
    type: physical
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth1:
            address: null
            gateway: null
            inet: inet
            mac_address: null
            mode: manual
            mtu: null
            name: eth1
            subnets:
            -   address: 10.0.0.2
                broadcast: 10.0.0.255
                control: manual
                dns_nameservers:
                - 10.0.1.1
                dns_search:
                - foo.com
                gateway: 10.0.0.1
                netmask: 255.255.255.0
                type: static
            type: physical
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

---- netplan -> ./out-netplan.d/ ----
Input YAML
config:
-   name: eth1
    subnets:
    -   address: 10.0.0.2
        broadcast: 10.0.0.255
        control: manual
        dns_nameservers:
        - 10.0.1.1
        dns_search:
        - foo.com
        gateway: 10.0.0.1
        netmask: 255.255.255.0
        type: static
    type: physical
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth1:
            address: null
            gateway: null
            inet: inet
            mac_address: null
            mode: manual
            mtu: null
            name: eth1
            subnets:
            -   address: 10.0.0.2
                broadcast: 10.0.0.255
                control: manual
                dns_nameservers:
                - 10.0.1.1
                dns_search:
                - foo.com
                gateway: 10.0.0.1
                netmask: 255.255.255.0
                type: static
            type: physical
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

=== eni: /etc/network/interfaces ===
auto lo
iface lo inet loopback

# control-manual eth1
iface eth1 inet static
    address 10.0.0.2
    broadcast 10.0.0.255
    dns-nameservers 10.0.1.1
    dns-search foo.com
    gateway 10.0.0.1
    netmask 255.255.255.0

=== netplan: /etc/netplan/50-cloud-init.yaml ===

network:
    version: 2
    ethernets:
        eth1:
            addresses:
            - 10.0.0.2/24
            gateway4: 10.0.0.1
            nameservers:
                addresses:
                - 10.0.1.1
                search:
                - foo.com
csmith@fringe:~$ lxc exec test-xenial -- dpkg-query --show cloud-init
cloud-init      0.7.9-153-g16a7302f-0ubuntu1~16.04.1


yakkety -------------------
--2017-06-16 17:16:06--  
https://git.launchpad.net/~cloud-init-dev/cloud-init/plain/tools/net-convert.py
Resolving git.launchpad.net (git.launchpad.net)... 162.213.33.95, 162.213.33.96
Connecting to git.launchpad.net (git.launchpad.net)|162.213.33.95|:443... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 2683 (2.6K) [text/plain]
Saving to: ‘net-convert.py’

net-convert.py      100%[===================>]   2.62K  --.-KB/s    in
0s

2017-06-16 17:16:07 (279 MB/s) - ‘net-convert.py’ saved [2683/2683]

---- eni -> ./out-eni.d/ ----
Input YAML
config:
-   name: eth1
    subnets:
    -   address: 10.0.0.2
        broadcast: 10.0.0.255
        control: manual
        dns_nameservers:
        - 10.0.1.1
        dns_search:
        - foo.com
        gateway: 10.0.0.1
        netmask: 255.255.255.0
        type: static
    type: physical
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth1:
            address: null
            gateway: null
            inet: inet
            mac_address: null
            mode: manual
            mtu: null
            name: eth1
            subnets:
            -   address: 10.0.0.2
                broadcast: 10.0.0.255
                control: manual
                dns_nameservers:
                - 10.0.1.1
                dns_search:
                - foo.com
                gateway: 10.0.0.1
                netmask: 255.255.255.0
                type: static
            type: physical
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

---- netplan -> ./out-netplan.d/ ----
Input YAML
config:
-   name: eth1
    subnets:
    -   address: 10.0.0.2
        broadcast: 10.0.0.255
        control: manual
        dns_nameservers:
        - 10.0.1.1
        dns_search:
        - foo.com
        gateway: 10.0.0.1
        netmask: 255.255.255.0
        type: static
    type: physical
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth1:
            address: null
            gateway: null
            inet: inet
            mac_address: null
            mode: manual
            mtu: null
            name: eth1
            subnets:
            -   address: 10.0.0.2
                broadcast: 10.0.0.255
                control: manual
                dns_nameservers:
                - 10.0.1.1
                dns_search:
                - foo.com
                gateway: 10.0.0.1
                netmask: 255.255.255.0
                type: static
            type: physical
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

=== eni: /etc/network/interfaces ===
auto lo
iface lo inet loopback

# control-manual eth1
iface eth1 inet static
    address 10.0.0.2
    broadcast 10.0.0.255
    dns-nameservers 10.0.1.1
    dns-search foo.com
    gateway 10.0.0.1
    netmask 255.255.255.0

=== netplan: /etc/netplan/50-cloud-init.yaml ===

network:
    version: 2
    ethernets:
        eth1:
            addresses:
            - 10.0.0.2/24
            gateway4: 10.0.0.1
            nameservers:
                addresses:
                - 10.0.1.1
                search:
                - foo.com
cloud-init      0.7.9-153-g16a7302f-0ubuntu1~16.10.1

zesty -------------------
--2017-06-16 17:16:08--  
https://git.launchpad.net/~cloud-init-dev/cloud-init/plain/tools/net-convert.py
Resolving git.launchpad.net (git.launchpad.net)... 162.213.33.96, 162.213.33.95
Connecting to git.launchpad.net (git.launchpad.net)|162.213.33.96|:443... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: 2683 (2.6K) [text/plain]
Saving to: ‘net-convert.py’

net-convert.py      100%[===================>]   2.62K  --.-KB/s    in
0s

2017-06-16 17:16:09 (248 MB/s) - ‘net-convert.py’ saved [2683/2683]

---- eni -> ./out-eni.d/ ----
Input YAML
config:
-   name: eth1
    subnets:
    -   address: 10.0.0.2
        broadcast: 10.0.0.255
        control: manual
        dns_nameservers:
        - 10.0.1.1
        dns_search:
        - foo.com
        gateway: 10.0.0.1
        netmask: 255.255.255.0
        type: static
    type: physical
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth1:
            address: null
            gateway: null
            inet: inet
            mac_address: null
            mode: manual
            mtu: null
            name: eth1
            subnets:
            -   address: 10.0.0.2
                broadcast: 10.0.0.255
                control: manual
                dns_nameservers:
                - 10.0.1.1
                dns_search:
                - foo.com
                gateway: 10.0.0.1
                netmask: 255.255.255.0
                type: static
            type: physical
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

---- netplan -> ./out-netplan.d/ ----
Input YAML
config:
-   name: eth1
    subnets:
    -   address: 10.0.0.2
        broadcast: 10.0.0.255
        control: manual
        dns_nameservers:
        - 10.0.1.1
        dns_search:
        - foo.com
        gateway: 10.0.0.1
        netmask: 255.255.255.0
        type: static
    type: physical
version: 1


Internal State
!!python/object:cloudinit.net.network_state.NetworkState
_network_state:
    dns:
        nameservers: []
        search: []
    interfaces:
        eth1:
            address: null
            gateway: null
            inet: inet
            mac_address: null
            mode: manual
            mtu: null
            name: eth1
            subnets:
            -   address: 10.0.0.2
                broadcast: 10.0.0.255
                control: manual
                dns_nameservers:
                - 10.0.1.1
                dns_search:
                - foo.com
                gateway: 10.0.0.1
                netmask: 255.255.255.0
                type: static
            type: physical
    routes: []
    use_ipv6: false
_version: 1
use_ipv6: false

=== eni: /etc/network/interfaces ===
auto lo
iface lo inet loopback

# control-manual eth1
iface eth1 inet static
    address 10.0.0.2
    broadcast 10.0.0.255
    dns-nameservers 10.0.1.1
    dns-search foo.com
    gateway 10.0.0.1
    netmask 255.255.255.0

=== netplan: /etc/netplan/50-cloud-init.yaml ===

network:
    version: 2
    ethernets:
        eth1:
            addresses:
            - 10.0.0.2/24
            gateway4: 10.0.0.1
            nameservers:
                addresses:
                - 10.0.1.1
                search:
                - foo.com
cloud-init      0.7.9-153-g16a7302f-0ubuntu1~17.04.1



** Tags removed: verification-needed
** Tags added: verification-done-xenial verification-done-yakkety 
verification-done-zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1691135

Title:
  address field not set when reading cmdline/initramfs configured
  network

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1691135/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to