disposab1e / okd-lab

Controlled Environment for OKD4 experiments
Apache License 2.0
30 stars 11 forks source link

Storage pool provisioning with Ansible instead of Virtual Machine Manager GUI #7

Closed manfredmuth closed 3 years ago

manfredmuth commented 4 years ago

issue #6 related

https://github.com/disposab1e/okd-lab/issues/6

The storage pool default will be created in the system context.

Destination /okd_lab

Many things still hard coded. But in line with the defaults introduced by project team.

disposab1e commented 4 years ago

@manfredmuth Cool! I will come back to you when I had more time this week. So far many thx for your contribution!

disposab1e commented 4 years ago

@manfredmuth The default pool is available in my installation of CentOS. Did you install with my doxs or do you have your own libvirt installation?

disposab1e commented 4 years ago

@manfredmuth regarding vnc... there was a bug in my docs with the port. The vnc server is started automatically on localhost 5999. Why did you start it manually?

manfredmuth commented 4 years ago

@manfredmuth The default pool is available in my installation of CentOS. Did you install with my doxs or do you have your own libvirt installation?

I used the standard Hetzner CentOS 7.8 install and folloowed the installation instructions in the documentation. But the default storage pool in context qemu:///system was not created by default.

manfredmuth commented 4 years ago

@manfredmuth regarding vnc... there was a bug in my docs with the port. The vnc server is started automatically on localhost 5999. Why did you start it manually?

You are right. the vncserver was started by default. Seems I cured my homemade problems by starting it manually on a different port

disposab1e commented 4 years ago

@manfredmuth To be honest I installed it many times and the default pool was always in place. I wonder a little... perhaps it's created when starting the GUI application, what I always do?

disposab1e commented 4 years ago

When you install it with Hetzner.... do you choose "Linux" or "VNC" as installation type?

disposab1e commented 4 years ago

vnc is a little bit tricky... but when you do it exactly as documented all should work fine.

manfredmuth commented 4 years ago

When you install it with Hetzner.... do you choose "Linux" or "VNC" as installation type? I use the VNC option

disposab1e commented 4 years ago

And I'm sure:

Software Selection Virtualization Host Virtualization Platform System Administration Tools

manfredmuth commented 4 years ago

And I'm sure:

Software Selection Virtualization Host Virtualization Platform System Administration Tools

Yes - exactly this ....

disposab1e commented 4 years ago

Ok... I try to reproduce...

disposab1e commented 4 years ago

Yes it's missing when you not start the GUI "Applications -> System Tools -> Virtual Machine Manager" what I have always done after a fresh installation.

The GUI does all the initial setup...

disposab1e commented 4 years ago

I hope you don't mind! I have decided to document it instead of using your ansible files for the following reasons:

I also fixed the wrong file pathes for sizing and your "It's" to "It is"

All is done on the release-0.0.4 branch. I will switch to newest software and openshift versions on this branch too before I release a new version.

Anyway... it's a pleasure that you have used my small project and found this ugly bug!

Everything else was working for you out of the box?

manfredmuth commented 4 years ago

Fine - you are the boss! Everything else is working

disposab1e commented 4 years ago

Great that everything else works for you. If you want to have some enhancements please let me know. I leave this pull request open for all others who want to go a different way than with the VMM GUI.

disposab1e commented 3 years ago

Time to close it...