Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean-interfaces.sh --nuke will fail at install time #542

Open
ekuric opened this issue Aug 29, 2024 · 0 comments
Open

clean-interfaces.sh --nuke will fail at install time #542

ekuric opened this issue Aug 29, 2024 · 0 comments

Comments

@ekuric
Copy link
Contributor

ekuric commented Aug 29, 2024

On newly allocated cloud installation will fail with below message because /root/clean-interfaces.sh --nuke fails. Seems this script expect interface exist ( set with setup-interfaces.sh ) in order to be fine - so we have two options

  • either prerun setup-interfaces.sh before clean-interfaces.sh is ran
  • make clean-interfaces.sh to ignore below errors and not fail
TASK [bastion-install : Clean lab interfaces] ***********************************************************************************************************************************************************************************************
Tuesday 27 August 2024  09:44:34 +0000 (0:00:00.813)       0:00:30.162 ******** 
fatal: [f12-h04-000-1029u.rdu2.scalelab.redhat.com]: FAILED! => {"changed": true, "cmd": "/root/clean-interfaces.sh --nuke\n", "delta": "0:00:00.286295", "end": "2024-08-27 09:44:34.744130", "msg": "non-zero return code", "rc": 10, "start": "2024-08-27 09:44:34.457835", "stderr": "Error: 'ens1f0' is not an active connection.\nError: no active connection provided.\nError: unknown connection 'ens1f0'.\nError: cannot delete unknown connection(s): 'ens1f0'.\nError: 'ens1f0.101' is not an active connection.\nError: no active connection provided.\nError: unknown connection 'ens1f0.101'.\nError: cannot delete unknown connection(s): 'ens1f0.101'.\nError: 'ens1f1' is not an active connection.\nError: no active connection provided.\nError: unknown connection 'ens1f1'.\nError: cannot delete unknown connection(s): 'ens1f1'.\nError: 'ens1f1.102' is not an active connection.\nError: no active connection provided.\nError: unknown connection 'ens1f1.102'.\nError: cannot delete unknown connection(s): 'ens1f1.102'.\nError: 'ens2f0' is not an active connection.\nError: no active connection provided.\nError: unknown connection 'ens2f0'.\nError: cannot delete unknown connection(s): 'ens2f0'.\nError: 'ens2f0.103' is not an active connection.\nError: no active connection provided.\nError: unknown connection 'ens2f0.103'.\nError: cannot delete unknown connection(s): 'ens2f0.103'.\nError: 'ens2f1' is not an active connection.\nError: no active connection provided.\nError: unknown connection 'ens2f1'.\nError: cannot delete unknown connection(s): 'ens2f1'.\nError: 'ens2f1.104' is not an active connection.\nError: no active connection provided.\nError: unknown connection 'ens2f1.104'.\nError: cannot delete unknown connection(s): 'ens2f1.104'.\nError: 'nic5' is not an active connection.\nError: no active connection provided.\nError: unknown connection 'nic5'.\nError: cannot delete unknown connection(s): 'nic5'.\nError: 'nic5.105' is not an active connection.\nError: no active connection provided.\nError: unknown connection 'nic5.105'.\nError: cannot delete unknown connection(s): 'nic5.105'.", "stderr_lines": ["Error: 'ens1f0' is not an active connection.", "Error: no active connection provided.", "Error: unknown connection 'ens1f0'.", "Error: cannot delete unknown connection(s): 'ens1f0'.", "Error: 'ens1f0.101' is not an active connection.", "Error: no active connection provided.", "Error: unknown connection 'ens1f0.101'.", "Error: cannot delete unknown connection(s): 'ens1f0.101'.", "Error: 'ens1f1' is not an active connection.", "Error: no active connection provided.", "Error: unknown connection 'ens1f1'.", "Error: cannot delete unknown connection(s): 'ens1f1'.", "Error: 'ens1f1.102' is not an active connection.", "Error: no active connection provided.", "Error: unknown connection 'ens1f1.102'.", "Error: cannot delete unknown connection(s): 'ens1f1.102'.", "Error: 'ens2f0' is not an active connection.", "Error: no active connection provided.", "Error: unknown connection 'ens2f0'.", "Error: cannot delete unknown connection(s): 'ens2f0'.", "Error: 'ens2f0.103' is not an active connection.", "Error: no active connection provided.", "Error: unknown connection 'ens2f0.103'.", "Error: cannot delete unknown connection(s): 'ens2f0.103'.", "Error: 'ens2f1' is not an active connection.", "Error: no active connection provided.", "Error: unknown connection 'ens2f1'.", "Error: cannot delete unknown connection(s): 'ens2f1'.", "Error: 'ens2f1.104' is not an active connection.", "Error: no active connection provided.", "Error: unknown connection 'ens2f1.104'.", "Error: cannot delete unknown connection(s): 'ens2f1.104'.", "Error: 'nic5' is not an active connection.", "Error: no active connection provided.", "Error: unknown connection 'nic5'.", "Error: cannot delete unknown connection(s): 'nic5'.", "Error: 'nic5.105' is not an active connection.", "Error: no active connection provided.", "Error: unknown connection 'nic5.105'.", "Error: cannot delete unknown connection(s): 'nic5.105'."], "stdout": "", "stdout_lines": []}``` 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant