"Error nfs glance mounting

Bug #1750377 reported by Madhu CR on 2018-02-19
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Madhu CR

Bug Description

TASK [os_glance : Glance mount nfs] ***************************************************************************************************
task path: /etc/ansible/roles/os_glance/tasks/glance_post_install.yml:82
Monday 19 February 2018 05:35:04 -0800 (0:00:00.987) 0:01:29.769 *******
container_name: "infra1_glance_container-aa13ae46"
physical_host: "infra1"
Container confirmed
Using module file /opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/modules/system/mount.py
container_name: "infra1_glance_container-aa13ae46"
physical_host: "infra1"
Container confirmed
<> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/793b0fde4a 'lxc-attach --clear-env --name infra1_glance_container-aa13ae46 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'/usr/bin/python && sleep 0'"'"'"'"'"'"'"'"''"'"''
<> (1, '\n{"msg": "Error mounting /var/lib/glance/images: mount.nfs: access denied by server while mounting\\n", "failed": true, "invocation": {"module_args": {"src": "", "name": "/var/lib/glance/images", "dump": null, "boot": "yes", "fstab": null, "passno": null, "fstype": "nfs", "state": "mounted", "path": "/var/lib/glance/images", "opts": "_netdev,auto"}}}\n', 'mesg: ttyname failed: Inappropriate ioctl for device\n')
failed: [infra1_glance_container-aa13ae46] (item={u'local_path': u'/var/lib/glance/images', u'type': u'nfs', u'options': u'_netdev,auto', u'remote_path': u'/images', u'server': u''}) => {
    "failed": true,
    "invocation": {
        "module_args": {
            "boot": "yes",
            "dump": null,
            "fstab": null,
            "fstype": "nfs",
            "name": "/var/lib/glance/images",
            "opts": "_netdev,auto",
            "passno": null,
            "path": "/var/lib/glance/images",
            "src": "",
            "state": "mounted"
    "item": {
        "local_path": "/var/lib/glance/images",
        "options": "_netdev,auto",
        "remote_path": "/images",
        "server": "",
        "type": "nfs"
    "msg": "Error mounting /var/lib/glance/images: mount.nfs: access denied by server while mounting\n"

Madhu CR (madhu.cr1) on 2018-02-19
Changed in glance:
assignee: nobody → Madhu CR (madhu.cr1)
status: New → In Progress
Kairat Kushaev (kkushaev) wrote :

seems thus bug is not related to glance. Are you using vagrant (https://github.com/chef/bento/issues/665)?

Changed in glance:
status: In Progress → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.