Hello,
after some further investigation I think I found the reason
but do not know how to fix it best. On my Fedora 19 host
sanlock is running as user sanlock (id 179). That user has
no access to files created by user vdsm (id 36). See logs
attached.
The node installation was done the standard way through
ovirt-engine 3.3. Maybe I missed some setp in the installation
process but I would expect this to work out of the box.
Can anyone tell me what the expected setup is. Should I file
a bug for that?
Markus
[root@colovn1 etc]# ps -ef | grep sanlock
sanlock 1125 1 0 10:19 ? 00:00:00 sanlock daemon -U sanlock -G
sanlock
root 1126 1125 0 10:19 ? 00:00:00 sanlock daemon -U sanlock -G
sanlock
root 1128 1 0 10:19 ? 00:00:00 wdmd -G sanlock
root 2307 1401 0 10:39 pts/0 00:00:00 grep --color=auto sanlock
strace -p 1125 -F
...
2094 mprotect(0x7fa020000000, 135168, PROT_READ|PROT_WRITE) = 0
2094
open("/rhev/data-center/mnt/10.10.30.251:_var_nas5_ovirt/4250f423-459c-40da-9a0e-d5b6fe853b1b/dom_md/ids",
O_RDWR|O_SYNC|O_DIRECT) = -1 EACCES (Permission denied)
2094 gettid() = 2094
...
[root@colovn1 etc]# cat /etc/sysconfig/sanlock
# SANLOCKOPTS -- set the command line options for the sanlock daemon
# See sanlock man page for full list of command line options.
#
# Include "-U sanlock -G sanlock" in the option string unless
# also changing the SANLOCKUSER above.
#
# To disable use of watchdog via wdmd
#SANLOCKOPTS="-U sanlock -G sanlock -w 0"
#
# To disable use of watchdog via wdmd and disable high priority features
#SANLOCKOPTS="-U sanlock -G sanlock -w 0 -h 0"
****************************************************************************
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.
Ãber das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
Vorstand:
Kadir Akin
Dr. Michael Höhnerbach
Vorsitzender des Aufsichtsrates:
Hans Kristian Langva
Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497
This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.
Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln
executive board:
Kadir Akin
Dr. Michael Höhnerbach
President of the supervisory board:
Hans Kristian Langva
Registry office: district court Cologne
Register number: HRB 52 497
****************************************************************************
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users