2017-11-23 07:23 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0014106Atomicrpm-ostreepublic2017-11-09 17:36
Reporterjwmullally 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
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:
https://github.com/projectatomic/atomic/commit/aab0e2a82fcb51eb1883ea95f03ba3cff979a28b

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>
    sys.exit(_func())
  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
Deployments:
* centos-atomic-host:centos-atomic-host/7/x86_64/standard
                Version: 7.1708 (2017-09-15 15:32:30)
                 Commit: 33b4f0442242a06096ffeffadcd9655905a41fbd11f36cd6f33ee0d974fdb2a8

# rpm -q atomic
atomic-1.18.1-3.1.git0705b1b.el7.x86_64
TagsNo tags attached.
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

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