Multiple cfn paths results in "403 Client Error: SignatureDoesNotMatch"

Bug #1207135 reported by Clint Byrum
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
os-collect-config
High
Unassigned

Bug Description

Multiple paths should be merged, but it doesn't work:

[cfn]
path=notcompute.Metadata
path=notcomputeConfig.Metadata
...

The above should produce the merge of the two, but instead produces just notcompute.Metadata and the debug log shows that there was a 403 on notcomputeConfig.

2013-08-01 00:51:27.176 10820 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 169.254.169.254
2013-08-01 00:51:28.937 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/ HTTP/1.1" 200 244 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.941 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/ami-id HTTP/1.1" 200 12 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.948 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/ami-launch-index HTTP/1.1" 200 1 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.955 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/ami-manifest-path HTTP/1.1" 200 5 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.960 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/block-device-mapping/ HTTP/1.1" 200 24 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.965 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/block-device-mapping/ami HTTP/1.1" 200 4 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.969 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/block-device-mapping/ephemeral0 HTTP/1.1" 200 4 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.975 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/block-device-mapping/root HTTP/1.1" 200 9 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.979 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/block-device-mapping/swap HTTP/1.1" 200 4 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.985 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/hostname HTTP/1.1" 200 44 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.990 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/instance-action HTTP/1.1" 200 4 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.994 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/instance-id HTTP/1.1" 200 10 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:28.997 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/instance-type HTTP/1.1" 200 9 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.002 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/kernel-id HTTP/1.1" 200 12 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.007 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/local-hostname HTTP/1.1" 200 44 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.011 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/local-ipv4 HTTP/1.1" 200 9 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.015 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/placement/ HTTP/1.1" 200 17 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.018 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/placement/availability-zone HTTP/1.1" 200 4 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.021 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/public-hostname HTTP/1.1" 200 44 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.025 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/public-ipv4 HTTP/1.1" 200 0 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.029 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/public-keys/ HTTP/1.1" 200 9 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.034 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/public-keys/0/ HTTP/1.1" 200 11 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.037 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/public-keys/0/openssh-key HTTP/1.1" 200 396 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.040 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/ramdisk-id HTTP/1.1" 200 12 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.042 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/reservation-id HTTP/1.1" 200 10 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.045 10820 DEBUG urllib3.connectionpool [-] "GET /latest/meta-data/security-groups HTTP/1.1" 200 0 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.048 10820 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 192.0.2.1
2013-08-01 00:51:29.367 10820 DEBUG urllib3.connectionpool [-] "GET /v1/?SignatureVersion=2&AWSAccessKeyId=94a195d04ef44953a0e54b7be025e54f&StackName=undercloud&SignatureMethod=HmacSHA256&Signature=rF30%2Bgxs%2FF2aIVUXZYlKRCxxBaxt6QIDZBDIu3H6pCI%3D&Action=DescribeStackResource&LogicalResourceId=notcompute HTTP/1.1" 200 924 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.388 10820 DEBUG urllib3.connectionpool [-] "GET /v1/?SignatureVersion=2&AWSAccessKeyId=94a195d04ef44953a0e54b7be025e54f&StackName=undercloud&SignatureMethod=HmacSHA256&Signature=ZiuMff4%2Fvp%2BVdaHpUqhX%2F7d%2FinfR7tW5qd%2BmFhD6gcc%3D&Action=DescribeStackResource&LogicalResourceId=notcomputeConfig HTTP/1.1" 403 195 _make_request /usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:283
2013-08-01 00:51:29.390 10820 WARNING os_collect_config.cfn [-] 403 Client Error: SignatureDoesNotMatch
2013-08-01 00:51:29.391 10820 WARNING os-collect-config [-] Source [cfn] Unavailable.
2013-08-01 00:51:29.395 10820 DEBUG os-collect-config [-] No changes detected. __main__ /usr/local/lib/python2.7/dist-packages/os_collect_config/collect.py:143
2013-08-01 00:51:29.397 10820 INFO os-collect-config [-] Sleeping 300.00 seconds.

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers