ubicloud/rhizome/host/bin
Daniel Farina fcb93202c3 Make setup-vm fail earlier
I saw a case of a nil-expansion of `dns_ipv4` causing this error in code that looks like this:

    r "ip -n #{q_vm} addr replace #{dns_ipv4} dev #{nic.tap}"

And has errors like:

    ---STDERR---
    RTNETLINK answers: Operation not supported
            from /home/rhizome/host/lib/vm_setup.rb:271:in `block in setup_taps_6'
            from /home/rhizome/host/lib/vm_setup.rb:268:in `each'
            from /home/rhizome/host/lib/vm_setup.rb:268:in `setup_taps_6'
            from /home/rhizome/host/lib/vm_setup.rb:96:in `setup_networking'
            from /home/rhizome/host/lib/vm_setup.rb:49:in `block in prep'
    /home/rhizome/common/lib/util.rb:29:in `r': command failed: ip -n vmg1x0hy addr replace  dev nc9g0we9s2 (CommandFail)

While this was probably caused by an old running code image, it seems
like we can check for the existence of obliged fields in `params.json`
as we do all the others, for some reason, a couple got square brackets
rather than `.fetch`.
2024-10-17 01:35:20 -07:00
..
delete-old-serial-logs Add cron job to clean-up serial.log files older than 1hr 2024-02-13 12:16:36 +01:00
download-boot-image Enforce URL and Version in download-boot-image. 2024-05-16 09:34:30 -07:00
download-cloud-hypervisor Standalone executable to download cloud hypervisor 2024-06-13 17:11:42 +02:00
download-firmware Standalone executable to download new firmware 2024-05-24 15:32:00 +02:00
prep_host.rb Configure OpenSSH settings according to Mozilla guidelines 2024-09-26 11:00:11 +02:00
reboot-host Add a binary in rhizome to reboot host. 2023-10-03 12:48:52 -07:00
setup-cert-server Add Cert Server initializer 2024-09-12 11:26:45 +02:00
setup-nftables.rb Fix setup-nftables for VmHosts without additional subnets 2024-03-26 09:40:53 +01:00
setup-spdk Allow configurable cpu count for SPDK in rhizome. 2024-03-28 11:05:33 -07:00
setup-sysstat Install Sysstat. 2023-11-10 12:54:43 -08:00
setup-vm Make setup-vm fail earlier 2024-10-17 01:35:20 -07:00
storage-key-tool Add rhizome multi-device storage abstractions 2024-01-24 09:19:33 -08:00