cancel
Showing results for 
Search instead for 
Did you mean: 
  • 1,302 Views

Fatal: controller.lab.example.com: Failed "This machine doeas not have sufficient RAM to run Ansible

Jump to solution

Try to install AAP for DO  467! 

Inventory:

automationcontroller]
controller.lab.example.com [automationcontroller:vars] peers=execution_nodes [execution_nodes] [automationhub] hub.lab.example.com [automationcatalog] [database] db.lab.example.com [sso] [all:vars] admin_password='redhat' pg_host='db.lab.example.com' pg_port=5432 pg_database='awx' pg_username='awx' pg_password='redhat' pg_sslmode='prefer' # set to 'verify-full' for client-side enforced SSL registry_url='hub.lab.example.com' registry_username='admin' registry_password='redhat' receptor_listener_port=27199 automationhub_admin_password='redhat' automationhub_pg_host='db.lab.example.com' automationhub_pg_port=5432 automationhub_pg_database='automationhub' automationhub_pg_username='automationhub' automationhub_pg_password='redhat' automationhub_pg_sslmode='prefer' automationcatalog_pg_host='' automationcatalog_pg_port=5432 automationcatalog_pg_database='automationservicescatalog' automationcatalog_pg_username='automationservicescatalog' automationcatalog_pg_password='' custom_ca_cert=/home/student/certs/classroom-ca.pem web_server_ssl_cert=/home/student/certs/controller.lab.example.com.crt web_server_ssl_key=/home/student/certs/controller.lab.example.com.key automationhub_ssl_cert=/home/student/certs/hub.lab.example.com.crt automationhub_ssl_key=/home/student/certs/hub.lab.example.com.key postgres_use_ssl=True postgres_ssl_cert=/home/student/certs/db.lab.example.com.crt postgres_ssl_key=/home/student/certs/db.lab.example.com.key sso_keystore_password='' sso_console_admin_password=''

 

Michael Fuhr
2 Solutions

Accepted Solutions
Travis
Moderator
Moderator
  • 1,294 Views

@michaelfuhr -

Correct and it won't work and install by default in our classroom environment. The systems don't technically meet the minimum requirements and it does fail the installation. We provide some "switches" to ignore the system check for memory and allowing the installer to run.

Specifically, when running the setup.sh script, you must use the 

-e ignore_preflight_errors=true

option along with that command.  This will tell it to "ignore" the hardware requirements - specifically the memory. Note that this isn't recommended for production systems and should only be used for the course. It should have been highlighted in the student guide with these instructions as well as an explanation of why we are doing that.

 

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training

View solution in original post

juliettet
Mission Specialist
Mission Specialist
  • 469 Views

Thank you for responding Travis! In hindsight, I realized that I had an incorrect value in the inventory file. I had to tear down my environment and re-build it. Everything is working now. Yay! My mistake.

Have a great rest of the week!

View solution in original post

4 Replies
Travis
Moderator
Moderator
  • 1,295 Views

@michaelfuhr -

Correct and it won't work and install by default in our classroom environment. The systems don't technically meet the minimum requirements and it does fail the installation. We provide some "switches" to ignore the system check for memory and allowing the installer to run.

Specifically, when running the setup.sh script, you must use the 

-e ignore_preflight_errors=true

option along with that command.  This will tell it to "ignore" the hardware requirements - specifically the memory. Note that this isn't recommended for production systems and should only be used for the course. It should have been highlighted in the student guide with these instructions as well as an explanation of why we are doing that.

 

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
juliettet
Mission Specialist
Mission Specialist
  • 524 Views

Hi Travis,

I am also facing the same issue when running the setup.sh script with -e ignore_preflight_errors=true.

Is there any other way around this?

Thanks!

Travis
Moderator
Moderator
  • 517 Views

@juliettet -

There is no way around the issue other than to use the option. Ensure that you are running as the root user, you are in the correct directory with the setup.sh script and the inventory file has been configured correctly. The ignore_preflight_errors=true skips the checks on the systems and allows you to install AAP Controller (even though it doesn't meet hardware requirements for memory/CPU/etc.).

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
juliettet
Mission Specialist
Mission Specialist
  • 470 Views

Thank you for responding Travis! In hindsight, I realized that I had an incorrect value in the inventory file. I had to tear down my environment and re-build it. Everything is working now. Yay! My mistake.

Have a great rest of the week!

Join the discussion
You must log in to join this conversation.