Activity log for bug #1503411

Date Who What changed Old value New value Message
2015-10-06 19:46:53 Jacob Wagner bug added bug
2015-10-06 19:47:51 Jacob Wagner description When using glance_nfs_client config, the nfs store will fail to mount to the local_path variable if it is equal to "/var/lib/glance/images". TASK: [os_glance | Create nfs shares local path] ****************************** ok: [568575-infra01_glance_container-abedf963] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) ok: [569038-infra03_glance_container-b53f1ebd] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) ok: [569037-infra02_glance_container-a7d423c5] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) TASK: [os_glance | Glance mount nfs] ****************************************** failed: [568575-infra01_glance_container-abedf963] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) => {"failed": true, "item": {"local_path": "/var/lib/glance/images", "options": "_netdev,auto", "remote_path": "/glancefs0/", "server": "172.29.244.24", "type": "nfs"}} msg: Error mounting /var/lib/glance/images: failed: [569037-infra02_glance_container-a7d423c5] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) => {"failed": true, "item": {"local_path": "/var/lib/glance/images", "options": "_netdev,auto", "remote_path": "/glancefs0/", "server": "172.29.244.24", "type": "nfs"}} msg: Error mounting /var/lib/glance/images: failed: [569038-infra03_glance_container-b53f1ebd] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) => {"failed": true, "item": {"local_path": "/var/lib/glance/images", "options": "_netdev,auto", "remote_path": "/glancefs0/", "server": "172.29.244.24", "type": "nfs"}} msg: Error mounting /var/lib/glance/images: FATAL: all hosts have already failed -- aborting PLAY RECAP ******************************************************************** to retry, use: --limit @/root/os-glance-install.retry 568575-infra01_glance_container-abedf963 : ok=40 changed=29 unreachable=0 failed=1 569037-infra02_glance_container-a7d423c5 : ok=40 changed=29 unreachable=0 failed=1 569038-infra03_glance_container-b53f1ebd : ok=40 changed=28 unreachable=0 failed=1 I believe this is due to the fact that when the glance_store user_variable is set to file, "/var/lib/glance/images" is bind mounted to the physical host before the nfs task is run, causing the mount issue. lxc.mount.entry = /openstack/568575-infra01_glance_container-abedf963 var/lib/glance/images none bind 0 0 If you set the local_path variable to any other point, the plays fail, but the cinder-api.conf still has /var/lib/glance/images as the datadir for glance images. glance_nfs_client: - server: "172.29.244.24" ## Hostname or IP address of NFS Server remote_path: "/glancefs0/" ## Remote path from the NFS server's export local_path: "/var/lib/glance/nfs_images" ## Local path on machine type: "nfs" ## This can be nfs or nfs4 options: "_netdev,auto" ## Mount options TASK: [os_glance | Create nfs shares local path] ****************************** changed: [568575-infra01_glance_container-abedf963] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) changed: [569038-infra03_glance_container-b53f1ebd] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) changed: [569037-infra02_glance_container-a7d423c5] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) TASK: [os_glance | Glance mount nfs] ****************************************** changed: [568575-infra01_glance_container-abedf963] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) changed: [569037-infra02_glance_container-a7d423c5] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) changed: [569038-infra03_glance_container-b53f1ebd] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) [glance_store] default_store = file stores = glance.store.filesystem.Store,glance.store.http.Store,glance.store.cinder.Store filesystem_store_datadir = /var/lib/glance/images/ When using glance_nfs_client config, the nfs store will fail to mount to the local_path variable if it is equal to "/var/lib/glance/images". TASK: [os_glance | Create nfs shares local path] ****************************** ok: [568575-infra01_glance_container-abedf963] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) ok: [569038-infra03_glance_container-b53f1ebd] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) ok: [569037-infra02_glance_container-a7d423c5] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) TASK: [os_glance | Glance mount nfs] ****************************************** failed: [568575-infra01_glance_container-abedf963] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) => {"failed": true, "item": {"local_path": "/var/lib/glance/images", "options": "_netdev,auto", "remote_path": "/glancefs0/", "server": "172.29.244.24", "type": "nfs"}} msg: Error mounting /var/lib/glance/images: failed: [569037-infra02_glance_container-a7d423c5] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) => {"failed": true, "item": {"local_path": "/var/lib/glance/images", "options": "_netdev,auto", "remote_path": "/glancefs0/", "server": "172.29.244.24", "type": "nfs"}} msg: Error mounting /var/lib/glance/images: failed: [569038-infra03_glance_container-b53f1ebd] => (item={'local_path': '/var/lib/glance/images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) => {"failed": true, "item": {"local_path": "/var/lib/glance/images", "options": "_netdev,auto", "remote_path": "/glancefs0/", "server": "172.29.244.24", "type": "nfs"}} msg: Error mounting /var/lib/glance/images: FATAL: all hosts have already failed -- aborting PLAY RECAP ********************************************************************            to retry, use: --limit @/root/os-glance-install.retry 568575-infra01_glance_container-abedf963 : ok=40 changed=29 unreachable=0 failed=1 569037-infra02_glance_container-a7d423c5 : ok=40 changed=29 unreachable=0 failed=1 569038-infra03_glance_container-b53f1ebd : ok=40 changed=28 unreachable=0 failed=1 I believe this is due to the fact that when the glance_store user_variable is set to file, "/var/lib/glance/images" is bind mounted to the physical host before the nfs task is run, causing the mount issue. lxc.mount.entry = /openstack/568575-infra01_glance_container-abedf963 var/lib/glance/images none bind 0 0 If you set the local_path variable to any other point, the plays pass, but the cinder-api.conf still has /var/lib/glance/images as the datadir for glance images. glance_nfs_client:   - server: "172.29.244.24" ## Hostname or IP address of NFS Server     remote_path: "/glancefs0/" ## Remote path from the NFS server's export     local_path: "/var/lib/glance/nfs_images" ## Local path on machine     type: "nfs" ## This can be nfs or nfs4     options: "_netdev,auto" ## Mount options TASK: [os_glance | Create nfs shares local path] ****************************** changed: [568575-infra01_glance_container-abedf963] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) changed: [569038-infra03_glance_container-b53f1ebd] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) changed: [569037-infra02_glance_container-a7d423c5] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) TASK: [os_glance | Glance mount nfs] ****************************************** changed: [568575-infra01_glance_container-abedf963] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) changed: [569037-infra02_glance_container-a7d423c5] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) changed: [569038-infra03_glance_container-b53f1ebd] => (item={'local_path': '/var/lib/glance/nfs_images', 'type': 'nfs', 'options': '_netdev,auto', 'remote_path': '/glancefs0/', 'server': '172.29.244.24'}) [glance_store] default_store = file stores = glance.store.filesystem.Store,glance.store.http.Store,glance.store.cinder.Store filesystem_store_datadir = /var/lib/glance/images/
2015-10-06 20:00:14 phil williams bug added subscriber philip williams
2015-10-13 16:30:59 Jesse Pretorius openstack-ansible: assignee Andy McCrae (andrew-mccrae)
2015-10-13 16:31:37 Jesse Pretorius openstack-ansible: status New Confirmed
2015-10-13 16:32:57 Jesse Pretorius openstack-ansible: importance Undecided Medium
2015-10-13 16:33:05 Jesse Pretorius nominated for series openstack-ansible/trunk
2015-10-13 16:33:05 Jesse Pretorius bug task added openstack-ansible/trunk
2015-10-13 16:33:05 Jesse Pretorius nominated for series openstack-ansible/kilo
2015-10-13 16:33:05 Jesse Pretorius bug task added openstack-ansible/kilo
2015-10-13 16:33:10 Jesse Pretorius openstack-ansible/trunk: milestone 12.1.0
2015-10-13 16:33:14 Jesse Pretorius openstack-ansible/kilo: milestone 11.3.0
2015-10-13 16:33:21 Jesse Pretorius openstack-ansible/kilo: assignee Andy McCrae (andrew-mccrae)
2015-10-13 16:33:23 Jesse Pretorius openstack-ansible/kilo: importance Undecided Medium
2015-10-13 16:33:25 Jesse Pretorius openstack-ansible/kilo: status New Confirmed
2015-10-19 15:52:26 OpenStack Infra openstack-ansible: status Confirmed In Progress
2015-10-19 17:38:58 Jesse Pretorius openstack-ansible/trunk: milestone 12.1.0 12.0.0
2015-10-19 18:56:04 OpenStack Infra openstack-ansible: status In Progress Fix Committed
2015-10-20 14:08:41 OpenStack Infra openstack-ansible/kilo: status Confirmed Fix Committed
2015-10-20 17:16:29 Jesse Pretorius openstack-ansible/kilo: milestone 11.3.0 11.2.4
2015-10-21 06:56:22 Jesse Pretorius openstack-ansible/kilo: status Fix Committed Fix Released
2015-10-23 22:48:20 Jesse Pretorius openstack-ansible/trunk: status Fix Committed Fix Released