{"action":"closed","issue":{"url":"https://api.github.com/repos/openvstorage/alba-asdmanager/issues/142","repository_url":"https://api.github.com/repos/openvstorage/alba-asdmanager","labels_url":"https://api.github.com/repos/openvstorage/alba-asdmanager/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/openvstorage/alba-asdmanager/issues/142/comments","events_url":"https://api.github.com/repos/openvstorage/alba-asdmanager/issues/142/events","html_url":"https://github.com/openvstorage/alba-asdmanager/issues/142","id":186223734,"number":142,"title":"Initializing disk succeeded but add asds disagrees","user":{"login":"openvstorage-ci","id":13518736,"avatar_url":"https://avatars.githubusercontent.com/u/13518736?v=3","gravatar_id":"","url":"https://api.github.com/users/openvstorage-ci","html_url":"https://github.com/openvstorage-ci","followers_url":"https://api.github.com/users/openvstorage-ci/followers","following_url":"https://api.github.com/users/openvstorage-ci/following{/other_user}","gists_url":"https://api.github.com/users/openvstorage-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/openvstorage-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openvstorage-ci/subscriptions","organizations_url":"https://api.github.com/users/openvstorage-ci/orgs","repos_url":"https://api.github.com/users/openvstorage-ci/repos","events_url":"https://api.github.com/users/openvstorage-ci/events{/privacy}","received_events_url":"https://api.github.com/users/openvstorage-ci/received_events","type":"User","site_admin":false},"labels":[{"id":361393757,"url":"https://api.github.com/repos/openvstorage/alba-asdmanager/labels/state_verification","name":"state_verification","color":"c2e0c6","default":false},{"id":241443773,"url":"https://api.github.com/repos/openvstorage/alba-asdmanager/labels/type_bug","name":"type_bug","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/openvstorage/alba-asdmanager/milestones/2","html_url":"https://github.com/openvstorage/alba-asdmanager/milestones/Fargo%20RC1","labels_url":"https://api.github.com/repos/openvstorage/alba-asdmanager/milestones/2/labels","id":1837644,"number":2,"title":"Fargo RC1","description":"","creator":{"login":"wimpers","id":8392927,"avatar_url":"https://avatars.githubusercontent.com/u/8392927?v=3","gravatar_id":"","url":"https://api.github.com/users/wimpers","html_url":"https://github.com/wimpers","followers_url":"https://api.github.com/users/wimpers/followers","following_url":"https://api.github.com/users/wimpers/following{/other_user}","gists_url":"https://api.github.com/users/wimpers/gists{/gist_id}","starred_url":"https://api.github.com/users/wimpers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimpers/subscriptions","organizations_url":"https://api.github.com/users/wimpers/orgs","repos_url":"https://api.github.com/users/wimpers/repos","events_url":"https://api.github.com/users/wimpers/events{/privacy}","received_events_url":"https://api.github.com/users/wimpers/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":12,"state":"closed","created_at":"2016-06-20T08:58:35Z","updated_at":"2016-11-08T15:08:10Z","due_on":"2016-11-04T00:00:00Z","closed_at":"2016-11-07T08:52:05Z"},"comments":3,"created_at":"2016-10-31T07:51:30Z","updated_at":"2016-11-08T15:08:10Z","closed_at":"2016-11-08T15:08:10Z","body":"_From @kinvaris on October 27, 2016 8:19_\n\nAs seen on one of our CI environments: \n\n```\nOct 26 22:14:51 ovs-node01-1604 python[8011]: 2016-10-26 22:14:51 44300 +0200 - ovs-node01-1604 - 8011/140238963914496 - asd-manager/werkzeug - 11 - INFO - 10.100.199.171 - - [26/Oct/2016 22:14:51] \"GET /disks HTTP/1.1\" 200 -\nOct 26 22:14:51 ovs-node01-1604 celery[10732]: 2016-10-26 22:14:51 44500 +0200 - ovs-node01-1604 - 10780/140525619275520 - lib/albanode - 132 - DEBUG - Initializing disk ata-QEMU_HARDDISK_4fe53c0c-95f5-11e6-8 at node 10.100.199.171\nOct 26 22:14:51 ovs-node01-1604 python[8011]: 2016-10-26 22:14:51 46600 +0200 - ovs-node01-1604 - 8011/140238963914496 - asd-manager/api - 12 - INFO - Add disk /dev/disk/by-id/ata-QEMU_HARDDISK_4fe53c0c-95f5-11e6-8\nOct 26 22:14:51 ovs-node01-1604 python[8011]: 2016-10-26 22:14:51 46600 +0200 - ovs-node01-1604 - 8011/140238963914496 - asd-manager/disk - 13 - INFO - Preparing disk /dev/disk/by-id/ata-QEMU_HARDDISK_4fe53c0c-95f5-11e6-8\nOct 26 22:14:51 ovs-node01-1604 python[8011]: 2016-10-26 22:14:51 46700 +0200 - ovs-node01-1604 - 8011/140238963914496 - asd-manager/disk - 14 - INFO - Scanning controllers\nOct 26 22:14:51 ovs-node01-1604 python[8011]: 2016-10-26 22:14:51 47100 +0200 - ovs-node01-1604 - 8011/140238963914496 - asd-manager/disk - 15 - INFO - Scan complete\nOct 26 22:14:51 ovs-node01-1604 python[8011]: umount: /mnt/alba-asd/feuyAhc0f7Cz7YyD: mountpoint not found\nOct 26 22:14:51 ovs-node01-1604 kernel: [  877.236810]  sdf:\nOct 26 22:14:51 ovs-node01-1604 python[8011]: Warning: failed to translate partition name\nOct 26 22:14:51 ovs-node01-1604 kernel: [  877.287796]  sdf: sdf1\nOct 26 22:14:51 ovs-node01-1604 kernel: [  877.324085]  sdf: sdf1\nOct 26 22:14:51 ovs-node01-1604 kernel: [  877.438998] XFS (sdf1): Mounting V5 Filesystem\nOct 26 22:14:51 ovs-node01-1604 kernel: [  877.446928] XFS (sdf1): Ending clean mount\nOct 26 22:14:51 ovs-node01-1604 python[8011]: 2016-10-26 22:14:51 72500 +0200 - ovs-node01-1604 - 8011/140238963914496 - asd-manager/disk - 16 - INFO - Prepare disk /dev/disk/by-id/ata-QEMU_HARDDISK_4fe53c0c-95f5-11e6-8 complete\nOct 26 22:14:51 ovs-node01-1604 python[8011]: 2016-10-26 22:14:51 75100 +0200 - ovs-node01-1604 - 8011/140238963914496 - asd-manager/werkzeug - 17 - INFO - 10.100.199.171 - - [26/Oct/2016 22:14:51] \"POST /disks/ata-QEMU_HARDDISK_4fe53c0c-95f5-11e6-8/add HTTP/1.1\" 200 -\nOct 26 22:14:51 ovs-node01-1604 python[8011]: Traceback (most recent call last):\nOct 26 22:14:51 ovs-node01-1604 python[8011]:   File \"/opt/asd-manager/source/app/decorators.py\", line 73, in new_function\nOct 26 22:14:51 ovs-node01-1604 python[8011]:     return_data = f(*args, **kwargs)\nOct 26 22:14:51 ovs-node01-1604 python[8011]:   File \"/opt/asd-manager/source/app/api.py\", line 198, in add_asd_disk\nOct 26 22:14:51 ovs-node01-1604 python[8011]:     raise BadRequest('Disk {0} is not yet initialized'.format(disk_data['aliases'][0]))\nOct 26 22:14:51 ovs-node01-1604 python[8011]: BadRequest: Disk /dev/disk/by-id/ata-QEMU_HARDDISK_4fe53c0c-95f5-11e6-8 is not yet initialized\nOct 26 22:14:51 ovs-node01-1604 python[8011]: 2016-10-26 22:14:51.804842 - None\nOct 26 22:14:51 ovs-node01-1604 python[8011]: 2016-10-26 22:14:51 80600 +0200 - ovs-node01-1604 - 8011/140238963914496 - asd-manager/werkzeug - 18 - INFO - 10.100.199.171 - - [26/Oct/2016 22:14:51] \"POST /disks/ata-QEMU_HARDDISK_4fe53c0c-95f5-11e6-8/asds HTTP/1.1\" 400 -\nOct 26 22:14:51 ovs-node01-1604 celery[10732]: 2016-10-26 22:14:51 81300 +0200 - ovs-node01-1604 - 10732/140525619275520 - celery/celery.worker.job - 99 - ERROR - Task albanode.initialize_disk[e7e62b04-168d-49c1-afcc-c7d30f8e1845] raised unexpected: RuntimeError(u'Disk /dev/disk/by-id/ata-QEMU_HARDDISK_4fe53c0c-95f5-11e6-8 is not yet initialized',)\nOct 26 22:14:51 ovs-node01-1604 celery[10732]: Traceback (most recent call last):\nOct 26 22:14:51 ovs-node01-1604 celery[10732]:   File \"/usr/lib/python2.7/dist-packages/celery/app/trace.py\", line 240, in trace_task\nOct 26 22:14:51 ovs-node01-1604 celery[10732]:     R = retval = fun(*args, **kwargs)\nOct 26 22:14:51 ovs-node01-1604 celery[10732]:   File \"/usr/lib/python2.7/dist-packages/celery/app/trace.py\", line 438, in __protected_call__\nOct 26 22:14:51 ovs-node01-1604 celery[10732]:     return self.run(*args, **kwargs)\nOct 26 22:14:51 ovs-node01-1604 celery[10732]:   File \"/opt/OpenvStorage/ovs/lib/albanodecontroller.py\", line 165, in initialize_disks\nOct 26 22:14:51 ovs-node01-1604 celery[10732]:     add_asd_result = node.client.add_asd(disk_id=device_id)\nOct 26 22:14:51 ovs-node01-1604 celery[10732]:   File \"/opt/OpenvStorage/ovs/extensions/plugins/asdmanager.py\", line 175, in add_asd\nOct 26 22:14:51 ovs-node01-1604 celery[10732]:     return self._call(requests.post, 'disks/{0}/asds'.format(disk_id), timeout=30)\nOct 26 22:14:51 ovs-node01-1604 celery[10732]:   File \"/opt/OpenvStorage/ovs/extensions/plugins/asdmanager.py\", line 97, in _call\nOct 26 22:14:51 ovs-node01-1604 celery[10732]:     raise RuntimeError(error_message)\nOct 26 22:14:51 ovs-node01-1604 celery[10732]: RuntimeError: Disk /dev/disk/by-id/ata-QEMU_HARDDISK_4fe53c0c-95f5-11e6-8 is not yet initialized\n```\n\n\n_Copied from original issue: openvstorage/framework-alba-plugin#253_"}}
{"actor":{"display_login":"kinvaris"}}