SR NFS Creation Error 13
-
Hi,
I have no idea how you installed XO, so it's hard to assist. Please try with XOA and see if you have the same issue.
-
@olivierlambert Thanks for your assistance! I just tried installing XO on the new host but when I click on "Deploy" button, I'm getting the following error:
-
Have you tried from https://vates.tech/deploy?
-
@olivierlambert Just tried it and it's still not working:
-
Hi @stevewest15 - just going to quick-fire some ideas here as I've fallen afoul of this in the past.
I can see you have NFS restricted to 'Authorised Networks' and 'Authorised Hosts'.
Are you 100% sure that the new host is in the correct IP subnet and that the host is defined in the host groups? -
-
@olivierlambert I tailed the /var/log/xensource.log when I try to click on the "Deploy" button using the https://vates.tech/deploy if this is helpful:
Oct 3 11:34:23 XCP55 xapi: [debug||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|audit] VM.import: url = '(url filtered)' sr='OpaqueRef:6aaef256-69c8-4928-8199-957dc4d01202' force='false' Oct 3 11:34:23 XCP55 xapi: [debug||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] Failed to directly open the archive; trying gzip Oct 3 11:34:23 XCP55 xapi: [debug||8801 ||import] Writing initial buffer Oct 3 11:34:23 XCP55 xapi: [debug||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] Got XML Oct 3 11:34:23 XCP55 xapi: [debug||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] importing new style VM Oct 3 11:34:23 XCP55 xapi: [debug||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] Importing 0 host(s) Oct 3 11:34:23 XCP55 xapi: [debug||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] Importing 1 SR(s) Oct 3 11:34:23 XCP55 xapi: [debug||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] Importing 1 VDI(s) Oct 3 11:34:23 XCP55 xapi: [debug||8802 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.create D:2ee7d07f3c8e created by task R:269b6e3fdd34 Oct 3 11:34:23 XCP55 xapi: [ info||8802 /var/lib/xcp/xapi||taskhelper] task VDI.create R:8e2c32b2c2a9 (uuid:6c7b2409-d437-931e-bd9c-43244e13b0fc) created (trackid=e5b9c7399e413bfe02ae51306d634912) by task R:269b6e3fdd34 Oct 3 11:34:23 XCP55 xapi: [debug||8802 /var/lib/xcp/xapi|VDI.create R:8e2c32b2c2a9|audit] VDI.create: SR = '70fc7ee7-8eb2-0cca-0807-83dba8917d5c (Local storage)'; name label = 'xoa root' Oct 3 11:34:23 XCP55 xapi: [debug||8802 /var/lib/xcp/xapi|VDI.create R:8e2c32b2c2a9|message_forwarding] Marking SR for VDI.create (task=OpaqueRef:8e2c32b2-c2a9-4537-ba4e-bfba0a8da660) Oct 3 11:34:23 XCP55 xapi: [ info||8802 /var/lib/xcp/xapi|VDI.create R:8e2c32b2c2a9|storage_impl] VDI.create dbg:OpaqueRef:8e2c32b2-c2a9-4537-ba4e-bfba0a8da660 sr:70fc7ee7-8eb2-0cca-0807-83dba8917d5c vdi_info:{"sm_config":{"import_task":"OpaqueRef:269b6e3f-dd34-4ff0-a13b-0ceaea1d15e0"},"sharable":false,"persistent":true,"physical_utilisation":0,"virtual_size":21474836480,"cbt_enabled":false,"read_only":false,"snapshot_of":"","snapshot_time":"19700101T00:00:00Z","is_a_snapshot":false,"metadata_of_pool":"","ty":"user","name_description":"","name_label":"xoa root","content_id":"","vdi":""} Oct 3 11:34:23 XCP55 xapi: [debug||8803 ||dummytaskhelper] task VDI.create D:530849acd382 created by task R:8e2c32b2c2a9 Oct 3 11:34:23 XCP55 xapi: [debug||8803 |VDI.create D:530849acd382|sm] SM ext vdi_create sr=OpaqueRef:6aaef256-69c8-4928-8199-957dc4d01202 sm_config=[import_task=OpaqueRef:269b6e3f-dd34-4ff0-a13b-0ceaea1d15e0] type=[user] size=21474836480 Oct 3 11:34:23 XCP55 xapi: [ info||8803 |sm_exec D:cef862198a26|xapi_session] Session.create trackid=c434cfd79956a0dc270f86eb6e3c6560 pool=false uname= originator=xapi is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 Oct 3 11:34:23 XCP55 xapi: [debug||8804 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:deba20300eeb created by task D:cef862198a26 Oct 3 11:34:24 XCP55 xapi: [debug||8805 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:host.get_other_config D:977f9d72bdb3 created by task D:530849acd382 Oct 3 11:34:24 XCP55 xapi: [debug||8806 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_other_config D:6af2095e7c63 created by task D:530849acd382 Oct 3 11:34:24 XCP55 xapi: [debug||8807 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.db_introduce D:6ccc8d44b069 created by task D:530849acd382 Oct 3 11:34:24 XCP55 xapi: [ info||8807 /var/lib/xcp/xapi||taskhelper] task VDI.db_introduce R:8a81dc0481ad (uuid:7bff162e-8152-64bf-bf2d-48f27858f426) created (trackid=c434cfd79956a0dc270f86eb6e3c6560) by task D:530849acd382 Oct 3 11:34:24 XCP55 xapi: [debug||8807 /var/lib/xcp/xapi|VDI.db_introduce R:8a81dc0481ad|xapi_vdi] {pool,db}_introduce uuid=5a57f11e-be24-481a-8e89-b37069585c08 name_label=xoa root Oct 3 11:34:24 XCP55 xapi: [debug||8807 /var/lib/xcp/xapi|VDI.db_introduce R:8a81dc0481ad|xapi_vdi] VDI.introduce read_only = false Oct 3 11:34:24 XCP55 xapi: [debug||8808 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_virtual_allocation D:dad5f8c21fac created by task D:530849acd382 Oct 3 11:34:24 XCP55 xapi: [debug||8809 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_by_uuid D:1aa3954c501b created by task D:530849acd382 Oct 3 11:34:24 XCP55 xapi: [debug||8810 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_virtual_allocation D:a8530df366e1 created by task D:530849acd382 Oct 3 11:34:24 XCP55 xapi: [debug||8811 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_physical_size D:8510cfe86103 created by task D:530849acd382 Oct 3 11:34:24 XCP55 xapi: [debug||8812 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_physical_utilisation D:2d097d044c2d created by task D:530849acd382 Oct 3 11:34:24 XCP55 xapi: [ info||8803 |sm_exec D:cef862198a26|xapi_session] Session.destroy trackid=c434cfd79956a0dc270f86eb6e3c6560 Oct 3 11:34:24 XCP55 xapi: [debug||8802 /var/lib/xcp/xapi|VDI.create R:8e2c32b2c2a9|xapi_sr] OpaqueRef:0b1d4430-214b-466a-b5df-e6246544f682 snapshot_of <- OpaqueRef:NULL Oct 3 11:34:24 XCP55 xapi: [debug||8802 /var/lib/xcp/xapi|VDI.create R:8e2c32b2c2a9|message_forwarding] Unmarking SR after VDI.create (task=OpaqueRef:8e2c32b2-c2a9-4537-ba4e-bfba0a8da660) Oct 3 11:34:24 XCP55 xapi: [debug||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] Importing 1 VM_guest_metrics(s) Oct 3 11:34:24 XCP55 xapi: [debug||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] Importing 1 VM(s) Oct 3 11:34:24 XCP55 xapi: [debug||8813 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VM.create D:60ff9638321b created by task R:269b6e3fdd34 Oct 3 11:34:24 XCP55 xapi: [ info||8813 /var/lib/xcp/xapi||taskhelper] task VM.create R:7c496952935c (uuid:7d96d787-dcc6-a45e-8aa7-b646df253dc7) created (trackid=e5b9c7399e413bfe02ae51306d634912) by task R:269b6e3fdd34 Oct 3 11:34:24 XCP55 xapi: [debug||8813 /var/lib/xcp/xapi|VM.create R:7c496952935c|audit] VM.create: name_label = 'XOA' name_description = 'Xen Orchestra virtual Appliance' Oct 3 11:34:24 XCP55 xapi: [debug||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] Created VM: OpaqueRef:fda15bd0-5dcd-44ad-8a37-5e110ce39724 (was Ref:208) Oct 3 11:34:24 XCP55 xapi: [debug||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] Importing 1 network(s) Oct 3 11:34:24 XCP55 xapi: [debug||8814 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:network.get_by_name_label D:54e3bcbf2532 created by task R:269b6e3fdd34 Oct 3 11:34:24 XCP55 xapi: [debug||8815 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:network.get_all_records_where D:64c2c4875251 created by task R:269b6e3fdd34 Oct 3 11:34:24 XCP55 xapi: [debug||8816 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:network.create D:36398824e4bc created by task R:269b6e3fdd34 Oct 3 11:34:24 XCP55 xapi: [ info||8816 /var/lib/xcp/xapi||taskhelper] task network.create R:1662dcd1a2fb (uuid:225442be-036f-5a7b-7782-97f773e6af09) created (trackid=e5b9c7399e413bfe02ae51306d634912) by task R:269b6e3fdd34 Oct 3 11:34:24 XCP55 xapi: [debug||8816 /var/lib/xcp/xapi|network.create R:1662dcd1a2fb|audit] Network.create: name_label = 'Pool-wide network associated with eth0 on VLAN11'; bridge = 'xapi1'; managed = 'true' Oct 3 11:34:24 XCP55 xapi: [error||8816 /var/lib/xcp/xapi||backtrace] network.create R:1662dcd1a2fb failed with exception Server_error(INVALID_VALUE, [ bridge; xapi1 ]) Oct 3 11:34:24 XCP55 xapi: [error||8816 /var/lib/xcp/xapi||backtrace] Raised Server_error(INVALID_VALUE, [ bridge; xapi1 ]) Oct 3 11:34:24 XCP55 xapi: [error||8816 /var/lib/xcp/xapi||backtrace] 1/8 xapi Raised at file ocaml/xapi/xapi_network.ml, line 266 Oct 3 11:34:24 XCP55 xapi: [error||8816 /var/lib/xcp/xapi||backtrace] 2/8 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24 Oct 3 11:34:24 XCP55 xapi: [error||8816 /var/lib/xcp/xapi||backtrace] 3/8 xapi Called from file ocaml/xapi/rbac.ml, line 205 Oct 3 11:34:24 XCP55 xapi: [error||8816 /var/lib/xcp/xapi||backtrace] 4/8 xapi Called from file ocaml/xapi/server_helpers.ml, line 95 Oct 3 11:34:24 XCP55 xapi: [error||8816 /var/lib/xcp/xapi||backtrace] 5/8 xapi Called from file ocaml/xapi/server_helpers.ml, line 113 Oct 3 11:34:24 XCP55 xapi: [error||8816 /var/lib/xcp/xapi||backtrace] 6/8 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24 Oct 3 11:34:24 XCP55 xapi: [error||8816 /var/lib/xcp/xapi||backtrace] 7/8 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35 Oct 3 11:34:24 XCP55 xapi: [error||8816 /var/lib/xcp/xapi||backtrace] 8/8 xapi Called from file lib/backtrace.ml, line 177 Oct 3 11:34:24 XCP55 xapi: [error||8816 /var/lib/xcp/xapi||backtrace] Oct 3 11:34:24 XCP55 xapi: [error||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] Import failed: failed to create Network with name_label Pool-wide network associated with eth0 on VLAN11 Oct 3 11:34:24 XCP55 xapi: [error||8800 HTTPS 10.10.10.57->:::80|VM.import R:269b6e3fdd34|import] Caught exception in import: INVALID_VALUE: [ bridge; xapi1 ] Oct 3 11:34:24 XCP55 xapi: [debug||8817 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.slave_login D:9cb4342e73e2 created by task R:d59db384ea2e Oct 3 11:34:24 XCP55 xapi: [ info||8817 /var/lib/xcp/xapi|session.slave_login D:8784583e6172|xapi_session] Session.create trackid=2f17fc053e7e09f323c4b973c22fc02c pool=true uname= originator=xapi is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 Oct 3 11:34:24 XCP55 xapi: [debug||8818 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:eb92071215a7 created by task D:8784583e6172 Oct 3 11:34:24 XCP55 xapi: [debug||8819 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VM.destroy D:c98e01df046f created by task R:d59db384ea2e Oct 3 11:34:24 XCP55 xapi: [ info||8819 /var/lib/xcp/xapi||taskhelper] task VM.destroy R:ca9ded8caef3 (uuid:c93118e0-1b98-1c5d-086a-76aa5a189c2d) created (trackid=2f17fc053e7e09f323c4b973c22fc02c) by task R:d59db384ea2e Oct 3 11:34:24 XCP55 xapi: [debug||8819 /var/lib/xcp/xapi|VM.destroy R:ca9ded8caef3|audit] VM.destroy: VM = 'e6a49727-110e-2e25-287d-b706951e9161 (XOA)' Oct 3 11:34:24 XCP55 xapi: [debug||8819 /var/lib/xcp/xapi|VM.destroy R:ca9ded8caef3|xapi_vm_helpers] VM.destroy: deleting DB records Oct 3 11:34:24 XCP55 xapi: [debug||8820 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.destroy D:5ef6f61c2f76 created by task R:d59db384ea2e Oct 3 11:34:24 XCP55 xapi: [ info||8820 /var/lib/xcp/xapi||taskhelper] task VDI.destroy R:ed9f5fc50a0b (uuid:b4f54201-1cf9-f46c-9f4c-19694d00d14c) created (trackid=2f17fc053e7e09f323c4b973c22fc02c) by task R:d59db384ea2e Oct 3 11:34:24 XCP55 xapi: [debug||8820 /var/lib/xcp/xapi|VDI.destroy R:ed9f5fc50a0b|audit] VDI.destroy: VDI = '5a57f11e-be24-481a-8e89-b37069585c08' Oct 3 11:34:24 XCP55 xapi: [debug||8820 /var/lib/xcp/xapi|VDI.destroy R:ed9f5fc50a0b|message_forwarding] Marking SR for VDI.destroy (task=OpaqueRef:ed9f5fc5-0a0b-458f-8858-247e333dc1f9) Oct 3 11:34:24 XCP55 xapi: [ info||8820 /var/lib/xcp/xapi|VDI.destroy R:ed9f5fc50a0b|storage_impl] VDI.destroy dbg:OpaqueRef:ed9f5fc5-0a0b-458f-8858-247e333dc1f9 sr:70fc7ee7-8eb2-0cca-0807-83dba8917d5c vdi:5a57f11e-be24-481a-8e89-b37069585c08 Oct 3 11:34:24 XCP55 xapi: [debug||8821 ||dummytaskhelper] task VDI.destroy D:a94b9e39269f created by task R:ed9f5fc50a0b Oct 3 11:34:24 XCP55 xapi: [debug||8821 |VDI.destroy D:a94b9e39269f|sm] SM ext vdi_delete sr=OpaqueRef:6aaef256-69c8-4928-8199-957dc4d01202 vdi=OpaqueRef:0b1d4430-214b-466a-b5df-e6246544f682 Oct 3 11:34:24 XCP55 xapi: [ info||8821 |sm_exec D:73be5872978b|xapi_session] Session.create trackid=94d13e7939f10383fc10c4f3503f9c6f pool=false uname= originator=xapi is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 Oct 3 11:34:24 XCP55 xapi: [debug||8822 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:613297a97154 created by task D:73be5872978b Oct 3 11:34:24 XCP55 xapi: [debug||8823 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:host.get_other_config D:4e078575ee73 created by task D:a94b9e39269f Oct 3 11:34:24 XCP55 xapi: [debug||8824 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_other_config D:8c72ca70ce0b created by task D:a94b9e39269f Oct 3 11:34:24 XCP55 xapi: [ info||8825 /var/lib/xcp/xapi|session.login_with_password D:133bcd0ae16f|xapi_session] Session.create trackid=ae9ea8a24a7e9e3eaea57666905e955f pool=false uname=root originator=SM is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 Oct 3 11:34:24 XCP55 xapi: [debug||8826 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:a3ee39a6ee41 created by task D:133bcd0ae16f Oct 3 11:34:24 XCP55 xapi: [ info||8834 /var/lib/xcp/xapi|session.logout D:0ea100b8985d|xapi_session] Session.destroy trackid=ae9ea8a24a7e9e3eaea57666905e955f Oct 3 11:34:24 XCP55 xapi: [debug||8835 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.get_by_uuid D:c427804d38ef created by task D:a94b9e39269f Oct 3 11:34:24 XCP55 xapi: [debug||8836 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.db_forget D:b3211d50868f created by task D:a94b9e39269f Oct 3 11:34:24 XCP55 xapi: [ info||8836 /var/lib/xcp/xapi||taskhelper] task VDI.db_forget R:0444b480c4f2 (uuid:c1e60f49-fbf6-a978-02fc-89b7eb2eba83) created (trackid=94d13e7939f10383fc10c4f3503f9c6f) by task D:a94b9e39269f Oct 3 11:34:24 XCP55 xapi: [debug||8836 /var/lib/xcp/xapi|VDI.db_forget R:0444b480c4f2|xapi_vdi] db_forget uuid=5a57f11e-be24-481a-8e89-b37069585c08 Oct 3 11:34:24 XCP55 xapi: [debug||8837 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_virtual_allocation D:c00facb0a49c created by task D:a94b9e39269f Oct 3 11:34:24 XCP55 xapi: [debug||8838 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_by_uuid D:7b3016885891 created by task D:a94b9e39269f Oct 3 11:34:24 XCP55 xapi: [debug||8839 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_virtual_allocation D:efa488742d4c created by task D:a94b9e39269f Oct 3 11:34:24 XCP55 xapi: [debug||8840 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_physical_size D:3d15163a9337 created by task D:a94b9e39269f Oct 3 11:34:24 XCP55 xapi: [debug||8841 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_physical_utilisation D:13d788b1bcc6 created by task D:a94b9e39269f Oct 3 11:34:24 XCP55 xapi: [ info||8842 /var/lib/xcp/xapi|session.login_with_password D:32d41049cdd7|xapi_session] Session.create trackid=c1a91205d46beaa8fd0f72c871cc7890 pool=false uname=root originator=SM is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 Oct 3 11:34:24 XCP55 xapi: [ info||8843 /var/lib/xcp/xapi|session.login_with_password D:91f9a8162270|xapi_session] Session.create trackid=4255185b7b399215999d881ccfd9bd69 pool=false uname=root originator=SM is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 Oct 3 11:34:24 XCP55 xapi: [debug||8844 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:bbc704b86901 created by task D:32d41049cdd7 Oct 3 11:34:24 XCP55 xapi: [debug||8845 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:2e27b0f38226 created by task D:91f9a8162270 Oct 3 11:34:24 XCP55 xapi: [ info||8859 /var/lib/xcp/xapi|session.logout D:77ab4a50a888|xapi_session] Session.destroy trackid=c1a91205d46beaa8fd0f72c871cc7890 Oct 3 11:34:24 XCP55 xapi: [ info||8860 /var/lib/xcp/xapi|session.logout D:3a423443cf9e|xapi_session] Session.destroy trackid=4255185b7b399215999d881ccfd9bd69 Oct 3 11:34:24 XCP55 xapi: [ info||8861 /var/lib/xcp/xapi|session.login_with_password D:ad7636f29052|xapi_session] Session.create trackid=22e9b2dee5433c30a4a7a7cfe803e354 pool=false uname=root originator=SM is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 Oct 3 11:34:24 XCP55 xapi: [debug||8862 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:pool.get_all D:14b2b200097d created by task D:ad7636f29052 Oct 3 11:34:24 XCP55 xapi: [ info||8821 |sm_exec D:73be5872978b|xapi_session] Session.destroy trackid=94d13e7939f10383fc10c4f3503f9c6f Oct 3 11:34:24 XCP55 xapi: [debug||8820 /var/lib/xcp/xapi|VDI.destroy R:ed9f5fc50a0b|message_forwarding] Unmarking SR after VDI.destroy (task=OpaqueRef:ed9f5fc5-0a0b-458f-8858-247e333dc1f9) Oct 3 11:34:24 XCP55 xapi: [debug||8872 /var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.logout D:1554b9af87b0 created by task R:d59db384ea2e Oct 3 11:34:24 XCP55 xapi: [ info||8872 /var/lib/xcp/xapi|session.logout D:3189c746e134|xapi_session] Session.destroy trackid=2f17fc053e7e09f323c4b973c22fc02c Oct 3 11:34:24 XCP55 xapi: [ warn||8801 ||pervasiveext] finally: Error while running cleanup after failure of main function: (Failure "Decompression via zcat failed: exit code 1") Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] VM.import R:269b6e3fdd34 failed with exception Server_error(INVALID_VALUE, [ bridge; xapi1 ]) Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] Raised Server_error(INVALID_VALUE, [ bridge; xapi1 ]) Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 1/22 xapi Raised at file ocaml/xapi-client/client.ml, line 7 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 2/22 xapi Called from file ocaml/xapi-client/client.ml, line 19 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 3/22 xapi Called from file ocaml/xapi-client/client.ml, line 9676 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 4/22 xapi Called from file ocaml/xapi/import.ml, line 93 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 5/22 xapi Called from file ocaml/xapi/import.ml, line 97 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 6/22 xapi Called from file ocaml/xapi/import.ml, line 1136 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 7/22 xapi Called from file list.ml, line 110 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 8/22 xapi Called from file list.ml, line 110 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 9/22 xapi Called from file ocaml/xapi/import.ml, line 1861 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 10/22 xapi Called from file ocaml/xapi/import.ml, line 1881 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 11/22 xapi Called from file ocaml/xapi/import.ml, line 2189 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 12/22 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 13/22 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 14/22 xapi Called from file lib/open_uri.ml, line 20 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 15/22 xapi Called from file lib/open_uri.ml, line 20 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 16/22 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 17/22 xapi Called from file ocaml/xapi/rbac.ml, line 205 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 18/22 xapi Called from file ocaml/xapi/server_helpers.ml, line 95 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 19/22 xapi Called from file ocaml/xapi/server_helpers.ml, line 113 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 20/22 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 24 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 21/22 xapi Called from file lib/xapi-stdext-pervasives/pervasiveext.ml, line 35 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] 22/22 xapi Called from file lib/backtrace.ml, line 177 Oct 3 11:34:24 XCP55 xapi: [error||8800 :::80||backtrace] Oct 3 11:34:24 XCP55 xapi: [ info||8873 /var/lib/xcp/xapi|session.logout D:18cedef1668a|xapi_session] Session.destroy trackid=22e9b2dee5433c30a4a7a7cfe803e354
-
Another spitball idea:
I did notice too that you have folders in the /mnt/Tank path : "VMs" and "XCP-NG". I assume the "XCP-NG" folder is your XO remote (as I recognise the xo-config / xo-pool / xo-vm folders from backup jobs), so I assume that the "VMs" folder is your VDI SR?
If those assumptions are correct, when you add the storage to the host, I feel like your 'Create a new SR' info is missing the "VMs" text in the subdirectory - from the screenshot you posted, it looks like the SR is trying to create in the /mnt/Tank path, not the /mnt/Tank/VMs path?
But I'm obviously not entirely sure of your intention and expectations, whether this host is part of a pool or is a standalone host; all of which has an impact on NFS storage and resultant paths. -
@stevewest15 I pasted this error log into ChatLLM and it spat out a key error here:
"The error log you provided indicates that there was an issue during the import of a virtual machine (VM) in XCP-ng. The specific error is related to the creation of a network, and the relevant part of the log is:
[error||8816 /var/lib/xcp/xapi||backtrace] network.create R:1662dcd1a2fb failed with exception Server_error(INVALID_VALUE, [ bridge; xapi1 ])
This error suggests that there was an attempt to create a network with a bridge named xapi1, but the value provided for the bridge was invalid.
This could be due to several reasons:
Bridge Name Conflict: The bridge name xapi1 might already be in use or reserved, causing a conflict.
Incorrect Bridge Configuration: The bridge configuration might be incorrect or not properly set up in the network settings of the host.Network Configuration Issue: There might be a broader issue with the network configuration on the host, such as missing or misconfigured network interfaces.
VLAN Configuration: If VLANs are involved, ensure that the VLAN ID is correctly configured and that the network interface supports VLAN tagging.
To resolve this issue, you can try the following steps:
Check Existing Bridges: Use the command brctl show on the host to list all existing bridges and verify if xapi1 already exists.Review Network Configuration: Check the network configuration files on the host to ensure that the bridge xapi1 is correctly defined and not conflicting with other network settings.
Verify VLAN Settings: If VLANs are used, ensure that the VLAN ID is correctly set and that the network interface is configured to handle VLANs.
Consult Documentation: Review the XCP-ng documentation for any specific requirements or limitations regarding network bridge names and configurations.
If these steps do not resolve the issue, you may need to provide additional context or configuration details for further troubleshooting."
-
@TS79 Thanks again! The TrueNAS NFS path which I see on the existing XCP-NG Hosts has the serverpath: /mnt/Tank/XCP-NG (see screenshot below):
However, when I try to create this SR NFS on the new host, it only shows the serverpath as /mnt/Tank like so:
Using the search icon under the Subdirectory doesn't load anything:
And if I manually enter XCP-NG in the Subdirectory field, I'm presented with two options under the "Storage usage":
FreeNAS shows the following content in /mn/Tank/XCP-NG directory:
The "e027cbe3-c650-d923-fb6f-97626c68c514" and "e140ab5d-8833-fd4b-91fe-68d9ff8652e9" are SR for existing hosts that connect with no issues to TrueNAS via NFS.
On the networking error when trying to install XO using the deploy method, I ran the following command on this host and returned the following:
I'm not using any VLANs and not sure where to check the network configuration files but this is what I have via the XOCE for this host:
[12:24 XCP55 ~]# brctl show bridge name bridge id STP enabled interfaces [12:24 XCP55 ~]# [12:24 XCP55 ~]# ip route show default via 10.10.10.1 dev xenbr7 10.10.1.0/24 dev xenbr0 proto kernel scope link src 10.10.1.10 10.10.2.0/24 dev xenbr1 proto kernel scope link src 10.10.2.10 10.10.10.0/24 dev xenbr7 proto kernel scope link src 10.10.10.5 [12:25 XCP55 ~]# [12:32 XCP55 ~]# ip a show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 2: eth4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000 link/ether a0:36:9f:8a:18:18 brd ff:ff:ff:ff:ff:ff 3: eth5: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master ovs-system state DOWN group default qlen 1000 link/ether a0:36:9f:8a:18:19 brd ff:ff:ff:ff:ff:ff 4: eth6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000 link/ether a0:36:9f:8a:18:1a brd ff:ff:ff:ff:ff:ff 5: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq master ovs-system state UP group default qlen 1000 link/ether e4:43:4b:c8:51:84 brd ff:ff:ff:ff:ff:ff 6: eth7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP group default qlen 1000 link/ether a0:36:9f:8a:18:1b brd ff:ff:ff:ff:ff:ff 7: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq master ovs-system state UP group default qlen 1000 link/ether e4:43:4b:c8:51:85 brd ff:ff:ff:ff:ff:ff 8: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master ovs-system state DOWN group default qlen 1000 link/ether e4:43:4b:c8:51:86 brd ff:ff:ff:ff:ff:ff 9: eth3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master ovs-system state DOWN group default qlen 1000 link/ether e4:43:4b:c8:51:87 brd ff:ff:ff:ff:ff:ff 10: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 1e:13:9f:39:76:f9 brd ff:ff:ff:ff:ff:ff 11: xenbr4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether a0:36:9f:8a:18:18 brd ff:ff:ff:ff:ff:ff 14: xenbr2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether e4:43:4b:c8:51:86 brd ff:ff:ff:ff:ff:ff 15: xenbr6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether a0:36:9f:8a:18:1a brd ff:ff:ff:ff:ff:ff 16: xenbr5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether a0:36:9f:8a:18:19 brd ff:ff:ff:ff:ff:ff 17: xenbr3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether e4:43:4b:c8:51:87 brd ff:ff:ff:ff:ff:ff 18: xenbr7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether a0:36:9f:8a:18:1b brd ff:ff:ff:ff:ff:ff inet 10.10.10.5/24 brd 10.10.10.255 scope global xenbr7 valid_lft forever preferred_lft forever 19: xenbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether e4:43:4b:c8:51:85 brd ff:ff:ff:ff:ff:ff inet 10.10.2.10/24 brd 10.10.2.255 scope global xenbr1 valid_lft forever preferred_lft forever 20: xenbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc noqueue state UNKNOWN group default qlen 1000 link/ether e4:43:4b:c8:51:84 brd ff:ff:ff:ff:ff:ff inet 10.10.1.10/24 brd 10.10.1.255 scope global xenbr0 valid_lft forever preferred_lft forever
Thank you again!
SW
-
@stevewest15 Hey dude, thanks for feeding back all that info. Is your new host part of a pool or is it a standalone host?
The fact that when you browse paths, you can see the 2 existing SR IDs means that NFS is working - at least to read the folder.
Let's ignore what ChatLLM said about the error - but it is a fair point. If the host is part of a pool, all physical networking needs to be identical across the hosts (for example, ETH0 is for LAN, ETH1 is for storage, etc.)Interesting point: I just tried to add an NFS storage to my homelab host (standalone), and I'm having the same problem on TrueNAS Scale - I create the NFS share, set the permissions correctly, but when I go to add it in XO, I also cannot see folders correctly and it won't let me add!
@olivierlambert - perhaps a bug in recent XO(A) updates? I deploy & update mine from source using the ronivay script, onto Ubuntu 22.04 LTS. Not sure when the potential bug has surfaced though, as I don't often try add new NFS storage at home...
-
I'm not aware of any change in the SR creation code since years
-
@TS79 Thanks for the help! This host is NOT part of a pool. It's a standalone host.
I'm so glad you are also getting the same issue!!! Man I've been trying to figure out this error/bug for the past seveal days. Like you, it was working at some point as my old hosts have no problem w/ the NFS share from FreeNAS.
I used the Jarli01 script to build the XOCE and keep it updated regularly. I was 3 commits behind but just updated to the latest commit and still have the same issue.
@olivierlambert Any ideas why I can't deploy XO? Not sure if the logs I provided above are helpful.
Please let me know if you wish me to provide you with any additional logs, etc.
Thank you both!
SW
-
@olivierlambert @TS79 I just rebooted the server, ran the XOCE update script, and tried adding the SR NFS to the new host and I was able to create the SR NFS!
I'm about to test it by installing a VM to confirm it's working properly!
-
@stevewest15 Just did the same (well, using the ronivay script to update) - still had the same error adding NFS storage to the host. Noticed the following oddities:
- I only typed in the IP address of the NFS server, then immediately selected the NFS version 4.1 before clicking anything else
- After hitting the "search" icon to the right of the NFS Server's IP address, the only Path option was /mnt
This is NOT expected, as in TrueNAS Scale, the NFS export is set to /mnt/datapool/NFS-XEN1
-
Clicking the "search" icon to the right of the Subdirectory field didn't show any results, so I entered the datapool/NFS-XEN1 manually
-
This kicked up an SR creation error
-
I then set the NFS version to 'Default' and clicked Create again - this kicked up a different error specifically saying that NFS version 3 failed
-
I changed back to NFS 4.1, clicked Create again, and this time it worked...
Very sporadic behaviour, and not a problem I've had until recently. Many previous months of testing with NFS have all added perfectly (once I had the TrueNAS permissions set correctly).
-
@TS79 It seems something is not stable w/ SR NFS creation. The strange thing is XOCE allowed the creation of the NFS Remote under Settings > Remotes but refused to create the SR NFS until I patched to latest build (I was 3 commits behind) and then rebooted the entire server.
I was hoping to test this via just XO to rule out if it's an issue w/ XOCE or not but I couldn't get the XO deploy script to work. But I'll have to tackle that issue another day.
I was able to install a VM using the SR NFS and will be running som Disk IO tests to see how stable the NFS connection.
Thank you again for your help and testing this on your home lab! Greatly appreciate it!
Best Regards,
SW
-
-
BR & SR are vastly different, and not mounted by the same machine (XO vs XCP-ng). Happy to see it works now.
-