Categories

  • All news regarding Xen and XCP-ng ecosystem

    146 Topics
    5k Posts
    gduperreyG
    @Greg_E As stated at the beginning of the blog post: "Host reboots are necessary after this update."
  • Everything related to the virtualization platform

    1k Topics
    16k Posts
    J
    @poddingue said: Most of it turns out to be in the XO docs already. The passkeys section covers Keycloak, the WebAuthn flow and a Yubikey as second factor: https://docs.xen-orchestra.com/security/user-management/authentication-providers#enabling-passkeys-in-xoa-with-keycloak. What I couldn't find on that page are your two operational points, keeping a local admin account for when the IdP is down and not hosting the IdP only on the pool XO manages. I tried it on an XO built from sources with the OIDC plugin turned on: the login page still offers "Sign in with password" next to the OpenID Connect button, and a local admin could still log in, so a break-glass account should keep working, though I only had a dummy client, not a real Keycloak. I'll see about getting a short note with those two points added to that page. @Greg_E, if a second factor without an IdP is enough for you, XO also does TOTP for local accounts (same page), though that's not a hardware key. @poddingue Since Keycloak is already covered, it would also be great to document (or link to) lighter/modern self-hosted IdP alternatives—such as authentik, Authelia, Pocket ID, or Kanidm—alongside the best practice of running a duo or trio of bare-metal instances separate from the Vates stack.
  • 3k Topics
    30k Posts
    C
    @poddingue Thank-you - that is very helpful. The logs show it is indeed a PIF error that causes the failure (that results in the above INTERNAL_ERROR): "message": "PIF is not attached" What is interesting is that the PIF identified as causing the error is the Storage Network PIF on the Master host (which is functioning fine apparently as VMs are using it). The only things less usual about this Storage network that I can think of are a MTU of 9000 and that it is direct (both XCP-ng hosts directly cabled to bridged ports on the Truenas - no switch in between). Just realized this is very likely the cause: as the two hosts do not communicate with each other but only with the SR over the Storage Network. If XO is only calling XAPI, then it should only be an error in communication between the hosts (which otherwise communicate with the SR and each other fine - though the latter may be over the Management network). "backtrace": "(((process xapi)(filename ocaml/xapi-client/client.ml)(line 7))((process xapi)(filename ocaml/xapi-client/client.ml)(line 19))((process xapi)(filename ocaml/xapi-client/client.ml)(line 8271))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 144))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/message_forwarding.ml)(line 2605))((process xapi)(filename ocaml/xapi/rbac.ml)(line 228))((process xapi)(filename ocaml/xapi/rbac.ml)(line 238))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 78)))" The above-mentioned grep (of xensource.log) didn't find anything. I believe this can be marked as resolved.
  • Our hyperconverged storage solution

    57 Topics
    845 Posts
    C
    ccooke said: Does it look like you need to examine anything? I'm okay keeping it as-is for another day or two, but it would be good to know. For what it's worth, I have now wiped and restored from backup. Sorry, couldn't wait any longer! Also for what it's worth - I think your answer was clear here, and this one should probably be marked as solved. If there's any sane instructions that anyone else can use to repair the xostor SR if this happens - or if the best thing to do is wipe and restore due to potential risk - it would be good to have some guidance. But I'm entirely happy
  • 37 Topics
    137 Posts
    S
    @jqueiroz said: Bom dia a todos, Estou com um problema em uma VM, ela está ligando/desligando sozinha, repetidamente. Não encontro nenhuma mensagem de erro explicando o motivo. Alguém pode me dar alguma dica sobre como solucionar isso? Uso o XCP-NG 8.0 em um cluster de dois servidores HP Proliant DL-360, com o HA-Lizard. Tudo vinha funcionando bem até alguns dias atrás, quando houve uma queda de energia no datacenter da localidade. Tenho o mesmo arranjo de VMs/servidores em mais seis localidades, nenhuma apresenta esse problema. Analisar esse comportamento instável do cluster é quase como prever resultados complexos, parecendo a análise de riscos que a malta faz ao dar palpites no https://mostbetbrasil.lat. Grato. Como o problema começou depois da queda de energia e só acontece nessa localidade, eu começaria verificando os logs do XCP-ng e do HA-Lizard para entender quem está disparando os reinícios. Pode ser alguma política de HA tentando recuperar a VM repetidamente, algum problema de armazenamento ou até inconsistência no estado do host após a interrupção. Também vale conferir o estado do pool e os logs do Xen Orchestra, se estiver usando. Se possível, desative temporariamente a automação de recuperação dessa VM, com cuidado para não comprometer a disponibilidade, e veja se ela continua reiniciando sozinha. Isso ajuda a isolar a causa.