[ovirt-users] Re: "Add NFS storage domain", "status": "FAILED",

2020-09-10 Thread Strahil Nikolov via Users
Failed to resolve is pretty obvious:

- typo in the NFS host name
- DNS issue

You can test by adding an entry for the NFS host in /etc/hosts.

Best Regards,
Strahil Nikolov






В четвъртък, 10 септември 2020 г., 19:34:33 Гринуич+3,  
написа: 





MainProcess|jsonrpc/4::DEBUG::2020-09-10 
18:14:39,299::commands::211::root::(execCmd) /usr/bin/taskset --cpu-list 0-7 
/usr/bin/mount -t nfs -o soft,nosharecache,timeo=100,retrans=3,nolock 
storage.world.co.za:/export/nfs/data 
/rhev/data-center/mnt/storage.world.co.za:_export_nfs_data (cwd None)
MainProcess|jsonrpc/4::DEBUG::2020-09-10 
18:14:39,310::commands::224::root::(execCmd) FAILED:  = b'mount.nfs: 
Failed to resolve server storage.world.co.za: Name or service not known\n'; 
 = 32
MainProcess|jsonrpc/4::ERROR::2020-09-10 
18:14:39,310::supervdsm_server::97::SuperVdsm.ServerCallback::(wrapper) Error 
in mount
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/vdsm/supervdsm_server.py", line 95, in 
wrapper
    res = func(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/vdsm/supervdsm_server.py", line 133, 
in mount
    cgroup=cgroup)
  File "/usr/lib/python3.6/site-packages/vdsm/storage/mount.py", line 280, in 
_mount
    _runcmd(cmd)
  File "/usr/lib/python3.6/site-packages/vdsm/storage/mount.py", line 308, in 
_runcmd
    raise MountError(cmd, rc, out, err)
vdsm.storage.mount.MountError: Command ['/usr/bin/mount', '-t', 'nfs', '-o', 
'soft,nosharecache,timeo=100,retrans=3,nolock', 
'storage.world.co.za:/export/nfs/data', 
'/rhev/data-center/mnt/storage.world.co.za:_export_nfs_data'] failed with rc=32 
out=b'' err=b'mount.nfs: Failed to resolve server storage.world.co.za: Name or 
service not known\n'

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4B45SKR2TO26EPXPOVPC4RT6RJXDM7UQ/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives:


[ovirt-users] Re: "Add NFS storage domain", "status": "FAILED",

2020-09-10 Thread Edward Berger
It would seem your host can't resolve the ip address for the server FQDN
listed for the NFS server.
You should fix the DNS problem or try mounting via ip address once you're
sure that it is reachable from the server.


On Thu, Sep 10, 2020 at 12:33 PM  wrote:

> MainProcess|jsonrpc/4::DEBUG::2020-09-10
> 18:14:39,299::commands::211::root::(execCmd) /usr/bin/taskset --cpu-list
> 0-7 /usr/bin/mount -t nfs -o soft,nosharecache,timeo=100,retrans=3,nolock
> storage.world.co.za:/export/nfs/data
> /rhev/data-center/mnt/storage.world.co.za:_export_nfs_data (cwd None)
> MainProcess|jsonrpc/4::DEBUG::2020-09-10
> 18:14:39,310::commands::224::root::(execCmd) FAILED:  = b'mount.nfs:
> Failed to resolve server storage.world.co.za: Name or service not
> known\n';  = 32
> MainProcess|jsonrpc/4::ERROR::2020-09-10
> 18:14:39,310::supervdsm_server::97::SuperVdsm.ServerCallback::(wrapper)
> Error in mount
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/site-packages/vdsm/supervdsm_server.py", line
> 95, in wrapper
> res = func(*args, **kwargs)
>   File "/usr/lib/python3.6/site-packages/vdsm/supervdsm_server.py", line
> 133, in mount
> cgroup=cgroup)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/mount.py", line 280,
> in _mount
> _runcmd(cmd)
>   File "/usr/lib/python3.6/site-packages/vdsm/storage/mount.py", line 308,
> in _runcmd
> raise MountError(cmd, rc, out, err)
> vdsm.storage.mount.MountError: Command ['/usr/bin/mount', '-t', 'nfs',
> '-o', 'soft,nosharecache,timeo=100,retrans=3,nolock', 
> 'storage.world.co.za:/export/nfs/data',
> '/rhev/data-center/mnt/storage.world.co.za:_export_nfs_data'] failed with
> rc=32 out=b'' err=b'mount.nfs: Failed to resolve server
> storage.world.co.za: Name or service not known\n'
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/4B45SKR2TO26EPXPOVPC4RT6RJXDM7UQ/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives:


[ovirt-users] Re: "Add NFS storage domain", "status": "FAILED",

2020-09-10 Thread Strahil Nikolov via Users
Ssh to the host that failed to mount and then:
mount -t nfs :/ /mnt

To verify the mount:
findmnt /mnt

Usually it is recommended to set the NFS with anonguid and anonuid to '36'  and 
also use 'all_squash'. This will prevent a lot of issues.

Best Regards,
Strahil Nikolov





В четвъртък, 10 септември 2020 г., 11:06:36 Гринуич+3, i...@worldhostess.com 
 написа: 





No i did not try to mount it, to be honest, I am not sure how to mount it

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZZN67JCOPULJ4ZDNYKB7RL56H4COKDYH/
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives:


[ovirt-users] Re: "Add NFS storage domain", "status": "FAILED",

2020-09-10 Thread info
MainProcess|jsonrpc/4::DEBUG::2020-09-10 
18:14:39,299::commands::211::root::(execCmd) /usr/bin/taskset --cpu-list 0-7 
/usr/bin/mount -t nfs -o soft,nosharecache,timeo=100,retrans=3,nolock 
storage.world.co.za:/export/nfs/data 
/rhev/data-center/mnt/storage.world.co.za:_export_nfs_data (cwd None)
MainProcess|jsonrpc/4::DEBUG::2020-09-10 
18:14:39,310::commands::224::root::(execCmd) FAILED:  = b'mount.nfs: 
Failed to resolve server storage.world.co.za: Name or service not known\n'; 
 = 32
MainProcess|jsonrpc/4::ERROR::2020-09-10 
18:14:39,310::supervdsm_server::97::SuperVdsm.ServerCallback::(wrapper) Error 
in mount
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/vdsm/supervdsm_server.py", line 95, in 
wrapper
res = func(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/vdsm/supervdsm_server.py", line 133, 
in mount
cgroup=cgroup)
  File "/usr/lib/python3.6/site-packages/vdsm/storage/mount.py", line 280, in 
_mount
_runcmd(cmd)
  File "/usr/lib/python3.6/site-packages/vdsm/storage/mount.py", line 308, in 
_runcmd
raise MountError(cmd, rc, out, err)
vdsm.storage.mount.MountError: Command ['/usr/bin/mount', '-t', 'nfs', '-o', 
'soft,nosharecache,timeo=100,retrans=3,nolock', 
'storage.world.co.za:/export/nfs/data', 
'/rhev/data-center/mnt/storage.world.co.za:_export_nfs_data'] failed with rc=32 
out=b'' err=b'mount.nfs: Failed to resolve server storage.world.co.za: Name or 
service not known\n'
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4B45SKR2TO26EPXPOVPC4RT6RJXDM7UQ/


[ovirt-users] Re: "Add NFS storage domain", "status": "FAILED",

2020-09-10 Thread info
No i did not try to mount it, to be honest, I am not sure how to mount it
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZZN67JCOPULJ4ZDNYKB7RL56H4COKDYH/


[ovirt-users] Re: "Add NFS storage domain", "status": "FAILED",

