]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
docs/laptop/targets.sql: add semicolon to commit
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Mon, 25 Aug 2025 13:50:49 +0000 (15:50 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Tue, 26 Aug 2025 19:36:27 +0000 (21:36 +0200)
Apparently semicolon needed after transaction,
otherwise it gets stuck in a transaction queue
and locks the table

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
docs/laptop/targets.sql

index 8e95176298bec0b95833137516297c758791ccd1..2165c19220f9a1b136147a4bc4381096b09f1189 100644 (file)
@@ -1,9 +1,8 @@
-begin transaction;
+begin;
 insert into nodes (name, machine_type, is_vm, locked, up) values ('localhost', 'libvirt', false, true, true);
 insert into nodes (name, machine_type, is_vm, locked, up, mac_address, vm_host_id) values
 ('target-00.local', 'vps', true, false, false, '52:54:00:00:00:00', (select id from nodes where name='localhost')),
 ('target-01.local', 'vps', true, false, false, '52:54:00:00:00:01', (select id from nodes where name='localhost')),
 ('target-02.local', 'vps', true, false, false, '52:54:00:00:00:02', (select id from nodes where name='localhost')),
 ('target-03.local', 'vps', true, false, false, '52:54:00:00:00:03', (select id from nodes where name='localhost'));
-commit transaction
-
+commit;