Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-3099

lftools image share failing on authorization, sharing images between LF $projects

    Details

    • Type: Story
    • Status: Done
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      Opened a ticket with vexhost: RCS-264757

      $ lftools --debug openstack image share "LF - CentOS 7.2003 (2020-04-22)" acumosci
      DEBUG: lftools.cli:55: DEBUG mode enabled.
      Marking odlci's image "LF - CentOS 7.2003 (2020-04-22)" as shared.
      DEBUG: lftools.openstack.image:124: exit code: 0
      DEBUG: lftools.openstack.image:125:
      DEBUG: lftools.openstack.image:130: image_id: 659e96c1-7fb8-4c45-a02a-4bf10fcd3b0d
      DEBUG: lftools.openstack.image:137: exit code: 0
      DEBUG: lftools.openstack.image:138:
      Sharing to acumosci.
      DEBUG: lftools.openstack.image:146: exit code: 0
      DEBUG: lftools.openstack.image:147:
      DEBUG: lftools.openstack.image:152: token: c087c8039997467b8f1a89eabdbcae09
      DEBUG: lftools.openstack.image:156: Sharing image 659e96c1-7fb8-4c45-a02a-4bf10fcd3b0d to c087c8039997467b8f1a89eabdbcae09
      DEBUG: lftools.openstack.image:160: exit code: 1
      DEBUG: lftools.openstack.image:161: You are not authorized to find project with the name 'c087c8039997467b8f1a89eabdbcae09'. 

      Issue is also reproducible with the openstack CLI as per the docs. 

      https://docs.releng.linuxfoundation.org/en/latest/infra/openstack.html?highlight=image%20share

      https://github.com/lfit/releng-lftools/blob/master/lftools/openstack/image.py 

        Attachments

          JEditor

          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              askb Anil Belur
              Reporter:
              askb Anil Belur
              Watchers:
              Andrew Grimberg, Anil Belur, Mohammed Naser
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Salesforce