2017-11-23 07:23 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0014106Atomicrpm-ostreepublic2017-11-09 17:36
PlatformOScentos-atomic-host/7/x86_64/stanOS Version7.1708
Summary0014106: "atomic install --system" fails with "string indices must be integers"
DescriptionRunning "atomic install --system" on some (all?) docker images fails with "string indices must be integers" exception.

Fixed already in upstream here:

I've patched this locally, filing this bug here for others to find until the next update is rolled out. Feel free to resolve whenever.
Steps To Reproduce# atomic --debug install --system --set INVENTORY_FILE=/etc/ansible/hosts openshift/origin-ansible:v3.6
string indices must be integers, not str
Traceback (most recent call last):
  File "/bin/atomic", line 203, in <module>
  File "/usr/lib/python2.7/site-packages/Atomic/install.py", line 132, in install
    return be.install(self.image, self.name)
  File "/usr/lib/python2.7/site-packages/Atomic/backends/_ostree.py", line 127, in install
    return self.syscontainers.install(image, name)
  File "/usr/lib/python2.7/site-packages/Atomic/syscontainers.py", line 224, in install
    return_value = self._run_once(image, name)
  File "/usr/lib/python2.7/site-packages/Atomic/syscontainers.py", line 284, in _run_once
    image_id = SystemContainers._get_image_id_from_manifest(image_manifest) or image_id
  File "/usr/lib/python2.7/site-packages/Atomic/syscontainers.py", line 509, in _get_image_id_from_manifest
    image_id = image_manifest['Digest']
TypeError: string indices must be integers, not str
Additional Information# atomic host status
State: idle
* centos-atomic-host:centos-atomic-host/7/x86_64/standard
                Version: 7.1708 (2017-09-15 15:32:30)
                 Commit: 33b4f0442242a06096ffeffadcd9655905a41fbd11f36cd6f33ee0d974fdb2a8

# rpm -q atomic
TagsNo tags attached.
Attached Files


There are no notes attached to this issue.

-Issue History
Date Modified Username Field Change
2017-11-09 17:36 jwmullally New Issue
+Issue History