NIAEFEUP / niployments

8 stars 0 forks source link

Router VM setup on physical cluster #20

Closed LuisDuarte1 closed 5 months ago

LuisDuarte1 commented 7 months ago

While on the digital twin cluster, the router is a VM of itself, the physical cluster will not have a dedicated node to running the cluster resources. We will be using a VM for running the router resources with a dedicated PCI-E NIC that uses PCI-E passthrough for isolating the NIC from the host system.

However, we have a bootstrapping problem: for proper deployment, we need internet but, we need a router to configure internet access. To solve this loop, we will have a bootstrapping script embedded in the installation of NInux that temporarily configures internet access and bootstraps the minimal configuration of the router.

LuisDuarte1 commented 6 months ago

Trying to run the playbook with the vagrant cluster, I got an error: fatal: [cluster1]: FAILED! => {"msg": "You need to install \"jmespath\" prior to running json_query filter"}. Dunno if this is a missing dependency somewhere.

jmespath is a dependency that doesn't come by default in Ansible. I will add documentation on the still very WIP physical cluster deploy docs