Skip to content
Snippets Groups Projects
  1. Jul 03, 2024
  2. Jul 02, 2024
    • František Řezníček's avatar
      fix: Handle situation when source server has no security-groups linked · 2eda43f4
      František Řezníček authored
      This patch fixes following problem:
      2024-07-02 12:29:49,117 project-migrator INFO F.9 Destination OpenStack server keypair exists (vscht)
      Traceback (most recent call last):
        File "/home/freznicek/prjs/muni/sources/gitlab.ics.muni.cz/g1-g2-ostack-cloud-migration.git/ci/./project-migrator.py", line 389, in <module>
          sys.exit(main(ARGS))
                   ^^^^^^^^^^
        File "/home/freznicek/prjs/muni/sources/gitlab.ics.muni.cz/g1-g2-ostack-cloud-migration.git/ci/./project-migrator.py", line 190, in main
          olib.get_or_create_dst_server_security_groups(args,
        File "/home/freznicek/prjs/muni/sources/gitlab.ics.muni.cz/g1-g2-ostack-cloud-migration.git/ci/olib.py", line 452, in get_or_create_dst_server_security_groups
          for i_src_server_security_group_name in {i_sg['name'] for i_sg in src_server.security_groups}:
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      TypeError: 'NoneType' object is not iterable
      [freznicek@lenovo-t14 ci 1]$
      v1.2.4
      2eda43f4
  3. Jun 19, 2024
  4. Jun 11, 2024
  5. May 31, 2024
  6. May 30, 2024
  7. May 28, 2024
  8. May 27, 2024
  9. May 24, 2024
  10. May 23, 2024
  11. May 17, 2024
  12. May 16, 2024
Loading