2020-07-15 20:02:23 |
Ghada Khalil |
description |
Brief Description
-----------------
Launch instance with a new server group via horizon is failed.
Severity
--------
Major
Steps to Reproduce
------------------
1. Login as Tenant
2. Go to Project > Compute > Server Groups page
3. Create a new server group
4. Verify the group appears in server groups table
5. Launch instance with the new server group
TC-name:
Expected Behavior
-----------------
Launch instance with the new server group successfully
Actual Behavior
----------------
Launch instance with the new server group failed
Reproducibility
---------------
reproducible
System Configuration
--------------------
Regular standard 2+2
Lab-name:
wcp-7-10
Branch/Pull Time/Commit
-----------------------
BUILD_ID="20200709T013419Z"
Timestamp/Logs
--------------
[2020-07-10 15:53:11,223] 61 DEBUG MainThread conftest.update_results:: ***Failure at test call: /home/svc-cgcsauto/wassp-repos.new/testcases/cgcs/CGCSAuto/utils/horizon/pages/project/compute/instancespage.py:77: AttributeError: 'NoneType' object has no attribute 'add'
***Details: server_groups_pg = <utils.horizon.pages.project.compute.servergroupspage.ServerGroupsPage object at 0x7f7de8bcb518>
policy = 'anti-affinity'
......
instances_pg.create_instance(instance_name,
source_name=guest_img,
flavor_name=flavor_name,
network_names=[mgmt_net_name],
> server_group_name=group_name)
testcases/functional/horizon/test_servergroups.py:85:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
utils/horizon/pages/project/compute/instancespage.py:255: in create_instance
instance_form.addservergrp('Name', server_group_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <utils.horizon.pages.project.compute.instancespage.LaunchInstanceForm object at 0x7f7de8ddb518>
column_name = 'Name', name = 'test_groups_10-07-11-52-36'
def addservergrp(self, column_name, name):
> self.server_grp_available_table.get_row(column_name, name).add()
E AttributeError: 'NoneType' object has no attribute 'add'
logs of .tar and video
https://files.starlingx.kube.cengn.ca/launchpad/1887589
Test Activity
------------- |
Brief Description
-----------------
Launch instance with a new server group via horizon is failed.
Severity
--------
Major
Steps to Reproduce
------------------
1. Login as Tenant
2. Go to Project > Compute > Server Groups page
3. Create a new server group
4. Verify the group appears in server groups table
5. Launch instance with the new server group
TC-name:
Expected Behavior
-----------------
Launch instance with the new server group successfully
Actual Behavior
----------------
Launch instance with the new server group failed
Reproducibility
---------------
reproducible
System Configuration
--------------------
Regular standard 2+2
Lab-name:
wcp-7-10
Branch/Pull Time/Commit
-----------------------
BUILD_ID="20200709T013419Z"
Timestamp/Logs
--------------
[2020-07-10 15:53:11,223] 61 DEBUG MainThread conftest.update_results:: ***Failure at test call: /home/svc-cgcsauto/wassp-repos.new/testcases/cgcs/CGCSAuto/utils/horizon/pages/project/compute/instancespage.py:77: AttributeError: 'NoneType' object has no attribute 'add'
***Details: server_groups_pg = <utils.horizon.pages.project.compute.servergroupspage.ServerGroupsPage object at 0x7f7de8bcb518>
policy = 'anti-affinity'
......
instances_pg.create_instance(instance_name,
source_name=guest_img,
flavor_name=flavor_name,
network_names=[mgmt_net_name],
> server_group_name=group_name)
testcases/functional/horizon/test_servergroups.py:85:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
utils/horizon/pages/project/compute/instancespage.py:255: in create_instance
instance_form.addservergrp('Name', server_group_name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <utils.horizon.pages.project.compute.instancespage.LaunchInstanceForm object at 0x7f7de8ddb518>
column_name = 'Name', name = 'test_groups_10-07-11-52-36'
def addservergrp(self, column_name, name):
> self.server_grp_available_table.get_row(column_name, name).add()
E AttributeError: 'NoneType' object has no attribute 'add'
logs of .tar and video
https://files.starlingx.kube.cengn.ca/launchpad/1887589
Test Activity
-------------
stx.4.0 regression |
|