Bug 928848 - [abrt] cloud-init-0.7.1-2.fc18: utils.py:243:__getitem__:KeyError: 'instance-id'
Summary: [abrt] cloud-init-0.7.1-2.fc18: utils.py:243:__getitem__:KeyError: 'instance-id'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: cloud-init
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Garrett Holmstrom
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:78de10aedf0f179893528cb8c90...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-28 15:08 UTC by Hermann Pawlowski
Modified: 2014-02-05 20:21 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-05 20:21:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.31 KB, text/plain)
2013-03-28 15:08 UTC, Hermann Pawlowski
no flags Details
File: core_backtrace (1.03 KB, text/plain)
2013-03-28 15:09 UTC, Hermann Pawlowski
no flags Details
File: environ (124 bytes, text/plain)
2013-03-28 15:09 UTC, Hermann Pawlowski
no flags Details

Description Hermann Pawlowski 2013-03-28 15:08:51 UTC
Version-Release number of selected component:
cloud-init-0.7.1-2.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/cloud-init init
dso_list:       python-boto-2.6.0-2.fc18.noarch
executable:     /usr/bin/cloud-init
kernel:         3.7.6-201.fc18.x86_64
uid:            0
ureports_counter: 2

Truncated backtrace:
utils.py:243:__getitem__:KeyError: 'instance-id'

Traceback (most recent call last):
  File "/usr/bin/cloud-init", line 509, in <module>
    sys.exit(main())
  File "/usr/bin/cloud-init", line 505, in main
    return functor(name, args)
  File "/usr/bin/cloud-init", line 256, in main_init
    iid = init.instancify()
  File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 319, in instancify
    return self._reflect_cur_instance()
  File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 268, in _reflect_cur_instance
    idir = self._get_ipath()
  File "/usr/lib/python2.7/site-packages/cloudinit/stages.py", line 259, in _get_ipath
    instance_dir = self.paths.get_ipath(subname)
  File "/usr/lib/python2.7/site-packages/cloudinit/helpers.py", line 380, in get_ipath
    ipath = self._get_ipath(name)
  File "/usr/lib/python2.7/site-packages/cloudinit/helpers.py", line 367, in _get_ipath
    iid = self.datasource.get_instance_id()
  File "/usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceCloudStack.py", line 131, in get_instance_id
    return self.metadata['instance-id']
  File "/usr/lib/python2.7/site-packages/boto/utils.py", line 243, in __getitem__
    return super(LazyLoadMetadata, self).__getitem__(key)
KeyError: 'instance-id'

Local variables in innermost frame:
self: {}
key: 'instance-id'

Comment 1 Hermann Pawlowski 2013-03-28 15:08:56 UTC
Created attachment 717691 [details]
File: backtrace

Comment 2 Hermann Pawlowski 2013-03-28 15:09:01 UTC
Created attachment 717692 [details]
File: core_backtrace

Comment 3 Hermann Pawlowski 2013-03-28 15:09:04 UTC
Created attachment 717693 [details]
File: environ

Comment 4 Fedora End Of Life 2013-12-21 12:32:25 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Fedora End Of Life 2014-02-05 20:21:36 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.