Commit Graph

50 Commits

Author SHA1 Message Date
Jeff Carr 301fe567e2 getting down to the nitty gritty
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-11-01 11:17:52 -05:00
Jeff Carr 0076d3cb2d compiles
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-11-01 05:50:42 -05:00
Jeff Carr 83faa62e18 last commit before import attempt
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-11-01 02:00:46 -05:00
Jeff Carr b28ae96cd4 ready for import local domain request to hypervisors
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 15:43:25 -05:00
Jeff Carr b4ef8b76b1 runs again
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 14:15:36 -05:00
Jeff Carr fb51876e8e rename package virtigolib
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-31 06:50:57 -05:00
Jeff Carr eacf3b8bef events is now c.E
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 18:09:54 -05:00
Jeff Carr 410015c33e more work on create() droplet
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-30 12:16:08 -05:00
Jeff Carr 9d08114b93 code reorg
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-29 09:02:15 -05:00
Jeff Carr 8724a07b0d function to dump all droplets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-29 09:00:40 -05:00
Jeff Carr 42d54a418d quit with configSave()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-28 08:08:27 -05:00
Jeff Carr 8fc2fbd9c9 track droplets reported from each hypervisor
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 11:02:50 -05:00
Jeff Carr d38865a6cf maybe fix duplicates? this isn't really safe probably
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 08:10:19 -05:00
Jeff Carr 212b582060 sets unique spice port and saves config files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 04:53:39 -05:00
Jeff Carr d948581300 add /dumpdroplets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 03:17:34 -05:00
Jeff Carr 71f83d4000 prepare to validate spice ports
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 02:55:08 -05:00
Jeff Carr d0767eb984 validate stuff should be here
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-27 02:29:45 -05:00
Jeff Carr 3c1efcba0e start worked by sending protobuf
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 20:09:59 -05:00
Jeff Carr 7837182d53 more http options
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 13:05:05 -05:00
Jeff Carr 2e8281d067 virtigod doing xml now
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 12:32:17 -05:00
Jeff Carr b4518e8b82 compiles and lists hypervisors
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 08:54:28 -05:00
Jeff Carr 9020957ee7 new config files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 07:28:19 -05:00
Jeff Carr 0dc393896c still works
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 05:17:51 -05:00
Jeff Carr 11f0cd97b5 using lib/virtigoxml and it seems to actually work
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 04:36:38 -05:00
Jeff Carr d09f4e25c2 switched to pb.DropletState enum
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 19:15:51 -05:00
Jeff Carr 07da0fa0ee keep processing my libvirt xml files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 18:06:46 -05:00
Jeff Carr 62d406e0de set a homedir
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 00:48:35 -05:00
Jeff Carr 5b99a88e06 dump Scan var
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-22 19:55:32 -05:00
Jeff Carr a5a972e2f4 allow trigger of saving the config
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-22 19:51:01 -05:00
Jeff Carr b1a943fa3d compiles and runs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-22 18:19:21 -05:00
Jeff Carr 3ba9a5da20 compiles
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-22 17:59:27 -05:00
Jeff Carr 673bcc6cc9 start migration to protobufs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-22 17:27:24 -05:00
Jeff Carr f5fb6736f6 make STDOUT output easier to read
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-17 15:54:39 -05:00
Jeff Carr c3a69690ee clean up logging of initial scan of droplets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-17 15:29:47 -05:00
Jeff Carr 25b0709668 favicon
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-16 21:47:38 -05:00
Jeff Carr 142d9ab1cb this is such stupid code because I haven't switched to protobuf
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-16 20:43:01 -05:00
Jeff Carr 1c77ec7e63 start from the command line works
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-15 11:02:34 -05:00
Jeff Carr ccbdef1a13 checking for the grid to be 'stable' before starting new droplets
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-13 04:34:55 -05:00
Jeff Carr 425e75d388 trigger start over http
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-13 03:49:54 -05:00
Jeff Carr e149b3218d last version restarted virtigod to libvirt hang
it would appear at this point there is some sort of
	bug that hangs libvirtd. stracing it isn't obvious
	to me due to my lack of experience with really working
	with strace much. When virtigod hangs, 'virsh list'
	also hangs from the command line. If I kill virtigod,
	everything starts working again and I get lots of output
	from libvirtd --listen but I haven't investigated any
	of the errors yet or looked further. I probably will
	just work around this problem rather than solving it
	in this case since my need here is to get to working
	on riscv uboot development where my usefullness is
	better. hopefully. Or, maybe it's what I'm more interested
	in. maybe this bug doesn't exist on riscv. haha to you
	reading this, virtualization with riscv doesn't really
	even exist much yet. The chips are still too new!

Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-13 03:04:46 -05:00
Jeff Carr ca1a78394f attempt to generate an event. next up: protobuf
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-13 02:23:30 -05:00
Jeff Carr eddd658b7f start a tally of working, totals, not working, etc
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-13 01:13:19 -05:00
Jeff Carr 7a4bc0b5d6 track hypervisor daemon kill count
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-13 00:57:29 -05:00
Jeff Carr 62e9d8cfb1 cleanup STDOUT debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-13 00:40:22 -05:00
Jeff Carr 58ff2a2412 state changes if droplet reboots
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-12 13:01:31 -05:00
Jeff Carr e94b4d6626 first basic check to tell if the cluster is healthy
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-12 12:45:43 -05:00
Jeff Carr 487c6fd11c polling duration times work
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-12 11:54:01 -05:00
Jeff Carr d08d9f99be ugly but limping along progress
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-12 10:59:11 -05:00
Jeff Carr 0751e80559 poll all the hosts
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-12 01:29:58 -05:00
Jeff Carr 5fcb83a1a2 the beginning of something
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-12 00:17:26 -05:00