[jira] [Commented] (CLOUDSTACK-6443) [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: VirtualMachine instance has no attribute 'hostid'
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980138#comment-13980138 ] Chandan Purushothama commented on CLOUDSTACK-6443: -- Unassigned Talluri since these test cases worked earlier. I got a confirmation on it. Engineering should fix this bug in the the product > [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: > VirtualMachine instance has no attribute 'hostid' > --- > > Key: CLOUDSTACK-6443 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6443 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation, IAM >Affects Versions: 4.4.0 >Reporter: Chandan Purushothama >Assignee: Srikanteswararao Talluri >Priority: Blocker > Fix For: 4.4.0 > > > Two Test Cases Failed: > test_07_resize_fail > test_08_resize_volume > *Error Message1*: > VirtualMachine instance has no attribute 'hostid' > >> begin captured logging << > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > STARTED : TC: test_07_resize_fail ::: > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Fail > Resize Volume ID: b5521198-97f1-4f2c-afea-fcadf70d4249 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': > u'9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca', 'id': 'invalid id'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: bCeC5im5Fgxi23vWk4lBzKbQm7A= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > HTTP/1.1" 431 330 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter id > value=invalid id due to incorrect long value format, or entity does not exist > or due to incorrect parameter annotation for the field in api cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': 'invalid id', 'id': > u'b5521198-97f1-4f2c-afea-fcadf70d4249'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: DbNaHKDzesuJcTU1thWGQg88UPk= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > HTTP/1.1" 431 342 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter > diskofferingid value=invalid id due to incorrect long value format, or entity > does not exist or due to incorrect parameter annotation for the field in api > cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: listVolumes {'virtualmachineid': > u'bca5f583-139f-46e4-87d5-09fb5adac313', 'type': 'ROOT', 'listall': True} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: f1JO1y9Ye2m1qw3+QCZu9+B8zRo= > requests.packages
[jira] [Commented] (CLOUDSTACK-6443) [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: VirtualMachine instance has no attribute 'hostid'
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985758#comment-13985758 ] Prachi Damle commented on CLOUDSTACK-6443: -- Part of the error seems due to 'hostId' not set in response. However following error is not related to IAM: "errortext":"Can only resize Data volumes via new disk offering > [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: > VirtualMachine instance has no attribute 'hostid' > --- > > Key: CLOUDSTACK-6443 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6443 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation, IAM >Affects Versions: 4.4.0 >Reporter: Chandan Purushothama >Assignee: Prachi Damle >Priority: Blocker > Fix For: 4.4.0 > > > Two Test Cases Failed: > test_07_resize_fail > test_08_resize_volume > *Error Message1*: > VirtualMachine instance has no attribute 'hostid' > >> begin captured logging << > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > STARTED : TC: test_07_resize_fail ::: > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Fail > Resize Volume ID: b5521198-97f1-4f2c-afea-fcadf70d4249 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': > u'9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca', 'id': 'invalid id'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: bCeC5im5Fgxi23vWk4lBzKbQm7A= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > HTTP/1.1" 431 330 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter id > value=invalid id due to incorrect long value format, or entity does not exist > or due to incorrect parameter annotation for the field in api cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': 'invalid id', 'id': > u'b5521198-97f1-4f2c-afea-fcadf70d4249'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: DbNaHKDzesuJcTU1thWGQg88UPk= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > HTTP/1.1" 431 342 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter > diskofferingid value=invalid id due to incorrect long value format, or entity > does not exist or due to incorrect parameter annotation for the field in api > cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: listVolumes {'virtualmachineid': > u'bca5f583-139f-46e4-87d5-09fb5adac313', 'type': 'ROOT', 'listall': True} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: f1JO1y9Ye2m1qw3+QCZu9+B8zRo= > requests.p
[jira] [Commented] (CLOUDSTACK-6443) [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: VirtualMachine instance has no attribute 'hostid'
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986777#comment-13986777 ] ASF subversion and git services commented on CLOUDSTACK-6443: - Commit ef2616bfda1b37887312a93068937f5ecfaa36b4 in cloudstack's branch refs/heads/4.4-forward from [~minchen07] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ef2616b ] CLOUDSTACK-6443: [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: VirtualMachine instance has no attribute 'hostid'. > [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: > VirtualMachine instance has no attribute 'hostid' > --- > > Key: CLOUDSTACK-6443 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6443 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation, IAM >Affects Versions: 4.4.0 >Reporter: Chandan Purushothama >Assignee: Min Chen >Priority: Blocker > Fix For: 4.4.0 > > > Two Test Cases Failed: > test_07_resize_fail > test_08_resize_volume > *Error Message1*: > VirtualMachine instance has no attribute 'hostid' > >> begin captured logging << > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > STARTED : TC: test_07_resize_fail ::: > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Fail > Resize Volume ID: b5521198-97f1-4f2c-afea-fcadf70d4249 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': > u'9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca', 'id': 'invalid id'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: bCeC5im5Fgxi23vWk4lBzKbQm7A= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > HTTP/1.1" 431 330 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter id > value=invalid id due to incorrect long value format, or entity does not exist > or due to incorrect parameter annotation for the field in api cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': 'invalid id', 'id': > u'b5521198-97f1-4f2c-afea-fcadf70d4249'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: DbNaHKDzesuJcTU1thWGQg88UPk= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > HTTP/1.1" 431 342 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter > diskofferingid value=invalid id due to incorrect long value format, or entity > does not exist or due to incorrect parameter annotation for the field in api > cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: listVolumes {'virtualmachineid': > u'bca5f583-139f-46e4-87d5-09fb5adac
[jira] [Commented] (CLOUDSTACK-6443) [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: VirtualMachine instance has no attribute 'hostid'
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13986789#comment-13986789 ] Min Chen commented on CLOUDSTACK-6443: -- DeployVMCmd invoked by admin user should return a UserVmResponse with FULL response view. > [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: > VirtualMachine instance has no attribute 'hostid' > --- > > Key: CLOUDSTACK-6443 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6443 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation, IAM >Affects Versions: 4.4.0 >Reporter: Chandan Purushothama >Assignee: Min Chen >Priority: Blocker > Fix For: 4.4.0 > > > Two Test Cases Failed: > test_07_resize_fail > test_08_resize_volume > *Error Message1*: > VirtualMachine instance has no attribute 'hostid' > >> begin captured logging << > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > STARTED : TC: test_07_resize_fail ::: > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Fail > Resize Volume ID: b5521198-97f1-4f2c-afea-fcadf70d4249 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': > u'9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca', 'id': 'invalid id'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: bCeC5im5Fgxi23vWk4lBzKbQm7A= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > HTTP/1.1" 431 330 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter id > value=invalid id due to incorrect long value format, or entity does not exist > or due to incorrect parameter annotation for the field in api cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': 'invalid id', 'id': > u'b5521198-97f1-4f2c-afea-fcadf70d4249'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: DbNaHKDzesuJcTU1thWGQg88UPk= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > HTTP/1.1" 431 342 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter > diskofferingid value=invalid id due to incorrect long value format, or entity > does not exist or due to incorrect parameter annotation for the field in api > cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: listVolumes {'virtualmachineid': > u'bca5f583-139f-46e4-87d5-09fb5adac313', 'type': 'ROOT', 'listall': True} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: f1JO1y9Ye2m1qw3+QCZu9+B8zRo= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > re
[jira] [Commented] (CLOUDSTACK-6443) [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: VirtualMachine instance has no attribute 'hostid'
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987139#comment-13987139 ] ASF subversion and git services commented on CLOUDSTACK-6443: - Commit 09c9f8dfbd6a18fbb4672d7ff8bd651c110b0cb7 in cloudstack's branch refs/heads/master from [~minchen07] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=09c9f8d ] CLOUDSTACK-6443: [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: VirtualMachine instance has no attribute 'hostid'. > [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: > VirtualMachine instance has no attribute 'hostid' > --- > > Key: CLOUDSTACK-6443 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6443 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation, IAM >Affects Versions: 4.4.0 >Reporter: Chandan Purushothama >Assignee: Min Chen >Priority: Blocker > Fix For: 4.4.0 > > > Two Test Cases Failed: > test_07_resize_fail > test_08_resize_volume > *Error Message1*: > VirtualMachine instance has no attribute 'hostid' > >> begin captured logging << > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > STARTED : TC: test_07_resize_fail ::: > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Fail > Resize Volume ID: b5521198-97f1-4f2c-afea-fcadf70d4249 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': > u'9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca', 'id': 'invalid id'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: bCeC5im5Fgxi23vWk4lBzKbQm7A= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > HTTP/1.1" 431 330 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter id > value=invalid id due to incorrect long value format, or entity does not exist > or due to incorrect parameter annotation for the field in api cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': 'invalid id', 'id': > u'b5521198-97f1-4f2c-afea-fcadf70d4249'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: DbNaHKDzesuJcTU1thWGQg88UPk= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > HTTP/1.1" 431 342 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter > diskofferingid value=invalid id due to incorrect long value format, or entity > does not exist or due to incorrect parameter annotation for the field in api > cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: listVolumes {'virtualmachineid': > u'bca5f583-139f-46e4-87d5-09fb5adac313'
[jira] [Commented] (CLOUDSTACK-6443) [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: VirtualMachine instance has no attribute 'hostid'
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13987891#comment-13987891 ] ASF subversion and git services commented on CLOUDSTACK-6443: - Commit 5132264309c91730debead4ef91c332991584642 in cloudstack's branch refs/heads/4.4 from [~minchen07] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5132264 ] CLOUDSTACK-6443: [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: VirtualMachine instance has no attribute 'hostid'. > [Automation] Two Test Cases failed on "test_volumes.py" - AttributeError: > VirtualMachine instance has no attribute 'hostid' > --- > > Key: CLOUDSTACK-6443 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6443 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Automation, IAM >Affects Versions: 4.4.0 >Reporter: Chandan Purushothama >Assignee: Min Chen >Priority: Blocker > Fix For: 4.4.0 > > > Two Test Cases Failed: > test_07_resize_fail > test_08_resize_volume > *Error Message1*: > VirtualMachine instance has no attribute 'hostid' > >> begin captured logging << > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > STARTED : TC: test_07_resize_fail ::: > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: Fail > Resize Volume ID: b5521198-97f1-4f2c-afea-fcadf70d4249 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': > u'9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca', 'id': 'invalid id'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: bCeC5im5Fgxi23vWk4lBzKbQm7A= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > HTTP/1.1" 431 330 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=bCeC5im5Fgxi23vWk4lBzKbQm7A%3D&diskofferingid=9015ab2c-1d88-4e39-bcd8-d7fa22a1b2ca&id=invalid+id > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter id > value=invalid id due to incorrect long value format, or entity does not exist > or due to incorrect parameter annotation for the field in api cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: resizeVolume {'diskofferingid': 'invalid id', 'id': > u'b5521198-97f1-4f2c-afea-fcadf70d4249'} > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Computed Signature by Marvin: DbNaHKDzesuJcTU1thWGQg88UPk= > requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection > (1): 10.223.240.161 > requests.packages.urllib3.connectionpool: DEBUG: "GET > /client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > HTTP/1.1" 431 342 > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > Request: > http://10.223.240.161:8080/client/api?apiKey=MNQSBTYnkNvc4PCMgv7itBuPnuHpnUT_TEJRzzCOZXPL5bl9ihaz0P3TpkK3IW36icuUoFQkySLQkvQ9K6Dh0Q&response=json&command=resizeVolume&signature=DbNaHKDzesuJcTU1thWGQg88UPk%3D&diskofferingid=invalid+id&id=b5521198-97f1-4f2c-afea-fcadf70d4249 > Response: { "resizevolumeresponse" : > {"uuidList":[],"errorcode":431,"cserrorcode":,"errortext":"Unable to > execute API command resizevolume due to invalid value. Invalid parameter > diskofferingid value=invalid id due to incorrect long value format, or entity > does not exist or due to incorrect parameter annotation for the field in api > cmd class."} } > test_07_resize_fail (integration.smoke.test_volumes.TestVolumes): DEBUG: > sending GET request: listVolumes {'virtualmachineid': > u'bca5f583-139f-46e4-87d5-09fb5adac313', '