Skip to content

Could not generate persistent MAC address for s-010255213041: No such file or directory #623

@Houlistonm

Description

@Houlistonm

Could not generate persistent MAC address for s-010255213041: No such file or directory

Summary

Observed errors in logs on the diego-cell vms.

Steps to Reproduce

Install diego-cell vm (these errors were found in the toolsmiths environment)

Diego repo

Environment Details

Name  Release(s)                    Stemcell(s)                                     Team(s)  
cf    binary-buildpack/1.0.42       bosh-google-kvm-ubuntu-xenial-go_agent/621.125  -  
      bosh-dns/1.27.0                                                                 
      bosh-dns-aliases/0.0.4                                                          
      bpm/1.1.16                                                                      
      capi/1.127.0                                                                    
      cf-cli/1.38.0                                                                   
      cf-networking/2.43.0                                                            
      cf-smoke-tests/41.0.2                                                           
      cflinuxfs3/0.276.0                                                              
      credhub/2.12.0                                                                  
      diego/2.61.0                                                                    
      dotnet-core-buildpack/2.3.39                                                    
      garden-runc/1.20.1                                                              
      go-buildpack/1.9.39                                                             
      java-buildpack/4.48.1                                                           
      log-cache/2.11.6                                                                
      loggregator/106.6.2                                                             
      loggregator-agent/6.3.8                                                         
      metrics-discovery/3.0.8                                                         
      nats/43                                                                         
      nginx-buildpack/1.1.35                                                          
      nodejs-buildpack/1.7.67                                                         
      php-buildpack/4.4.56                                                            
      pxc/0.41.0                                                                      
      python-buildpack/1.7.49                                                         
      r-buildpack/1.1.26                                                              
      routing/0.231.0                                                                 
      ruby-buildpack/1.8.51                                                           
      silk/2.43.0                                                                     
      staticfile-buildpack/1.5.29                                                     
      statsd-injector/1.11.18                                                         
      uaa/75.15.0                                                  

Possible Causes or Fixes (optional)

Discovered/observed these errors during a cf-networking-onboarding taught to developers at vmware.
Googled for the error and found this old/open systemd issue

The discussion mentions editing a file /usr/lib/systemd/network/99-default.link and changing MACAddressPolicy=persistent to MACAddressPolicy=none

The diego cells have four instances of that file:

/var/vcap/data/grootfs/store/unprivileged/images/35746888-82c4-483f-5b28-1953/rootfs/lib/systemd/network/99-default.link
/var/vcap/data/grootfs/store/unprivileged/images/35746888-82c4-483f-5b28-1953-envoy/rootfs/lib/systemd/network/99-default.link
/var/vcap/data/grootfs/store/unprivileged/images/35746888-82c4-483f-5b28-1953-liveness-healthcheck-0/rootfs/lib/systemd/network/99-default.link
/var/vcap/data/grootfs/store/unprivileged/volumes/1fda073f8c13d49c63ba8a222e867dab99f7bddc859bb792f4aff6f41b19d146/lib/systemd/network/99-default.link

Made the change to the healthcheck file, restart bosh-dns-healthcheck and the errors that previously occurred every 20 seconds have abated.
A lower frequency error persists ... from one of the other process I'm sure.

Additional Text Output, Screenshots, contextual information (optional)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions