Uploaded image for project: 'Apache DataLab (Retired)'
  1. Apache DataLab (Retired)
  2. DATALAB-2621

[GCP] SSN creation fails on stage of VPC creation

ResolvedReopenedClosedVerifiedBlockedon hold
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Done
    • v.2.5.2
    • v.2.5.2
    • DataLab Main
    • Security Level: Public (Regular Issues)

    Description

      Steps to reproduce:

      1. Create SSN on GCP via Jenkins job

      Actual result:

      1. SSN creation fails:
      Traceback (most recent call last):
        File "/root/scripts/ssn_prepare.py", line 109, in <module>
          ssn_conf['vpc_selflink'] = GCPMeta.get_vpc(ssn_conf['vpc_name'])['selfLink']
      TypeError: string indices must be integers
      Traceback (most recent call last):
        File "/root/fabfile.py", line 42, in run
          subprocess.run("~/scripts/{}.py --ssn_unique_index {}".format('ssn_prepare', ssn_config['ssn_unique_index']),
        File "/usr/lib/python3.8/subprocess.py", line 516, in run
          raise CalledProcessError(retcode, process.args, 

      Expected result:

      1. SSN creation is successful

       

      Attachments

        1. GCP SSN.png
          174 kB
          Vira Vitanska

        Activity

          People

            lfrolov Leonid Frolov
            vvitanska Vira Vitanska
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: