ocp-power-automation / ocp4-upi-kvm

OCP4 on KVM/Power
Apache License 2.0
17 stars 20 forks source link

Add gcc to prepare bastion package install list #78

Closed lukebrowning closed 3 years ago

lukebrowning commented 3 years ago

Using a RHEL 8.3 bastion image, the ansible package fails to pip install as the cryptology module cannot be compiled as there is no compiler.

The error manifests as:

module.prepare.null_resource.bastion_init (remote-exec): Connected! module.prepare.null_resource.bastion_init: Still creating... [2m20s elapsed] module.prepare.null_resource.bastion_init: Still creating... [2m30s elapsed] module.prepare.null_resource.bastion_init: Still creating... [2m40s elapsed] module.prepare.null_resource.bastion_init: Still creating... [2m50s elapsed] module.prepare.null_resource.bastion_init (remote-exec): Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-2bd3sfun/cryptography/Error: error executing "/tmp/terraform_1470345862.sh": Process exited with status 1

Signed-off-by: Luke Browning lukebrowning@us.ibm.com

lukebrowning commented 3 years ago

BTW, this error was encountered by Lysanne Fernandes and Ron Edmark. They were given RHEL 8.3 servers and then tried to create OCP clusters using a RHEL 8.3 bastion qcow images.

yussufsh commented 3 years ago

Hi Luke,

I have a long pending change to install ansible package from RH repository. I think this PR will be invalid and you will not get such issue using yum install option.

Let me know what you think.

yussufsh commented 3 years ago

@lukebrowning I have created https://github.com/ocp-power-automation/ocp4-upi-kvm/pull/79 for the ansible install change. Could you please help me test this on RHEL 8.3? The KVM box I use for my tests is not in working condition and your help is needed.

lukebrowning commented 3 years ago

@yussufsh I will help you test your change. I have been buried lately. It will be next week before I will get to this though.

lukebrowning commented 3 years ago

Fixed by #79