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 worth mentioning (or linking to) newer, lightweight self-hosted IdPs—especially those written in Go or Rust—which have large, active user bases and are very easy to deploy as a dedicated duo or trio on bare metal separate from the Vates stack: • Authelia (Go): https://authelia.com • Pocket ID (Go): https://pocket-id.org • Kanidm (Rust): https://kanidm.com • authentik (Go/Python): https://goauthentik.io
  • 3k Topics
    30k Posts
    C
    @poddingue Thank-you - that explanation of how it works is very helpful. The logs showed it is indeed a PIF error that causes the failure (that results in the above INTERNAL_ERROR): "message": "PIF is not attached" What was interesting is that the PIF identified as causing the error is the Storage Network PIF on the Master host (which is functioning fine as VMs are using it). Realized that this is caused by both XCP-ng hosts being directly cabled to bridged ports on the Truenas with no switch in between) - as the two hosts do not communicate with each other but only with the SR over the Storage Network. Perhaps this thread might be helpful to someone with a similar setup that runs into the same silly mistake.
  • 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.