BRAND_CONSOLE error on BOOT, no networking

  • Hey guys!

    So we had a power outage here that shutdown our xcp-ng server. Upon returning, it goes through most of the boot process, it shows the splash screen, but then it gets stuck on this error:


    The host has no network connectivity.
    Going to another console with alt+right, I saw that emergency mode is "false", and tried network restart, which made no difference. Boots up to the same error.

    Tried a toolstak restart, and this is what xensource.log looks after that:


    And this is what /etc/xensource-inventory looks like:


    Sorry for the print screens. My only access is either the KVM or the iDRAC console which doesn't let me copy anything (afaik).

    Any ideas? Did something got corrupted? If it did, can it be rebuilt?

    I do have access to USB ports to do a re-install, but well, I would rather not have to redo the entire server.

  • XCP-ng Team

    /etc/xensource-inventory is supposed to have a lot more contents. Here's mine from a test XCP-ng VM:

    [10:23 xcp-ng-sve-80-dev ~]# cat /etc/xensource-inventory
    COMPANY_NAME_SHORT='Open Source'
    BRAND_CONSOLE='XCP-ng Center'
    INSTALLATION_DATE='2019-08-06 15:52:19.379300'
    COMPANY_NAME='Open Source'

  • So, is there a "proper" way to rebuild this?

  • XCP-ng Team

    It is created during installation, by this python code:

    I don't know if there's a way to re-create it.

  • Loaded the 8.0 Install ISO to see if there was some recovery option, but it doesn't even recognize that there's an installation on the disk...

  • XCP-ng Team

    @andremartin Yeah, it recognizes existing installations... Based on /etc/xensource-inventory if I remember correctly...

  • XCP-ng Team

    If you had upgraded that host in the past, you should be able to find an /etc/xensource-inventory in the backup partition, you could then use after changing the values that depend on the version.

  • XCP-ng Team

    Another place where you can find a backup, if you have made one before the crash: in the backup file that the xe host-backup command creates. It's also available from XSConsole. XCP-ng Center also offers that feature if I remember correctly.

  • I do have a backup partition, but I can't seem to be able to mount it? The filesystem shows up as "Microsoft basic". Which filesystem should I specify to mount it?

  • XCP-ng Team

    It's ext3, unless it's empty. It only gets filled when you upgrade, so that you can fallback to the previous state if anything goes wrong.

  • Then I guess it's empty. I guess I'll just redo the server, and chalk this up as a one in a million file corruption, for which we didn't have the proper OS backup to counteract. We do have backups of the VMs anyway.

    Thanks for the help! We didn't get this fixed, but I did learn a lot! This is our first Xenserver/XCP host.

Log in to reply

XCP-ng Pro Support