Project

General

Profile

action #155824

Updated by okurz 10 months ago

## Motivation 
 https://jira.suse.com/browse/ENGINFRA-3685?focusedId=1329421&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1329421 
 Can we enable SLAAC support in all our salt managed machines regardless if the infrastructure needs/supports this? 

 ## Acceptance criteria 
 * **AC1:** Machines in PRG2e configured by salt, like ada, get full IPv6 
 * **AC2:** Machines in PRG2 configured by salt, like worker29, *still have full IPv6 

 ## Acceptance tests 
 * **AT1-1:** `for i in $(sudo salt-key -l acc) ;do ping -6 -c1 $i; done` returns a successful pong for each prg2 based machine 

 ## Suggestions 
 * Check differences between openqaw5-xen which already has IPv6 and ada which does not. Maybe ada has IPv6 explicitly disabled by sysctl. 

 * If ada is not just a single exception then add to salt 

 ``` 
 # cat /etc/sysctl.d/10-slaac.conf 
 net.ipv6.conf.default.use_tempaddr=1 
 net.ipv6.conf.default.autoconf=1  
 ``` 

 and see if that automagically fixes IPv6 on ada and does not break something on others. If that does not work then set 

 ``` 
 BOOTPROTO="dhcp4+auto6" 
 ``` 

 but possibly only for machines in PRG2e, not PRG2, or based on salt grain or something

Back