Why do I see the message "no foreman.id" variable(s) when syncing an inventory from Satellite on Ansilble Automation Platform?

Solution Verified - Updated -

Issue

  • When syncing an inventory from Satellite, all my hosts are deleted and then created again.
  • Why do I see the message no foreman.id variable(s) when syncing an inventory from Satellite?

    2021-02-23 03:17:04,158 WARNING  awx.main.commands.inventory_import Host "005a19d57540" has no "foreman.id" variable(s)
    2021-02-23 03:17:04,158 WARNING  awx.main.commands.inventory_import Host "0065aea42d26" has no "foreman.id" variable(s)
    2021-02-23 03:17:04,158 WARNING  awx.main.commands.inventory_import Host "016e290db6e5" has no "foreman.id" variable(s)
    2021-02-23 03:17:04,158 WARNING  awx.main.commands.inventory_import Host "0194430af4e3" has no "foreman.id" variable(s)
    2021-02-23 03:17:04,158 WARNING  awx.main.commands.inventory_import Host "01b3b9ae5891" has no "foreman.id" variable(s)
    2021-02-23 03:17:04,158 WARNING  awx.main.commands.inventory_import Host "01c75b38ecb6" has no "foreman.id" variable(s)
    2021-02-23 03:17:04,158 WARNING  awx.main.commands.inventory_import Host "0239627e2934" has no "foreman.id" variable(s)
    2021-02-23 03:17:04,159 WARNING  awx.main.commands.inventory_import Host "02428de1739b" has no "foreman.id" variable(s)
    2021-02-23 03:17:04,159 WARNING  awx.main.commands.inventory_import Host "03378be62ff0" has no "foreman.id" variable(s)
    2021-02-23 03:17:04,159 WARNING  awx.main.commands.inventory_import Host "03420b6e1984" has no "foreman.id" variable(s)
    2021-02-23 03:17:04,159 WARNING  awx.main.commands.inventory_import Host "03679268fe3e" has no "foreman.id" variable(s)
    

Environment

  • Red Hat Satellite 6.8
  • Red Hat Ansible Tower >= 3.8
  • Red Hat Ansible Automation Platform >= 1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content