Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge node deployment cannot set DNS server, NTP server and DNS domain #480

Open
kerub77 opened this issue Oct 30, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@kerub77
Copy link

kerub77 commented Oct 30, 2023

Describe the bug

Hi,
I'm tring to deploy an edge node, this is the answerfile.yml:

edge_transport_nodes:
- display_name: edge
  host_switches:
  - host_switch_profiles:
    - name: nsx-edge-single-nic-uplink-profile
      type: UplinkHostSwitchProfile
    host_switch_name: nsxHostSwitch
    host_switch_mode: STANDARD
    pnics:
    - device_name: "fp-eth0"
      uplink_name: "uplink-1"
    ip_assignment_spec:
       resource_type: StaticIpPoolSpec
       ip_pool_name: "pool-tep-edge"
    transport_zone_endpoints:
    - transport_zone_name: "nsx-overlay-transportzone"
  node_deployment_info:
    resource_type: "EdgeNode"
    display_name: "edge.vmware.com"
    deployment_type: "VIRTUAL_MACHINE"
    deployment_config:
      form_factor: "MEDIUM"
      node_user_settings:
        cli_username: "admin"
        cli_password: "Admin!23Admin"
        root_password: "Admin!23Admin"
      vm_deployment_config:
        dns_servers: "10.111.1.9"
        dns_domain: "eng.vmware.com"
        ipv4_assignment_enabled: true
        management_port_subnets:
          - ip_addresses:
              - "10.111.15.144"
            prefix_length: 16
        default_gateway_addresses:
          - "10.111.0.1"
        ntp_servers: "10.111.1.9"
        placement_type: VsphereDeploymentConfig
        vc_name: "vcenter.vmware.local"
        vc_username: "[email protected]"
        vc_password:  "Password123!"
        data_networks:
        -  DPortGroup-Trunk
        management_network: "nsx"
        compute: "cluster01"
        storage: "storage01"
    node_settings:
      allow_ssh_root_login: true
      enable_ssh: true
      hostname: "edge.vmware.com"

the errors are:

Error[(287, {'httpStatus': 'BAD_REQUEST', 'error_code': 287, 'module_name': 'common-services', 'error_message': 'Json de-serialization error: property ntp_servers is unrecognized.'})]."
Error[(287, {'httpStatus': 'BAD_REQUEST', 'error_code': 287, 'module_name': 'common-services', 'error_message': 'Json de-serialization error: property dns_servers is unrecognized.'})]."
Error[(287, {'httpStatus': 'BAD_REQUEST', 'error_code': 287, 'module_name': 'common-services', 'error_message': 'Json de-serialization error: property dns_domain is unrecognized.'})]."

Reproduction steps

NSX version 4.1.2

Expected behavior

Edge node deployed with all DNS and NTP vApp options filled.

Additional context

No response

@kerub77 kerub77 added the bug Something isn't working label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant