Skip to content

Instantly share code, notes, and snippets.

@gregdek
Created May 1, 2013 20:19
Show Gist options
  • Save gregdek/5498048 to your computer and use it in GitHub Desktop.
Save gregdek/5498048 to your computer and use it in GitHub Desktop.
Errors from eutester create_user.py and create_resources.py
[vagrant@localhost vagrant]$ EUTESTER/testcases/gregdek/play_create_resources.py --credpath=CREDS/3.3-TEST-credentials/GREG-at-EUCALYPTUS/
/usr/lib/python2.6/site-packages/boto/pyami/config.py:75: UserWarning: Unable to load AWS_CREDENTIAL_FILE (/vagrant/CREDS/3.3-TEST-credentials/iamrc)
warnings.warn('Unable to load AWS_CREDENTIAL_FILE (%s)' % full_path)
setuptestname:None
Starting setup_debugmethodNone
[2013-05-01 20:11:34,480] [play_create_resources] [DEBUG]: (show_self:1163):
-------------------------------------------------------------------------
TESTCASE INFO:
----------
NAME: --->: play_create_resources
TEST LIST: --->: []
CONFIG FILES: --->: []
-------------------------------------------------------------------------
[2013-05-01 20:11:34,481] [play_create_resources] [DEBUG]: (show_args:1184):
-------------------------------------------------------------------------
TEST ARGS: VALUE:
---------- ------
-------------------------------------------------------------------------
[2013-05-01 20:11:34,487] [play_create_resources] [DEBUG]: (show_self:1163):
-------------------------------------------------------------------------
TESTCASE INFO:
----------
NAME: --->: play_create_resources
TEST LIST: --->: []
CONFIG FILES: --->: []
-------------------------------------------------------------------------
[2013-05-01 20:11:34,490] [play_create_resources] [DEBUG]: (show_args:1184):
-------------------------------------------------------------------------
TEST ARGS: VALUE:
---------- ------
args --->: Namespace(config=None, config_file=None, configblocks=[], configfile=None, configsections=['MEMO', 'globals', 'play_create_resources'], cred_path='CREDS/3.3-TEST-credentials/GREG-at-EUCALYPTUS/', credpath='CREDS/3.3-TEST-credentials/GREG-at-EUCALYPTUS/', emi=None, ignoreblocks=[], instance_passsword=None, instance_user='root', keypair=None, password=None, region=None, tests=[], use_color=False, userdata=None, vmtype='c1.medium', zone=None)
config --->: None
config_file --->: None
configblocks --->: []
configfile --->: None
configsections --->: ['MEMO', 'globals', 'play_create_resources']
cred_path --->: CREDS/3.3-TEST-credentials/GREG-at-EUCALYPTUS/
credpath --->: CREDS/3.3-TEST-credentials/GREG-at-EUCALYPTUS/
emi --->: None
ignoreblocks --->: []
instance_passsword --->: None
instance_user --->: root
keypair --->: None
password --->: None
region --->: None
tests --->: []
use_color --->: False
userdata --->: None
vmtype --->: c1.medium
zone --->: None
-------------------------------------------------------------------------
[2013-05-01 20:11:34,497] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:122)Starting method: setup_ec2_connection(self, endpoint=192.168.51.89, aws_access_key_id=EHHI0YQQ2RPCCWFRXUNBH, aws_secret_access_key=VjvQVIhrAD0VPRVc60Wn6GUYvG8NMmVBeeeXWdss, is_secure=False, host=None, region=None, path=/services/Eucalyptus, port=8773, APIVersion=2011-01-01, boto_debug=0)
[2013-05-01 20:11:34,498] [EUCAOPS] [DEBUG]: Attempting to create ec2 connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:34,499] [EUCAOPS] [DEBUG]: Attempting to create IAM connection to 192.168.51.89:8773/services/Euare
[2013-05-01 20:11:34,503] [EUCAOPS] [DEBUG]: Attempting to create STS connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:34,510] [EUCAOPS] [DEBUG]:
--->(cwops.py:85)Starting method: setup_cw_connection(self, endpoint=192.168.51.89, aws_access_key_id=EHHI0YQQ2RPCCWFRXUNBH, aws_secret_access_key=VjvQVIhrAD0VPRVc60Wn6GUYvG8NMmVBeeeXWdss, is_secure=False, host=None, region=None, path=/services/CloudWatch, port=8773, boto_debug=0)
[2013-05-01 20:11:34,510] [EUCAOPS] [DEBUG]: Attempting to create cloud watch connection to 192.168.51.898773/services/CloudWatch
[2013-05-01 20:11:34,522] [EUCAOPS] [DEBUG]: Attempting to create S3 connection to 192.168.51.89:8773/services/Walrus
[2013-05-01 20:11:34,527] [EUCAOPS] [DEBUG]: Attempting to create auto scale connection to 192.168.51.89:8773/services/AutoScaling
Creating testunit:CreateResources, args:
[2013-05-01 20:11:34,528] [play_create_resources] [DEBUG]: (populate_testunit_with_args:1202): Attempting to populate testunit:CreateResources, with testcase.args...
[2013-05-01 20:11:34,532] [play_create_resources] [DEBUG]: (populate_testunit_with_args:1210): Testunit keyword args:{}
[2013-05-01 20:11:34,533] [play_create_resources] [DEBUG]: (populate_testunit_with_args:1215): Got method args:('self',)
[2013-05-01 20:11:34,536] [play_create_resources] [DEBUG]: (populate_testunit_with_args:1223): test unit total args:{}
[2013-05-01 20:11:34,540] [play_create_resources] [DEBUG]: (run_test_case_list:703):
-------------------------------------------------------------------------
- STARTING TESTUNIT: -
METHOD:CreateResources, TEST DESCRIPTION:
End on Failure:False
Passing ARGS:""
Running list method: "CreateResources()"
-------------------------------------------------------------------------
[2013-05-01 20:11:34,540] [EUCAOPS] [DEBUG]: Attempting to fetch all accounts matching- account_id:None account_name:None
[2013-05-01 20:11:36,323] [EUCAOPS] [DEBUG]: Attempting to fetch all users matching- user_id:None user_name:None acct_name:greg-acc-0
[2013-05-01 20:11:36,469] [EUCAOPS] [DEBUG]: Attempting to fetch all users matching- user_id:None user_name:None acct_name:greg-test
[2013-05-01 20:11:36,618] [EUCAOPS] [DEBUG]: Attempting to fetch all users matching- user_id:None user_name:None acct_name:testers
[2013-05-01 20:11:36,845] [EUCAOPS] [DEBUG]: Attempting to fetch all users matching- user_id:None user_name:None acct_name:test-acc-0
[2013-05-01 20:11:43,037] [EUCAOPS] [DEBUG]: Attempting to fetch all users matching- user_id:None user_name:None acct_name:test-account-0
[2013-05-01 20:11:43,187] [EUCAOPS] [DEBUG]: Attempting to fetch all users matching- user_id:None user_name:None acct_name:eucalyptus
[2013-05-01 20:11:43,343] [EUCAOPS] [DEBUG]: Creating access key for greg-user-0 in account greg-acc-0
[2013-05-01 20:11:43,343] [EUCAOPS] [DEBUG]: Creating access key for greg-user-0
[2013-05-01 20:11:49,092] [EUCAOPS] [DEBUG]: Creating Eucaops object with access key U2SWCMPFBPZ2IYDGPNJTF and secret key mTE6LE8tPSpKfuKzK7CBSmD8yvNkOjECzTO5rqfA
[2013-05-01 20:11:49,093] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:122)Starting method: setup_ec2_connection(self, endpoint=192.168.51.89, aws_access_key_id=U2SWCMPFBPZ2IYDGPNJTF, aws_secret_access_key=mTE6LE8tPSpKfuKzK7CBSmD8yvNkOjECzTO5rqfA, is_secure=False, host=None, region=None, path=/services/Eucalyptus, port=8773, APIVersion=2011-01-01, boto_debug=0)
[2013-05-01 20:11:49,093] [EUCAOPS] [DEBUG]: Attempting to create ec2 connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:49,094] [EUCAOPS] [DEBUG]: Attempting to create IAM connection to 192.168.51.89:8773/services/Euare
[2013-05-01 20:11:49,095] [EUCAOPS] [CRITICAL]: Was unable to create STS connection because of exception: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:49,095] [EUCAOPS] [DEBUG]:
--->(cwops.py:85)Starting method: setup_cw_connection(self, endpoint=192.168.51.89, aws_access_key_id=U2SWCMPFBPZ2IYDGPNJTF, aws_secret_access_key=mTE6LE8tPSpKfuKzK7CBSmD8yvNkOjECzTO5rqfA, is_secure=False, host=None, region=None, path=/services/CloudWatch, port=8773, boto_debug=0)
[2013-05-01 20:11:49,096] [EUCAOPS] [DEBUG]: Attempting to create cloud watch connection to 192.168.51.898773/services/CloudWatch
[2013-05-01 20:11:49,098] [EUCAOPS] [DEBUG]: Attempting to create S3 connection to 192.168.51.89:8773/services/Walrus
[2013-05-01 20:11:49,099] [EUCAOPS] [DEBUG]: Unable to create AS connection because of: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:49,099] [EUCAOPS] [DEBUG]: Creating access key for admin in account greg-acc-0
[2013-05-01 20:11:49,099] [EUCAOPS] [DEBUG]: Creating access key for admin
[2013-05-01 20:11:49,238] [EUCAOPS] [DEBUG]: Creating Eucaops object with access key QVPRQC19JSIPMSXILSF2T and secret key sYDDFG8zTux9neHOMUUjgA7FtNCIF71RL5LkPQhO
[2013-05-01 20:11:49,238] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:122)Starting method: setup_ec2_connection(self, endpoint=192.168.51.89, aws_access_key_id=QVPRQC19JSIPMSXILSF2T, aws_secret_access_key=sYDDFG8zTux9neHOMUUjgA7FtNCIF71RL5LkPQhO, is_secure=False, host=None, region=None, path=/services/Eucalyptus, port=8773, APIVersion=2011-01-01, boto_debug=0)
[2013-05-01 20:11:49,238] [EUCAOPS] [DEBUG]: Attempting to create ec2 connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:49,238] [EUCAOPS] [DEBUG]: Attempting to create IAM connection to 192.168.51.89:8773/services/Euare
[2013-05-01 20:11:49,239] [EUCAOPS] [CRITICAL]: Was unable to create STS connection because of exception: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:49,241] [EUCAOPS] [DEBUG]:
--->(cwops.py:85)Starting method: setup_cw_connection(self, endpoint=192.168.51.89, aws_access_key_id=QVPRQC19JSIPMSXILSF2T, aws_secret_access_key=sYDDFG8zTux9neHOMUUjgA7FtNCIF71RL5LkPQhO, is_secure=False, host=None, region=None, path=/services/CloudWatch, port=8773, boto_debug=0)
[2013-05-01 20:11:49,242] [EUCAOPS] [DEBUG]: Attempting to create cloud watch connection to 192.168.51.898773/services/CloudWatch
[2013-05-01 20:11:49,242] [EUCAOPS] [DEBUG]: Attempting to create S3 connection to 192.168.51.89:8773/services/Walrus
[2013-05-01 20:11:49,245] [EUCAOPS] [DEBUG]: Unable to create AS connection because of: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:49,245] [EUCAOPS] [DEBUG]: Creating access key for admin in account greg-test
[2013-05-01 20:11:49,245] [EUCAOPS] [DEBUG]: Creating access key for admin
[2013-05-01 20:11:49,386] [EUCAOPS] [DEBUG]: Creating Eucaops object with access key 4AHCSKPYXH1GUMW02TOTU and secret key KXdsgGyn2eo9g0Z7VrI4i5zrHJu0M76aLdwWx5xW
[2013-05-01 20:11:49,387] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:122)Starting method: setup_ec2_connection(self, endpoint=192.168.51.89, aws_access_key_id=4AHCSKPYXH1GUMW02TOTU, aws_secret_access_key=KXdsgGyn2eo9g0Z7VrI4i5zrHJu0M76aLdwWx5xW, is_secure=False, host=None, region=None, path=/services/Eucalyptus, port=8773, APIVersion=2011-01-01, boto_debug=0)
[2013-05-01 20:11:49,389] [EUCAOPS] [DEBUG]: Attempting to create ec2 connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:49,390] [EUCAOPS] [DEBUG]: Attempting to create IAM connection to 192.168.51.89:8773/services/Euare
[2013-05-01 20:11:49,390] [EUCAOPS] [CRITICAL]: Was unable to create STS connection because of exception: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:49,390] [EUCAOPS] [DEBUG]:
--->(cwops.py:85)Starting method: setup_cw_connection(self, endpoint=192.168.51.89, aws_access_key_id=4AHCSKPYXH1GUMW02TOTU, aws_secret_access_key=KXdsgGyn2eo9g0Z7VrI4i5zrHJu0M76aLdwWx5xW, is_secure=False, host=None, region=None, path=/services/CloudWatch, port=8773, boto_debug=0)
[2013-05-01 20:11:49,390] [EUCAOPS] [DEBUG]: Attempting to create cloud watch connection to 192.168.51.898773/services/CloudWatch
[2013-05-01 20:11:49,390] [EUCAOPS] [DEBUG]: Attempting to create S3 connection to 192.168.51.89:8773/services/Walrus
[2013-05-01 20:11:49,390] [EUCAOPS] [DEBUG]: Unable to create AS connection because of: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:49,390] [EUCAOPS] [DEBUG]: Creating access key for greg-user in account greg-test
[2013-05-01 20:11:49,390] [EUCAOPS] [DEBUG]: Creating access key for greg-user
[2013-05-01 20:11:49,559] [EUCAOPS] [DEBUG]: Creating Eucaops object with access key DLEIJKCMDIHN2Y1ZD0WWB and secret key RiHuzAz6tZzray0uIKg0I0t6oCWLaW7U8I3JH9Sa
[2013-05-01 20:11:49,559] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:122)Starting method: setup_ec2_connection(self, endpoint=192.168.51.89, aws_access_key_id=DLEIJKCMDIHN2Y1ZD0WWB, aws_secret_access_key=RiHuzAz6tZzray0uIKg0I0t6oCWLaW7U8I3JH9Sa, is_secure=False, host=None, region=None, path=/services/Eucalyptus, port=8773, APIVersion=2011-01-01, boto_debug=0)
[2013-05-01 20:11:49,559] [EUCAOPS] [DEBUG]: Attempting to create ec2 connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:49,559] [EUCAOPS] [DEBUG]: Attempting to create IAM connection to 192.168.51.89:8773/services/Euare
[2013-05-01 20:11:49,559] [EUCAOPS] [CRITICAL]: Was unable to create STS connection because of exception: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:49,559] [EUCAOPS] [DEBUG]:
--->(cwops.py:85)Starting method: setup_cw_connection(self, endpoint=192.168.51.89, aws_access_key_id=DLEIJKCMDIHN2Y1ZD0WWB, aws_secret_access_key=RiHuzAz6tZzray0uIKg0I0t6oCWLaW7U8I3JH9Sa, is_secure=False, host=None, region=None, path=/services/CloudWatch, port=8773, boto_debug=0)
[2013-05-01 20:11:49,559] [EUCAOPS] [DEBUG]: Attempting to create cloud watch connection to 192.168.51.898773/services/CloudWatch
[2013-05-01 20:11:49,559] [EUCAOPS] [DEBUG]: Attempting to create S3 connection to 192.168.51.89:8773/services/Walrus
[2013-05-01 20:11:49,559] [EUCAOPS] [DEBUG]: Unable to create AS connection because of: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:49,559] [EUCAOPS] [DEBUG]: Creating access key for admin in account testers
[2013-05-01 20:11:49,559] [EUCAOPS] [DEBUG]: Creating access key for admin
[2013-05-01 20:11:49,746] [EUCAOPS] [DEBUG]: Creating Eucaops object with access key HK9UUMPC9XZAJCFDMYMNI and secret key 2d5A6xeROhDvwPv3m21byGQnXE3ZAiSzKGn23dTl
[2013-05-01 20:11:49,747] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:122)Starting method: setup_ec2_connection(self, endpoint=192.168.51.89, aws_access_key_id=HK9UUMPC9XZAJCFDMYMNI, aws_secret_access_key=2d5A6xeROhDvwPv3m21byGQnXE3ZAiSzKGn23dTl, is_secure=False, host=None, region=None, path=/services/Eucalyptus, port=8773, APIVersion=2011-01-01, boto_debug=0)
[2013-05-01 20:11:49,749] [EUCAOPS] [DEBUG]: Attempting to create ec2 connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:49,749] [EUCAOPS] [DEBUG]: Attempting to create IAM connection to 192.168.51.89:8773/services/Euare
[2013-05-01 20:11:49,752] [EUCAOPS] [CRITICAL]: Was unable to create STS connection because of exception: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:49,752] [EUCAOPS] [DEBUG]:
--->(cwops.py:85)Starting method: setup_cw_connection(self, endpoint=192.168.51.89, aws_access_key_id=HK9UUMPC9XZAJCFDMYMNI, aws_secret_access_key=2d5A6xeROhDvwPv3m21byGQnXE3ZAiSzKGn23dTl, is_secure=False, host=None, region=None, path=/services/CloudWatch, port=8773, boto_debug=0)
[2013-05-01 20:11:49,753] [EUCAOPS] [DEBUG]: Attempting to create cloud watch connection to 192.168.51.898773/services/CloudWatch
[2013-05-01 20:11:49,753] [EUCAOPS] [DEBUG]: Attempting to create S3 connection to 192.168.51.89:8773/services/Walrus
[2013-05-01 20:11:49,753] [EUCAOPS] [DEBUG]: Unable to create AS connection because of: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:49,753] [EUCAOPS] [DEBUG]: Creating access key for admin in account test-acc-0
[2013-05-01 20:11:49,753] [EUCAOPS] [DEBUG]: Creating access key for admin
[2013-05-01 20:11:55,726] [EUCAOPS] [DEBUG]: Creating Eucaops object with access key QH4EP3HVXLAVYW8ZO3ZXR and secret key gUjYTISkPG1GF8uwrUbsYjjxMLZsEpaTWL3qyrzy
[2013-05-01 20:11:55,729] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:122)Starting method: setup_ec2_connection(self, endpoint=192.168.51.89, aws_access_key_id=QH4EP3HVXLAVYW8ZO3ZXR, aws_secret_access_key=gUjYTISkPG1GF8uwrUbsYjjxMLZsEpaTWL3qyrzy, is_secure=False, host=None, region=None, path=/services/Eucalyptus, port=8773, APIVersion=2011-01-01, boto_debug=0)
[2013-05-01 20:11:55,729] [EUCAOPS] [DEBUG]: Attempting to create ec2 connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:55,729] [EUCAOPS] [DEBUG]: Attempting to create IAM connection to 192.168.51.89:8773/services/Euare
[2013-05-01 20:11:55,729] [EUCAOPS] [CRITICAL]: Was unable to create STS connection because of exception: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:55,729] [EUCAOPS] [DEBUG]:
--->(cwops.py:85)Starting method: setup_cw_connection(self, endpoint=192.168.51.89, aws_access_key_id=QH4EP3HVXLAVYW8ZO3ZXR, aws_secret_access_key=gUjYTISkPG1GF8uwrUbsYjjxMLZsEpaTWL3qyrzy, is_secure=False, host=None, region=None, path=/services/CloudWatch, port=8773, boto_debug=0)
[2013-05-01 20:11:55,729] [EUCAOPS] [DEBUG]: Attempting to create cloud watch connection to 192.168.51.898773/services/CloudWatch
[2013-05-01 20:11:55,729] [EUCAOPS] [DEBUG]: Attempting to create S3 connection to 192.168.51.89:8773/services/Walrus
[2013-05-01 20:11:55,729] [EUCAOPS] [DEBUG]: Unable to create AS connection because of: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:55,729] [EUCAOPS] [DEBUG]: Creating access key for test-user-0 in account test-acc-0
[2013-05-01 20:11:55,729] [EUCAOPS] [DEBUG]: Creating access key for test-user-0
[2013-05-01 20:11:55,873] [EUCAOPS] [DEBUG]: Creating Eucaops object with access key KVVLVVYYEVBKMXSGOQAPD and secret key ezDOg67PdSYK0WIxw5VmR9IcHWBuNyDEOtcppvYh
[2013-05-01 20:11:55,873] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:122)Starting method: setup_ec2_connection(self, endpoint=192.168.51.89, aws_access_key_id=KVVLVVYYEVBKMXSGOQAPD, aws_secret_access_key=ezDOg67PdSYK0WIxw5VmR9IcHWBuNyDEOtcppvYh, is_secure=False, host=None, region=None, path=/services/Eucalyptus, port=8773, APIVersion=2011-01-01, boto_debug=0)
[2013-05-01 20:11:55,873] [EUCAOPS] [DEBUG]: Attempting to create ec2 connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:55,873] [EUCAOPS] [DEBUG]: Attempting to create IAM connection to 192.168.51.89:8773/services/Euare
[2013-05-01 20:11:55,873] [EUCAOPS] [CRITICAL]: Was unable to create STS connection because of exception: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:55,873] [EUCAOPS] [DEBUG]:
--->(cwops.py:85)Starting method: setup_cw_connection(self, endpoint=192.168.51.89, aws_access_key_id=KVVLVVYYEVBKMXSGOQAPD, aws_secret_access_key=ezDOg67PdSYK0WIxw5VmR9IcHWBuNyDEOtcppvYh, is_secure=False, host=None, region=None, path=/services/CloudWatch, port=8773, boto_debug=0)
[2013-05-01 20:11:55,873] [EUCAOPS] [DEBUG]: Attempting to create cloud watch connection to 192.168.51.898773/services/CloudWatch
[2013-05-01 20:11:55,873] [EUCAOPS] [DEBUG]: Attempting to create S3 connection to 192.168.51.89:8773/services/Walrus
[2013-05-01 20:11:55,874] [EUCAOPS] [DEBUG]: Unable to create AS connection because of: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:55,875] [EUCAOPS] [DEBUG]: Creating access key for admin in account test-account-0
[2013-05-01 20:11:55,876] [EUCAOPS] [DEBUG]: Creating access key for admin
[2013-05-01 20:11:56,021] [EUCAOPS] [DEBUG]: Creating Eucaops object with access key 1OIXQILYQ1YPII0ZMHVGD and secret key 0alwnghA5zSyq0tSLudxDnMu3r8NY9FSjGl7em3Z
[2013-05-01 20:11:56,021] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:122)Starting method: setup_ec2_connection(self, endpoint=192.168.51.89, aws_access_key_id=1OIXQILYQ1YPII0ZMHVGD, aws_secret_access_key=0alwnghA5zSyq0tSLudxDnMu3r8NY9FSjGl7em3Z, is_secure=False, host=None, region=None, path=/services/Eucalyptus, port=8773, APIVersion=2011-01-01, boto_debug=0)
[2013-05-01 20:11:56,021] [EUCAOPS] [DEBUG]: Attempting to create ec2 connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:56,021] [EUCAOPS] [DEBUG]: Attempting to create IAM connection to 192.168.51.89:8773/services/Euare
[2013-05-01 20:11:56,021] [EUCAOPS] [CRITICAL]: Was unable to create STS connection because of exception: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:56,021] [EUCAOPS] [DEBUG]:
--->(cwops.py:85)Starting method: setup_cw_connection(self, endpoint=192.168.51.89, aws_access_key_id=1OIXQILYQ1YPII0ZMHVGD, aws_secret_access_key=0alwnghA5zSyq0tSLudxDnMu3r8NY9FSjGl7em3Z, is_secure=False, host=None, region=None, path=/services/CloudWatch, port=8773, boto_debug=0)
[2013-05-01 20:11:56,021] [EUCAOPS] [DEBUG]: Attempting to create cloud watch connection to 192.168.51.898773/services/CloudWatch
[2013-05-01 20:11:56,021] [EUCAOPS] [DEBUG]: Attempting to create S3 connection to 192.168.51.89:8773/services/Walrus
[2013-05-01 20:11:56,022] [EUCAOPS] [DEBUG]: Unable to create AS connection because of: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:56,023] [EUCAOPS] [DEBUG]: Creating access key for test-user-0 in account test-account-0
[2013-05-01 20:11:56,024] [EUCAOPS] [DEBUG]: Creating access key for test-user-0
[2013-05-01 20:11:56,179] [EUCAOPS] [DEBUG]: Creating Eucaops object with access key WDP6A5BR9H5I9QSIZM4Z5 and secret key r2qGkRys1QwyySrWDcH74lbr4FT25N32LbJEncgN
[2013-05-01 20:11:56,179] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:122)Starting method: setup_ec2_connection(self, endpoint=192.168.51.89, aws_access_key_id=WDP6A5BR9H5I9QSIZM4Z5, aws_secret_access_key=r2qGkRys1QwyySrWDcH74lbr4FT25N32LbJEncgN, is_secure=False, host=None, region=None, path=/services/Eucalyptus, port=8773, APIVersion=2011-01-01, boto_debug=0)
[2013-05-01 20:11:56,179] [EUCAOPS] [DEBUG]: Attempting to create ec2 connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:56,180] [EUCAOPS] [DEBUG]: Attempting to create IAM connection to 192.168.51.89:8773/services/Euare
[2013-05-01 20:11:56,183] [EUCAOPS] [CRITICAL]: Was unable to create STS connection because of exception: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:56,184] [EUCAOPS] [DEBUG]:
--->(cwops.py:85)Starting method: setup_cw_connection(self, endpoint=192.168.51.89, aws_access_key_id=WDP6A5BR9H5I9QSIZM4Z5, aws_secret_access_key=r2qGkRys1QwyySrWDcH74lbr4FT25N32LbJEncgN, is_secure=False, host=None, region=None, path=/services/CloudWatch, port=8773, boto_debug=0)
[2013-05-01 20:11:56,185] [EUCAOPS] [DEBUG]: Attempting to create cloud watch connection to 192.168.51.898773/services/CloudWatch
[2013-05-01 20:11:56,186] [EUCAOPS] [DEBUG]: Attempting to create S3 connection to 192.168.51.89:8773/services/Walrus
[2013-05-01 20:11:56,186] [EUCAOPS] [DEBUG]: Unable to create AS connection because of: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:56,186] [EUCAOPS] [DEBUG]: Creating access key for test-user-1 in account test-account-0
[2013-05-01 20:11:56,186] [EUCAOPS] [DEBUG]: Creating access key for test-user-1
[2013-05-01 20:11:56,323] [EUCAOPS] [DEBUG]: Creating Eucaops object with access key H6GFMZ9NE8DWGLMAZTXDD and secret key NbDg7Ku37G4PwJkkVZFMoj8aWuRNJT89jTPpbwJL
[2013-05-01 20:11:56,323] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:122)Starting method: setup_ec2_connection(self, endpoint=192.168.51.89, aws_access_key_id=H6GFMZ9NE8DWGLMAZTXDD, aws_secret_access_key=NbDg7Ku37G4PwJkkVZFMoj8aWuRNJT89jTPpbwJL, is_secure=False, host=None, region=None, path=/services/Eucalyptus, port=8773, APIVersion=2011-01-01, boto_debug=0)
[2013-05-01 20:11:56,323] [EUCAOPS] [DEBUG]: Attempting to create ec2 connection to 192.168.51.898773/services/Eucalyptus
[2013-05-01 20:11:56,323] [EUCAOPS] [DEBUG]: Attempting to create IAM connection to 192.168.51.89:8773/services/Euare
[2013-05-01 20:11:56,323] [EUCAOPS] [CRITICAL]: Was unable to create STS connection because of exception: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:56,323] [EUCAOPS] [DEBUG]:
--->(cwops.py:85)Starting method: setup_cw_connection(self, endpoint=192.168.51.89, aws_access_key_id=H6GFMZ9NE8DWGLMAZTXDD, aws_secret_access_key=NbDg7Ku37G4PwJkkVZFMoj8aWuRNJT89jTPpbwJL, is_secure=False, host=None, region=None, path=/services/CloudWatch, port=8773, boto_debug=0)
[2013-05-01 20:11:56,323] [EUCAOPS] [DEBUG]: Attempting to create cloud watch connection to 192.168.51.898773/services/CloudWatch
[2013-05-01 20:11:56,323] [EUCAOPS] [DEBUG]: Attempting to create S3 connection to 192.168.51.89:8773/services/Walrus
[2013-05-01 20:11:56,323] [EUCAOPS] [DEBUG]: Unable to create AS connection because of: unsupported operand type(s) for +: 'NoneType' and 'str'
[2013-05-01 20:11:56,323] [EUCAOPS] [DEBUG]: Created a total of 11 testers
[2013-05-01 20:11:56,656] [EUCAOPS] [DEBUG]: Looking up keypair Dn6Dce
[2013-05-01 20:12:02,052] [EUCAOPS] [DEBUG]: Creating keypair: Dn6Dce
[2013-05-01 20:12:09,045] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:356)Starting method: add_group(self, group_name=1UqkpS, description=None, fail_if_exists=False)
[2013-05-01 20:12:09,046] [EUCAOPS] [DEBUG]: Looking up group 1UqkpS
[2013-05-01 20:12:14,988] [EUCAOPS] [DEBUG]: Creating Security Group: 1UqkpS
[2013-05-01 20:12:21,107] [EUCAOPS] [DEBUG]: Found matching security group for name:1UqkpS and id:None
[2013-05-01 20:12:21,108] [EUCAOPS] [DEBUG]:
--->(ec2ops.py:416)Starting method: authorize_group_by_name(self, group_name=1UqkpS, port=22, protocol=tcp, cidr_ip=0.0.0.0/0)
[2013-05-01 20:12:21,108] [EUCAOPS] [DEBUG]: Attempting authorization of 1UqkpS on port 22 tcp
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/eutester-0.0.7-py2.6.egg/eutester/eutestcase.py", line 264, in run
ret = self.method()
File "EUTESTER/testcases/gregdek/play_create_resources.py", line 82, in CreateResources
resource_tester.authorize_group_by_name(group_name=group.name )
File "/usr/lib/python2.6/site-packages/eutester-0.0.7-py2.6.egg/eutester/__init__.py", line 327, in methdecor
return func(*func_args, **func_kwargs)
File "/usr/lib/python2.6/site-packages/eutester-0.0.7-py2.6.egg/eucaops/ec2ops.py", line 430, in authorize_group_by_name
self.ec2.authorize_security_group_deprecated(group_name,ip_protocol=protocol, from_port=port, to_port=port, cidr_ip=cidr_ip)
File "/usr/lib/python2.6/site-packages/boto/ec2/connection.py", line 2133, in authorize_security_group_deprecated
return self.get_status('AuthorizeSecurityGroupIngress', params)
File "/usr/lib/python2.6/site-packages/boto/connection.py", line 1019, in get_status
raise self.ResponseError(response.status, response.reason, body)
EC2ResponseError: EC2ResponseError: 400 Bad Request
<?xml version="1.0"?><Response><Errors><Error><Code>400 Bad Request</Code><Message>Failed to bind the following fields:
IpProtocol = tcp
ToPort = 22
FromPort = 22
CidrIp = 0.0.0.0/0
</Message></Error></Errors><RequestID>Failed to bind the following fields:
IpProtocol = tcp
ToPort = 22
FromPort = 22
CidrIp = 0.0.0.0/0
</RequestID></Response>
[2013-05-01 20:12:21,226] [play_create_resources] [DEBUG]: (endsuccess:611):
-------------------------------------------------------------------------
- UNIT ENDED - CreateResources
-------------------------------------------------------------------------
[2013-05-01 20:12:21,230] [play_create_resources] [DEBUG]: (run_test_case_list:715): RESULTS SUMMARY FOR 'play_create_resources':
[2013-05-01 20:12:21,230] [play_create_resources] [DEBUG]: (run_test_case_list:715):
[2013-05-01 20:12:21,230] [play_create_resources] [DEBUG]: (run_test_case_list:715): ------------------------------------------------------
[2013-05-01 20:12:21,230] [play_create_resources] [DEBUG]: (run_test_case_list:715): | TOTAL | FAILED | PASSED | NOT_RUN | TIME_ELAPSED
[2013-05-01 20:12:21,230] [play_create_resources] [DEBUG]: (run_test_case_list:715): ------------------------------------------------------
[2013-05-01 20:12:21,230] [play_create_resources] [DEBUG]: (run_test_case_list:715): | 1 | 1 | 0 | 0 | 46
[2013-05-01 20:12:21,230] [play_create_resources] [DEBUG]: (run_test_case_list:715): ------------------------------------------------------
[2013-05-01 20:12:21,230] [play_create_resources] [DEBUG]: (run_test_case_list:715):
[2013-05-01 20:12:21,232] [play_create_resources] [DEBUG]: (run_test_case_list:724): Printing pre-cleanup results:
[2013-05-01 20:12:21,235] [play_create_resources] [DEBUG]: (<lambda>:847): Test list results for testcase:play_create_resources
[2013-05-01 20:12:21,236] [play_create_resources] [DEBUG]: (run_test_case_list:726):
-------------------------------------------------------------------------
RUN TEST CASE LIST DONE:
Ran 1/1 tests in 46 seconds
TESTUNIT LIST SUMMARY FOR 'play_create_resources'
--------------------------------------------------------------------------------
TEST: CreateResources RESULT:failed Time:46
VALUES: CreateResources()
ERROR(CreateResources): EC2ResponseError: 400 Bad Request
<?xml version="1.0"?><Response><Errors><Error><Code>400 Bad Request</Code><Message>Failed to bind the following fields:
IpProtocol = tcp
ToPort = 22
FromPort = 22
CidrIp = 0.0.0.0/0
</Message></Error></Errors><RequestID>Failed to bind the following fields:
IpProtocol = tcp
ToPort = 22
FromPort = 22
CidrIp = 0.0.0.0/0
</RequestID></Response>
--------------------------------------------------------------------------------
RESULTS SUMMARY FOR 'play_create_resources':
------------------------------------------------------
| TOTAL | FAILED | PASSED | NOT_RUN | TIME_ELAPSED
------------------------------------------------------
| 1 | 1 | 0 | 0 | 46
------------------------------------------------------
-------------------------------------------------------------------------
Creating testunit:clean_method, args:
[2013-05-01 20:12:21,239] [play_create_resources] [DEBUG]: (populate_testunit_with_args:1202): Attempting to populate testunit:clean_method, with testcase.args...
[2013-05-01 20:12:21,239] [play_create_resources] [DEBUG]: (populate_testunit_with_args:1210): Testunit keyword args:{}
[2013-05-01 20:12:21,241] [play_create_resources] [DEBUG]: (populate_testunit_with_args:1215): Got method args:('self',)
[2013-05-01 20:12:21,242] [play_create_resources] [DEBUG]: (populate_testunit_with_args:1223): test unit total args:{}
[2013-05-01 20:12:21,243] [play_create_resources] [DEBUG]: (<lambda>:847): Test list results for testcase:play_create_resources
[2013-05-01 20:12:21,248] [play_create_resources] [DEBUG]: (run_test_case_list:738):
-------------------------------------------------------------------------
TESTUNIT LIST SUMMARY FOR 'play_create_resources'
--------------------------------------------------------------------------------
TEST: CreateResources RESULT:failed Time:46
VALUES: CreateResources()
ERROR(CreateResources): EC2ResponseError: 400 Bad Request
<?xml version="1.0"?><Response><Errors><Error><Code>400 Bad Request</Code><Message>Failed to bind the following fields:
IpProtocol = tcp
ToPort = 22
FromPort = 22
CidrIp = 0.0.0.0/0
</Message></Error></Errors><RequestID>Failed to bind the following fields:
IpProtocol = tcp
ToPort = 22
FromPort = 22
CidrIp = 0.0.0.0/0
</RequestID></Response>
--------------------------------------------------------------------------------
TEST: clean_method RESULT:passed Time:0
VALUES: clean_method()
--------------------------------------------------------------------------------
RESULTS SUMMARY FOR 'play_create_resources':
------------------------------------------------------
| TOTAL | FAILED | PASSED | NOT_RUN | TIME_ELAPSED
------------------------------------------------------
| 2 | 1 | 1 | 0 | 46
------------------------------------------------------
-------------------------------------------------------------------------
passed:1 out of total:2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment