Comment 34 for bug 1896617

Revision history for this message
Vladimir Grevtsev (vlgrevtsev) wrote :

However, the above has broken the new instance creation:

$ os server show demo-http -f yaml
OS-DCF:diskConfig: MANUAL
OS-EXT-AZ:availability_zone: ''
OS-EXT-SRV-ATTR:host: null
OS-EXT-SRV-ATTR:hypervisor_hostname: null
OS-EXT-SRV-ATTR:instance_name: instance-000002d8
OS-EXT-STS:power_state: NOSTATE
OS-EXT-STS:task_state: null
OS-EXT-STS:vm_state: error
OS-SRV-USG:launched_at: null
OS-SRV-USG:terminated_at: null
accessIPv4: ''
accessIPv6: ''
addresses: ''
config_drive: ''
created: '2020-09-24T22:14:20Z'
fault:
  code: 500
  created: '2020-09-24T22:14:48Z'
  details: "Traceback (most recent call last):\n File \"/usr/lib/python3/dist-packages/nova/conductor/manager.py\"\
    , line 652, in build_instances\n filter_properties, instances[0].uuid)\n File\
    \ \"/usr/lib/python3/dist-packages/nova/scheduler/utils.py\", line 919, in populate_retry\n\
    \ raise exception.MaxRetriesExceeded(reason=msg)\nnova.exception.MaxRetriesExceeded:\
    \ Exceeded maximum number of retries. Exceeded max scheduling attempts 3 for instance\
    \ 711291b9-19fc-4e84-bc3e-423eda042630. Last exception: Cannot access storage\
    \ file '/var/lib/nova/instances/711291b9-19fc-4e84-bc3e-423eda042630/disk' (as\
    \ uid:64055, gid:117): Permission denied\n"
  message: 'Exceeded maximum number of retries. Exceeded max scheduling attempts 3
    for instance 711291b9-19fc-4e84-bc3e-423eda042630. Last exception: Cannot access
    storage file ''/var/lib/nova/instances/711291b9-19fc-4e84-bc3e-423eda042630/disk''
    (as uid:64055, gid:117'
flavor: m1.medium (3)
hostId: ''
id: 711291b9-19fc-4e84-bc3e-423eda042630
image: bionic-kvm (63727d33-4312-4c22-843e-2f5dfe4cb24c)
key_name: ubuntu-keypair
name: demo-http
project_id: 491dec5fd31d45108bd5fb8bb1486ffe
properties: ''
status: ERROR
updated: '2020-09-24T22:14:48Z'
user_id: 8170a7c8b627431eb37444dc504f84cb
volumes_attached: ''