Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Default behavior issues after tdnf install cloud-network-setup #19

@dcasota

Description

@dcasota

Describe the bug

Hi Susant,
here some findings with the default behavior of cloud-network-setup.

See vmware/photon#1390 F. cloud-network fails to start. Is this expected because cloud-network isn't configured?

a) /etc/cloud-network/cloud-network.toml content looks different as in https://vmware.github.io/photon/docs/administration-guide/managing-network-configuration/configuring-a-secondary-network-interface-using-cloud-network/. See port in [Network].

root@ph4 [ ~ ]# cat /etc/cloud-network/cloud-network.toml
[System]
RefreshTimer="300s"
LogLevel="info"
LogFormat="text"

[Network]
Listen="127.0.0.1:5209"
# Supplementary="eth0 eth1"
root@ph4 [ ~ ]#

b) cnctl status network fails and exposes some internal programming informations. cloud-network-setup-cnctl.txt

c) In the onprem constellation, cnctl status system doesn't show any information.

root@ph4 [ ~ ]# cnctl status system
root@ph4 [ ~ ]#

Reproduction steps

  1. build make of slipstreamed x86_64 photon-4.0-5347f73fc.iso, it includes cloud-network-setup 0.2.1. cloud-network-setup-info.txt
  2. Intentionally, not a cloud network (Azure, AWS) environment, but onprem x86_64 ESXi 8.0 vm, default vm settings for Photon OS, boot from iso, realtime flavor installed.
  3. tdnf install cloud-network-setup, reboot afterwards.
    ...

Expected behavior

  • No fail default behavior of cloud-network daemon, if no metadata server has been found.
  • Matching docs content
  • no internal programming information exposure
  • cnctl show: features for Azure ?

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions