Skip to content

VIC Hostname Set Fails After Power Loss #8643

@KLEPTOROTH

Description

@KLEPTOROTH

Summary

Lost power to the host running VIC - now I cannot get to the container management page.

Details

Had a power outage due to the heat in California, and as a result the VIC web interface is no longer functioning. Seems for some reason it cannot properly set the host name, which makes the vSphere PSC saml token request fail, I get this when trying to open the webpage:

This site can’t be reachedThe webpage at https://192.168.11.48:8282/auth/psc/callback/token might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE

journalctl -xe shows this when it's trying to set the host name:

Aug 16 01:58:58 localhost systemd[1]: Started permit root login by ssh based on user provided parameter.
Aug 16 01:58:58 localhost dbus-daemon[163]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.2' (uid=0 pid=260 comm="hostnamectl set-hostname error: EOF ")
Aug 16 01:58:58 localhost systemd[1]: Starting Hostname Service...
Aug 16 01:58:58 localhost dbus-daemon[163]: [system] Successfully activated service 'org.freedesktop.hostname1'
Aug 16 01:58:58 localhost systemd[1]: Started Hostname Service.
Aug 16 01:58:58 localhost systemd-hostnamed[261]: Changed pretty host name to 'error: EOF'
Aug 16 01:58:58 errorEOF systemd-hostnamed[261]: Changed static host name to 'errorEOF'
Aug 16 01:58:58 errorEOF systemd-hostnamed[261]: Changed host name to 'errorEOF'
Aug 16 01:58:59 errorEOF network-config.sh[162]: [Match]
Aug 16 01:58:59 errorEOF network-config.sh[162]: Name=eth0
Aug 16 01:58:59 errorEOF network-config.sh[162]: [Network]
Aug 16 01:58:59 errorEOF network-config.sh[162]: Address=error: EOF/16
Aug 16 01:58:59 errorEOF network-config.sh[162]: Gateway=error: EOF
Aug 16 01:58:59 errorEOF network-config.sh[162]: DNS=error: EOF
Aug 16 01:58:59 errorEOF network-config.sh[162]: Domains=error: EOF
Aug 16 01:58:59 errorEOF network-config.sh[162]: [DHCP]
Aug 16 01:58:59 errorEOF network-config.sh[162]: UseDNS=false
Aug 16 01:58:59 errorEOF network-config.sh[162]: UseDomains=false
Aug 16 01:58:59 errorEOF network-config.sh[162]: UseHostname=false
Aug 16 01:58:59 errorEOF systemd[1]: Started Network customization based on user provided parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions