Skip to content
Snippets Groups Projects
  1. Dec 12, 2024
  2. Dec 10, 2024
  3. Dec 04, 2024
  4. Dec 03, 2024
  5. Nov 21, 2024
  6. Nov 15, 2024
  7. Nov 14, 2024
  8. Oct 15, 2024
  9. Oct 07, 2024
  10. Oct 04, 2024
    • Josef Smrčka's avatar
      feat: change volume migration procedure · 970bb101
      Josef Smrčka authored
      Refactor volume migration.
      
      Split the volume migration into 2 separate steps:
      - `step1`: create snapshot of source volume
      - `step2`: clone snapshot + flatten clone + copy clone to destination
        volume
      
      Introduce a parameter which configures, whether `step2` is done while
      the VM is off.
      
      Original (non-default) flow:
      1. shutoff source VM
      2. perform `step1` + `step2` (originally not split)
      3. start source VM
      4. ...
      
      New default flow:
      1. shutoff source VM
      2. perform `step1`
      3. start source VM
      4. perform `step2`
      5. ...
      
      Rationale: There is no reason to keep the source VM off once the
      snapshot is created. The VM is started after the migration anyway, so
      the source and destination volumes will diverge eventually. The new
      default approach aims to reduce the time the VM is off.
      970bb101
  11. Sep 30, 2024
  12. Sep 20, 2024
  13. Aug 28, 2024
  14. Aug 22, 2024
  15. Jul 25, 2024
  16. Jul 24, 2024
  17. Jul 10, 2024
  18. Jul 09, 2024
    • František Řezníček's avatar
      fix: detection of the mapped dst network reworked again (to avoid creation of... · 24f64f82
      František Řezníček authored
      fix: detection of the mapped dst network reworked again (to avoid creation of network when there is mapped one in admin project)
      
      Fixes following tracebacks:
      2024-07-09 13:41:13,648 project-migrator INFO F.3 Source server ostack port(s) detected
      2024-07-09 13:41:13,648 project-migrator INFO F.3 Source server ostack single (unambiguous) port detected
      Traceback (most recent call last):
        File "/builds/cloud/g1-g2-ostack-cloud-migration/ci/project-migrator.py", line 402, in <module>
          sys.exit(main(ARGS))
        File "/builds/cloud/g1-g2-ostack-cloud-migration/ci/project-migrator.py", line 173, in main
          olib.get_or_create_dst_server_networking(args,
        File "/builds/cloud/g1-g2-ostack-cloud-migration/ci/olib.py", line 265, in get_or_create_dst_server_networking
          i_dst_network, _, _ = create_destination_networking(args,
        File "/builds/cloud/g1-g2-ostack-cloud-migration/ci/olib.py", line 113, in create_destination_networking
          src_subnets = [ src_ostack_conn.network.find_subnet(i_src_subnet_id) for i_src_subnet_id in src_network.subnet_ids ]
      AttributeError: 'NoneType' object has no attribute 'subnet_ids'
      v1.4.2
      24f64f82
    • František Řezníček's avatar
      feat: add custom network mapping · dd93fc29
      František Řezníček authored
      dd93fc29
  19. Jul 03, 2024
  20. 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
  21. Jun 19, 2024
  22. Jun 11, 2024
  23. May 30, 2024
  24. May 28, 2024
  25. May 27, 2024
  26. May 24, 2024
  27. Mar 23, 2024
Loading