2020-09-09 Thread Strahil Nikolov via Users
>Failed\". Fault detail is \"[Problem while trying to mount target]\". HTTP
>response code is 400.\n",
>                "nfs": {
>                    "address": "storage01.worldhostess.co.za",
>                    "mount_options": null,
>                    "path": "/data/nfs",
>
                    "version": "auto"
Have you tried to mount it manually ?

Best Regards,
Strahil Nikolov
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HTILVNXPVDHWZU4ROQWKOMSS5NHX2JR2/


[ovirt-users] Re: "Add NFS storage domain", "status": "FAILED",

2020-09-08 Thread Yedidyah Bar David
On Tue, Sep 8, 2020 at 10:39 AM  wrote:
>
> I am new to oVirt and this is my first installation
> “https://ovirt.org/documentation/installing_ovirt_as_a_self-hosted_engine_us
> ing_the_cockpit_web_interface/”
>
> Everything seems fine, but then when I tried step 5, "Hosted Engine
> Deployment" it keep giving me this error. This information might be too
> much, but I am not familiar to know what is important.
>
> 2020-09-08 06:53:58,991+0200 DEBUG var changed: host "localhost" var
> "datacenter_name" type " 'ansible.utils.unsafe_proxy.AnsibleUnsafeText'>" value: ""Default""
> 2020-09-08 06:53:58,991+0200 INFO ansible ok {'status': 'OK',
> 'ansible_type': 'task', 'ansible_playbook':
> '/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
> 'ansible_host': 'localhost', 'ansible_task': 'Fetch Datacenter name',
> 'task_duration': 0}
> 2020-09-08 06:53:58,991+0200 DEBUG ansible on_any args
>  kwargs
> 2020-09-08 06:53:59,242+0200 INFO ansible task start {'status': 'OK',
> 'ansible_type': 'task', 'ansible_playbook':
> '/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml',
> 'ansible_task': 'ovirt.hosted_engine_setup : Add NFS storage domain'}
> 2020-09-08 06:53:59,242+0200 DEBUG ansible on_any args TASK:
> ovirt.hosted_engine_setup : Add NFS storage domain kwargs
> is_conditional:False
> 2020-09-08 06:53:59,242+0200 DEBUG ansible on_any args localhostTASK:
> ovirt.hosted_engine_setup : Add NFS storage domain kwargs
> 2020-09-08 06:56:04,962+0200 DEBUG var changed: host "localhost" var
> "ansible_play_hosts" type "" value: "[]"
> 2020-09-08 06:56:04,963+0200 DEBUG var changed: host "localhost" var
> "ansible_play_batch" type "" value: "[]"
> 2020-09-08 06:56:04,963+0200 DEBUG var changed: host "localhost" var
> "play_hosts" type "" value: "[]"
> 2020-09-08 06:56:04,963+0200 ERROR ansible failed {
> "ansible_host": "localhost",
> "ansible_playbook":
> "/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
> "ansible_result": {
> "_ansible_no_log": false,
> "changed": false,
> "exception": "Traceback (most recent call last):\n  File
> \"/tmp/ansible_ovirt_storage_domain_payload_ir_v98cz/ansible_ovirt_storage_d
> omain_payload.zip/ansible/modules/cloud/ovirt/ovirt_storage_domain.py\",
> line 792, in main\n  File
> \"/tmp/ansible_ovirt_storage_domain_payload_ir_v98cz/ansible_ovirt_storage_d
> omain_payload.zip/ansible/module_utils/ovirt.py\", line 623, in create\n
> **kwargs\n  File
> \"/usr/lib64/python3.6/site-packages/ovirtsdk4/services.py\", line 26097, in
> add\nreturn self._internal_add(storage_domain, headers, query, wait)\n
> File \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 232,
> in _internal_add\nreturn future.wait() if wait else future\n  File
> \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 55, in
> wait\nreturn self._code(response)\n  File
> \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 229, in
> callback\nself._check_fault(response)\n  File
> \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 132, in
> _check_fault\nself._raise_error(response, body)\n  File
> \"/usr/lib64/python3.6/site-packages/ovirtsdk4/service.py\", line 118, in
> _raise_error\nraise error\novirtsdk4.Error: Fault reason is \"Operation
> Failed\". Fault detail is \"[Problem while trying to mount target]\". HTTP
> response code is 400.\n",

This means that the host failed to mount the storage.
Please check/share this log, on the host, to try and see why:

/var/log/vdsm/supervdsm.log

Best regards,

> "invocation": {
> "module_args": {
> "backup": null,
> "comment": null,
> "critical_space_action_blocker": null,
> "data_center": "Default",
> "description": null,
> "destroy": null,
> "discard_after_delete": null,
> "domain_function": "data",
> "fcp": null,
> "fetch_nested": false,
> "format": null,
> "glusterfs": null,
> "host": "host.worldhostess.co.za",
> "id": null,
> "iscsi": null,
> "localfs": null,
> "managed_block_storage": null,
> "name": "hosted_storage",
> "nested_attributes": [],
> "nfs": {
> "address": "storage01.worldhostess.co.za",
> "mount_options": null,
> "path": "/data/nfs",
> "version": "auto"
> },
> "poll_interval": 3,
> "posixfs": null,
> "state": "unattached",
> "timeout": 180,
> "wait": true,
> "warning_low_space": null,
> "wipe_after_delete": null
> }
> },
> "msg": "Fault reason is