Commit Graph

53 Commits

Author SHA1 Message Date
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 fd3e14bcc6 start works with lib/virtigoxml
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 04:25:50 -05:00
Jeff Carr 7320fceb8d finds disks and puts dirs in the protobuf cluster
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-26 01:02:09 -05:00
Jeff Carr 0fd0283372 generate XML by droplet hostname
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 22:07:28 -05:00
Jeff Carr 3893ac7e3d --xml-ignore-disk=true works
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 20:09:41 -05:00
Jeff Carr b35c04414a checking for duplicate filenames works
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 20:05:04 -05:00
Jeff Carr 030af1bcfb check for duplicate disk names
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 19:16:44 -05:00
Jeff Carr a5eee861ea print out change events
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 17:35:29 -05:00
Jeff Carr 9b94785cd2 start date works on events
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 17:01:30 -05:00
Jeff Carr 15f48a01ab pretty good XML handling at this point
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 16:08:55 -05:00
Jeff Carr b6dd67b73d fails on imports with duplicate mac addrs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 15:46:49 -05:00
Jeff Carr 7cc0bd9b2c show droplet total count
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 15:27:10 -05:00
Jeff Carr 9451e162a0 ignore bridge name changes by default
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 15:01:16 -05:00
Jeff Carr 9528d4c0fb more xml fixes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 06:41:22 -05:00
Jeff Carr fb722a3dc9 better libvirt xml processing
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 04:30:35 -05:00
Jeff Carr 7b3e24740d works, it's neat, but do I really want this?
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-25 03:11:55 -05:00
Jeff Carr fea819956f cleanup instructions
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 18:55:35 -05:00
Jeff Carr 63e750ce89 cleanup help
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-24 15:14:47 -05:00
Jeff Carr 6c236628b1 cleanup STDOUT logging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 06:27:56 -05:00
Jeff Carr caf84a6326 added some xml files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 06:06:38 -05:00
Jeff Carr 35a2a37940 work on adding droplets from libvirt xml files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 04:25:24 -05:00
Jeff Carr 09b635219a compiles and runs. logic wrong
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 02:56:55 -05:00
Jeff Carr 3f2cbcb57f things to add xml files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 01:31:17 -05:00
Jeff Carr ca98c0e3c0 add some double checking on writing config files
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 01:12:19 -05:00
Jeff Carr 889e7bb259 keep removing old junk
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-23 00:54:37 -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 a3ea303ab8 global hypervisor poll delay
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-22 19:57:49 -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 525362fcc7 deprecate hypervisor file. yay!
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-22 19:34:50 -05:00
Jeff Carr 448f4a0649 dumped droplet file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-22 19:19:22 -05:00
Jeff Carr e2d872f088 start to deprecate dumb droplets file
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-22 18:58:47 -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 3b64d342d2 compiles and runs
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-22 16:46:39 -05:00
Jeff Carr 70a506bc59 simple ethernet mac settings
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-18 20:22:37 -05:00
Jeff Carr 8ad58db1cf xml file does virsh create
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-18 14:36:40 -05:00
Jeff Carr c9ccf688c2 start simple xml handling
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-18 07:40:06 -05:00
Jeff Carr 14dadbcf3c write out xml file for virsh create (maybe?)
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-18 06:00:05 -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 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 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 62e9d8cfb1 cleanup STDOUT debugging
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-13 00:40:22 -05:00
Jeff Carr ba61b78631 add daemon mode
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-12 19:44:43 -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 a6b385e216 watchdog for each hypervisor
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-12 11:21:45 -05:00