Menu

#3832 [FVT]: message enhancement to remove "Error: The file /etc/sysconfig/dhcpd6 doesn't exist"

2.9
closed
None
unknown
4
2014-11-27
2013-10-12
No

Prefix:FVT
Reference:no
Duplicate:No
Component Name;sles11 sp3
Release/build:sles11 sp3 2.8.3 snap20131010
symptom: message enhancement
Remark
^^^^^^^^^^^^^^
Environment Configuration:
^^^^^^^^^^^^^^
MN: sles11 sp3
^^^^^^^^^
Scenario:
^^^^^^^^^
How to reproduce
1. We always hit the error message "Error: The file /etc/sysconfig/dhcpd6 doesn't exist, check the dhcp server" when we run some dhcp related commands. This is not user friendly. Could we remove it?

xMN:~ # makedhcp -a
Error: The file /etc/sysconfig/dhcpd6 doesn't exist, check the dhcp server

xMN:~ # nodeset CN osimage=sles11.3-x86_64-netboot-compute
CN: netboot sles11.3-x86_64-compute
Error: The file /etc/sysconfig/dhcpd6 doesn't exist, check the dhcp server
Warning: No dynamic range specified for fd55:faaf:e1ab:336::/64. Hosts with no static address will receive no addresses on this subnet.
CN: Warning: Skipping DHCPv6 setup due to missing vpd.uuid information.

Discussion

  • Lissa Valletta

    Lissa Valletta - 2013-10-14

    It think this is because of this entry we put in the networks table with makenetworks, maybe this is the real problem.
    "fd55:faaf:e1ab:336::/64","fd55:faaf:e1ab:336::/64","/64","eth1",,,,,,,,,,,,,,,
    I just end up removing it.

     
  • Lissa Valletta

    Lissa Valletta - 2014-09-30
    • assigned_to: Guang Cheng Li --> Victor Hu
    • component: --> unknown
     
  • Victor Hu

    Victor Hu - 2014-10-01

    SLES puts the configuration for ipv6 in a single file, /etc/sysconfig/dhcpd so the /etc/sysconfig/dhcpd6 file is not there. I added a check for the OS level

    commit: c3f0760164ff6d8474f66afa2561579b85498725

     
  • Victor Hu

    Victor Hu - 2014-10-01
    • status: open --> closed
     
  • Victor Hu

    Victor Hu - 2014-10-02
    • status: closed --> pending
     
  • Victor Hu

    Victor Hu - 2014-10-02

    Commit was to 2.9 c3f0760164ff6d8474f66afa2561579b85498725

     

    Last edit: Lissa Valletta 2014-10-10
  • Victor Hu

    Victor Hu - 2014-10-20

    Commit to 2.9: 1d781ea39fb9cbd5754439a7bfb3c2dec657ee6c

    improved logic for maintainability and not dual path code for for Ubuntu.

     
  • ting ting li

    ting ting li - 2014-11-27
    • status: pending --> closed
     
  • ting ting li

    ting ting li - 2014-11-27

    verified with xCAT 2.9 20141126 build.
    slesmn:~ # nodeset slescn osimage=sles12-x86_64-install-compute
    slescn: install sles12-x86_64-compute
    Warning: No dynamic range specified for fd55:faaf:e1ab:336::/64. Hosts with no static address will receive no addresses on this subnet.

     
MongoDB Logo MongoDB