View Issue Details

IDProjectCategoryView StatusLast Update
0014861CentOS-7CentOS-7-Pluspublic2018-05-29 08:12
Reporterkkwon 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformXenServerOSCentOSOS Version7.5 1804
Product Version7.5.1804 
Target VersionFixed in Version 
Summary0014861: Creating the Management Network Interface Before the External Network Prevents Proper Functionality
DescriptionThis issue only showed up with the update to CentOS. We had been running CentOS 7.4 1708. All the mirrors were updated to CentOS 7.5 1804. We updated when this happened and this is when the problem started. Here is the scenario:

We use packer to create a VM template with this OS on it. Then we use a deployment script that creates a VM from this template. The VM that is created from the deployment has two network interfaces: internal host management and an external network. When the VM comes up, it comes up with proper IP addresses for both networks. When I update to 1804 though, I can ping my gateway and anything inside my network, but nothing beyond that. To get it to work, I discovered that all I have to do is deactivate the internal management network interface and then reactivate it. At this point, everything works as I would expect it to and in the same way that CentOS 7.4 1708 works and I can ping external sites. For me, the solution is to change the order of the network configuration in the code to make the network management get configured second. I found that this resolves the issue for me.
Steps To ReproduceCreate the management network first and it won't be able to ping past the local gateway.
network_refs = [management_network_ref, external_network_ref]
    for device, network_ref in enumerate(network_refs):
        vif_record = {
            'device': str(device),
            'network': network_ref,
            'VM': vm_ref,
            'MAC': '',
            'MTU': '1500',
            'other_config': {},
            'qos_algorithm_type': '',
            'qos_algorithm_params': {}
        }
        xen.xenapi.VIF.create(vif_record)
TagsNo tags attached.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-05-24 16:20 kkwon New Issue