Categories

  • All news regarding Xen and XCP-ng ecosystem

    146 Topics
    5k Posts
    C
    @benapetr Two possible (cosmetic & function) fixes - names not showing for VMs under Memory & nicer Min and Max Memory settings indicators along with option to "Edit" them: [image: Nameless - Copy.png] (Names themselves redacted below) [image: Names - Copy.png]
  • Something you wish? Explain it here.

    623 Topics
    5k Posts
    T
    @bvitnik I am checking these two out, but it would be great if it can be baked in to XCPng
  • 7k Topics
    65k Posts
    poddingueP
    @MarcVdS I'm not a CloudStack reviewer and I haven't run the PR with CloudStack, so I can't tell you whether it works end to end. What I could check is the XCP-ng side. On one of my lab hosts running sm-3.2.12-25.2 (current 8.3), every name the PR's new branch imports exists (constants.VG_PREFIX and VG_LOCATION, LvmCowUtil.extractUuid, VhdUtil's getParent, getInfoFromLVM, getSizePhys and setHidden, and lock.LOCK_TYPE_SR), and the arguments line up with how the PR calls them. That only tells you the imports shouldn't fail on that sm version, and I haven't looked at the earlier 8.3 ones. Whether snapshots or template creation behave is another question, and I didn't test the fallback branch for older sm either. As far as I can see the PR also still patches NFSSR.py, even though Daan replied to mvds-bbtk on 22 October that he was fine dropping it for the stock driver. My guess is that someone running it on a test zone and saying so on the PR would move it along more than a review from me could.
  • 3k Topics
    30k Posts
    poddingueP
    Unlike the NAS-outage hang in https://xcp-ng.org/forum/topic/12563, this one doesn't need an outage at all, and you're not the only one seeing it: @acebmxer found the same leftover .nfs files after disabling a remote in that thread (https://xcp-ng.org/forum/post/109662) and wrote it up as "Test 2" on https://github.com/vatesfr/xen-orchestra/issues/10741. I ran three disable/enable cycles from xo-cli on an XO from sources at your commit 54051163e and on a regular XOA on 5.213.4, and I only got half of what you describe: one keeper stays open after disabling (two on the XOA) and the share stays mounted even after I deleted the remote, but the count never grew for me, it came back to the same number every cycle. From what I saw in _mount.js at that commit, _sync() seems to close the previous keeper before opening a new one, which would lean towards your "several handlers for the same remote" idea rather than an overwrite, though I'm not a dev and may well be missing a path. Were you toggling from the web UI, and how far apart were your cycles? That's the one difference I can't rule out on my side. Maybe a separate GitHub issue linked from #10741 would be cleaner than another comment there, since yours happens without the NAS going away (I'm not sure which the devs prefer), and a mention to @Team-XO-Backend might help the right people see it.
  • 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
  • Discussions between XCP-ng community members

    422 Topics
    3k Posts
    poddingueP
    Thanks for the changelog. The move to rpm.xcp-hl.org reminded me I still owed you an answer from August, sorry it took this long. I tried your question on a stock 8.3 host: if a repo points at a name that doesn't resolve, yum check-update fails the whole run (exit 1, No more mirrors to try) instead of skipping that repo, and skip_if_unavailable isn't set on the stock repos, so the loud behaviour is the default. Today I added skip_if_unavailable=1 to just that one .repo file and the run completed with exit 0, so that looks like the switch for your repo file. I only tested a name that doesn't resolve, not a server that answers with a 404, and I didn't go through the real XO update path, so take it as a starting point.
  • 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.