Skip to content

Unable to add/get dns records #80

Description

@dkandersjacobsen

Describe the bug

Unable to get/add dns records.

PS /root> Get-HoloDeckDNSConfig -IP 10.1.1.1
/usr/bin/python: can't open file '/dnsmasq/get_configmap.py': [Errno 2] No such file or directory

holorouter-9.0.1.4048

Reproduction steps

1.Get-HoloDeckDNSConfig -IP 10.1.1.1
2.
3.
...

Expected behavior

.

Additional context

No response

Activity

  1. dhruv-tyagi-broadcom commented on Dec 9, 2025

    @dhruv-tyagi-broadcom
    Collaborator

    Have you already run the New-HoloDeckInstance command? If yes, can you check dnsmasq pod status using:

    kubectl get pods -A
    

    See if the dnsmasq pod is running. If not, check the logs and more details:

    kubectl describe pod <dnsmasq-pod-name> 
    kubectl logs <dnsmasq-pod-name>
    
  2. dkandersjacobsen commented on Dec 9, 2025

    @dkandersjacobsen
    Author

    pod is running (and dns is working)

    default dnsmasq-deployment-9796d69c6-dq8lz 1/1 Running 0 6h6m

    I have the same issue on two seperate holo setups.

    The Holodeck is running, but when I try to add/update/delete dns record I got the above error.

    It worked in holo router 9.0.0.0 but broke in 9.0.1.0

    Looks like the issue is that /dnsmasq/get_configmap.py is actually in /holodeck-runtime/dnsmasq/

  3. dhruv-tyagi-broadcom commented on Dec 10, 2025

    @dhruv-tyagi-broadcom
    Collaborator

    Is the config loaded in the powershell session? You can check by running:

    $config
    

    If not, you need to run:

    Get-HoloDeckConfig
    

    Identify the config ID, then run:

    Import-HolodeckConfig -ConfigID <ID>
    

    Then the dns commands should work

  4. dkandersjacobsen commented on Dec 10, 2025

    @dkandersjacobsen
    Author

    Did it - thanks !

  5. added
    help wantedExtra attention is needed
    and removed
    bugSomething isn't working
    on Dec 10, 2025
  6. locked and limited conversation to collaborators on Dec 10, 2025
  7. converted this issue into a discussion #81 on Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions