Skip to content

Attempt to deploy fresh 4.20.1 utilizing xcp-ng 8.3 fails to deploy system VMs #11162

Closed

Description

@alsko-icom

cloudstack4.20.1.alsko.log

Hello team,
We decided to test out latest xcp-ng 8.3 hosts that are currently also visible through an XO tool. We waited for the Cloudstack version to support it and tried the required steps today. Our previous test with 4.20 was using KVM and we did not like the cluster HA delays we witnessed. XCP-ng seems a bit more promising. It seems that the process to deploy the system VMs failed because the XCP-ng hosts cannot mount the nfs share required. Attaching a log for your reference, let me know if you can help with what we are doing wrong.

Activity

  1. DaanHoogland commented on Jul 8, 2025

    @DaanHoogland
    Contributor

    @alsko-icom , the logs are not visible.

  2. added this to the 4.20.2 milestone on Jul 8, 2025
  3. alsko-icom commented on Jul 8, 2025

    @alsko-icom
    Author

    cloudstack4.20.1.alsko.txt reuploaded file with txt extension.

  4. DaanHoogland commented on Jul 8, 2025

    @DaanHoogland
    Contributor

    it is now zero bytes, @alsko-icom . can you create a gist or use some other upload/ftp service?

  5. alsko-icom commented on Jul 8, 2025

    @alsko-icom
    Author

    added the file to my personal nextcloud server and as a gist too.
    https://gist.github.com/alsko-icom/c835b6f4ad87a27bd3ca96604dcf9c4c

    and the nextcloud
    https://secure.you-dream.com/index.php/s/PeYpjtBw9fJKHfm

  6. Pearl1594 commented on Jul 8, 2025

    @Pearl1594
    Contributor

    @alsko-icom can you please confirm if the systemvm template has been registered / seeded?

  7. DaanHoogland commented on Jul 8, 2025

    @DaanHoogland
    Contributor

    @alsko-icom please checkt the template as @Pearl1594 suggests.

    Why do you think the mount of the nfs share is the problem?

  8. alsko-icom commented on Jul 10, 2025

    @alsko-icom
    Author

    pasting here screenshot of the seed command for your reference

    Image

    The team noticed some errors during deployment regarding NFS SR being unable to mount on the xcp-ng hosts. So if nfs mount failed, there was no way for the hosts to see the system vm template.

  9. weizhouapache commented on Jul 17, 2025

    @weizhouapache
    Member

    The team noticed some errors during deployment regarding NFS SR being unable to mount on the xcp-ng hosts. So if nfs mount failed, there was no way for the hosts to see the system vm template.

    correct.
    have you fixed the nfs issue ? @alsko-icom

  10. alsko-icom commented on Jul 23, 2025

    @alsko-icom
    Author

    Excuse my late reply, somehow i missed the notification of your update! Is there a problem that we have all 4 xcp-ng hosts connecting to the nfs? Not sure how to tackle. The NFS is not seen to be provisioned / mounted to the entire server pool of 4 but just to 1 server. So if the mount tries to switch to another server, the new server does not know it. Maybe we should try another approach? Also, when adding servers to the xcp-ng server pool, should they be added to the pool through cloudstack by being previously standalone or is it ok to be already added to the pool through an XO environment and the cloudstack will accept them in?

  11. DaanHoogland commented on Jul 23, 2025

    @DaanHoogland
    Contributor

    No @alsko-icom , unless there are some setting on the nfs server preventing it, all servers should be able to share the NFS storage.

  12. alsko-icom commented on Jul 23, 2025

    @alsko-icom
    Author

    ok we will review the nfs behavior a bit more. Regarding the prep, should we add the xcp-ng hosts to the pool through cloudstack or through xen orchestrator at a lower level is fine and will not bother cloudstack?

  13. DaanHoogland commented on Jul 23, 2025

    @DaanHoogland
    Contributor

    @alsko-icom , I think you can add it to the pool and add the pool-master. please check though.

  14. alsko-icom commented on Jul 28, 2025

    @alsko-icom
    Author

    Regarding the nfs storage it has been mounted on the xcp hosts
    This is the df - h output

    Image

    and during the system vm deployment attempt I get an error

    Jul 28 15:35:51 hpe-xcp3 xapi: [error||5690380 |SR.probe D:31ab2dcc8c12|backtrace] sm_exec D:13bcbc145ea9 failed with exception Storage_error ([S(Backend_error);[S(SR_BACKEND_FAILURE_73);[S();S(NFS mount error [opterr=mount failed on server 10.200.30.225 with return code 110]);S()]]])

    attaching the log file /var/log/xensource.log for 1 hour today between 15:00 and 15:59 as the deployment attempt was around 15:30.

    xcp3-xensource.log

  15. DaanHoogland commented on Jul 29, 2025

    @DaanHoogland
    Contributor

    @alsko-icom , what type of NFS server are you running and what options are turned on on it? (squash_root, nfs version, …?)
    See this part of the docs for more information on primary storages.
    Or see this blog for a concise explanation.

  16. alsko-icom commented on Jul 30, 2025

    @alsko-icom
    Author

    After going in the Netapp NFS configuration with the storage team to check settings you asked me, i witnessed them turning off the v4 and v4.1-4.2 support on the NFS share. So they left only v3 enabled. When enabling the zone in cloudstack, the system VMs where started successfully. There might be some issue with v4.x versions of it. So now it works!

  17. locked and limited conversation to collaborators on Jul 30, 2025
  18. converted this issue into a discussion #11346 on Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions