oracle / vagrant-projects

Vagrant projects for Oracle products and other examples
Universal Permissive License v1.0
945 stars 477 forks source link

Could not process rule #468

Closed pguerin3 closed 1 year ago

pguerin3 commented 1 year ago

Was executing a 'vagrant up' and during the creation of worker1, I get the 'Could not process rule'.

Environment

Additional information

image

pguerin3 commented 1 year ago

Tried the following :

dnf install kernel-uek-modules kernel-uek-devel
rcvboxdrv setup
systemctl reboot

Still get the same error on 'vagrant up'.

hussam-qasem commented 1 year ago

Try:

sudo dnf install -y kernel-uek-modules-$(uname -r)

As described in this response issue #460 .

pguerin3 commented 1 year ago

Already installed previously.

image

hussam-qasem commented 1 year ago

The kernel module needs to be installed inside the VM, not host. There's a pending PR for your/this issue. Please update your:

and let me know if the error disappears.

pguerin3 commented 1 year ago

There is no dockerfile in here: https://github.com/oracle/vagrant-projects/tree/main/OCNE

hussam-qasem commented 1 year ago

There is no dockerfile in here: https://github.com/oracle/vagrant-projects/tree/main/OCNE

Sorry. I meant Vagrantfile - it was pointing to the correct file.

pguerin3 commented 1 year ago

Inside the provision.sh, and inside the setup_repos() function, I added:

echo_do sudo dnf install -y kernel-uek-modules kernel-uek-devel
echo_do sudo dnf install -y kernel-uek-modules-"$(name -r)"

This change is successful as both worker nodes are created now.

pguerin3 commented 1 year ago

The next problem is the master node, which fails with a certificate error:

image

hussam-qasem commented 1 year ago

The next problem is the master node, which fails with a certificate error:

image

You also need to install OpenSSL, it’s there in the provision script I shared.

pguerin3 commented 1 year ago

ok - I didn't realise that I had to copy the full scripts over to my local directory. I have done that now, and the Vagrant Up works, and I have access to the 3 default VMs. Thankyou.