Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
Fully Compatible
-
ALL
-
v3.6
-
TIG 2018-03-12
-
28
Description
We need ensure that address_type is assigned before accessing this code block:
if options.crash_method == "aws_ec2" or not instance_running:
|
ret, aws_status = ec2.control_instance(
|
mode="start", image_id=options.instance_id, wait_time_secs=600, show_progress=True)
|
LOGGER.info("Start instance: %d %s****", ret, aws_status)
|
if ret:
|
raise Exception("Start instance failed: {}".format(aws_status))
|
if not hasattr(aws_status, address_type):
|
raise Exception("Cannot determine address_type {} from AWS EC2 status {}".format(
|
address_type, aws_status))
|
Attachments
Issue Links
- causes
-
SERVER-34062 powertest.py attempts to access an attribute named address_type rather than its value
-
- Closed
-
- is caused by
-
SERVER-31682 Support AWS EC2 stop in powercycle tests
-
- Closed
-