New Question

Revision history [back]

click to hide/show revision 1
initial version

Now I can see Cloudbase-init execution from logs. Server did get the hostname from configdrive, but no network. Here is the log from cloudbase-init.log https://pastebin.com/raw/LHfSsF38

Here is the configdrive structure:

/media/openstack
/media/openstack/2012-08-10
/media/openstack/2012-08-10/meta_data.json
/media/openstack/content
/media/openstack/latest
/media/openstack/latest/meta_data.json
/media/openstack/latest/network_info.json
/media/openstack/latest/network_data.json

Here is the content of network_info.json

{
"links": [
    {
        "ethernet_mac_address": "0c:c4:7a:8e:0a:c4", 
        "id": "0c:c4:7a:8e:0a:c4", 
        "mtu": "1500", 
        "type": "phy"
    }
], 
"networks": [
    {
        "dns_nameservers": [
            "8.8.8.8"
        ], 
        "id": "ipv4-0c:c4:7a:8e:0a:c4", 
        "ip_address": "10.180.33.3", 
        "link": "0c:c4:7a:8e:0a:c4", 
        "netmask": "255.255.255.192", 
        "routes": [
            {
                "gateway": "10.180.33.1", 
                "netmask": "0.0.0.0", 
                "network": "0.0.0.0"
            }
        ], 
        "type": "ipv4"
    }
], 
"services": [
    {
        "address": "8.8.8.8", 
        "type": "dns"
    }
]

}

Now I can see Cloudbase-init execution from logs. Server did get the hostname from configdrive, but no network. Here is the log from cloudbase-init.log https://pastebin.com/raw/LHfSsF38

Here is the configdrive structure:

/media/openstack
/media/openstack/2012-08-10
/media/openstack/2012-08-10/meta_data.json
/media/openstack/content
/media/openstack/latest
/media/openstack/latest/meta_data.json
/media/openstack/latest/network_info.json
/media/openstack/latest/network_data.json

Here is the content of networkinfo.json. networkdata.json is the same as network_info.json

{
"links": [
    {
        "ethernet_mac_address": "0c:c4:7a:8e:0a:c4", 
        "id": "0c:c4:7a:8e:0a:c4", 
        "mtu": "1500", 
        "type": "phy"
    }
], 
"networks": [
    {
        "dns_nameservers": [
            "8.8.8.8"
        ], 
        "id": "ipv4-0c:c4:7a:8e:0a:c4", 
        "ip_address": "10.180.33.3", 
        "link": "0c:c4:7a:8e:0a:c4", 
        "netmask": "255.255.255.192", 
        "routes": [
            {
                "gateway": "10.180.33.1", 
                "netmask": "0.0.0.0", 
                "network": "0.0.0.0"
            }
        ], 
        "type": "ipv4"
    }
], 
"services": [
    {
        "address": "8.8.8.8", 
        "type": "dns"
    }
]

}