Evaluating AWX and just got it installed. Set up Azure (Microsoft Azure Resource Manager) as a an Inventory Source and attempting to sync. It appears to be connecting ok, but AWX is saying we don't have any hosts. We have a few hundred on this Azure account. Here are the logs from the sync job: 2017-09-19 20:45:51,675 INFO awx.main.commands.inventory_import Updating inventory 4: azure-prd9 2017-09-19 20:45:51,692 INFO awx.main.commands.inventory_import Reading Ansible inventory source: /usr/lib/python2.7/site-packages/awx/plugins/inventory/azure_rm.py 2017-09-19 20:45:58,095 INFO awx.main.commands.inventory_import Processing JSON output... 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Loaded group: all 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Loaded group: azure 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Adding child group azure to parent all 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Adding child group azure to parent all 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Finished loading from source: /usr/lib/python2.7/site-packages/awx/plugins/inventory/azure_rm.py 2017-09-19 20:45:58,096 DEBUG awx.main.commands.inventory_import Removing empty group azure 2017-09-19 20:45:58,096 INFO awx.main.commands.inventory_import Loaded 0 groups, 0 hosts 2017-09-19 20:45:58,178 INFO awx.main.commands.inventory_import Inventory variables unmodified 2017-09-19 20:45:58,181 DEBUG awx.main.models.inventory Going to update inventory computed fields 2017-09-19 20:45:58,217 DEBUG awx.main.models.inventory Finished updating inventory computed fields 2017-09-19 20:45:58,218 INFO awx.main.commands.inventory_import Inventory import completed for azure-prd9 in 6.5s Am I missing something? Thanks!
--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/fa758ab8-0e53-44a2-9814-6f5b4232a648%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
azure can be a little picky in it's configuration. Can you get the expected results if you run the standalone inventory script (which is what awx itself uses): http://docs.ansible.com/ansible/latest/guide_azure.html#dynamic-inventory-script
On Tue, Sep 19, 2017 at 5:10 PM, Nigel M <nmclo...@gmail.com> wrote:
Evaluating AWX and just got it installed. Set up Azure (Microsoft Azure Resource Manager) as a an Inventory Source and attempting to sync. It appears to be connecting ok, but AWX is saying we don't have any hosts. We have a few hundred on this Azure account. Here are the logs from the sync job: 2017-09-19 20:45:51,675 INFO awx.main.commands.inventory_import Updating inventory 4: azure-prd9 2017-09-19 20:45:51,692 INFO awx.main.commands.inventory_import Reading Ansible inventory source: /usr/lib/python2.7/site-packages/awx/plugins/inventory/azure_rm.py 2017-09-19 20:45:58,095 INFO awx.main.commands.inventory_import Processing JSON output... 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Loaded group: all 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Loaded group: azure 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Adding child group azure to parent all 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Adding child group azure to parent all 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Finished loading from source: /usr/lib/python2.7/site-packages/awx/plugins/inventory/azure_rm.py 2017-09-19 20:45:58,096 DEBUG awx.main.commands.inventory_import Removing empty group azure 2017-09-19 20:45:58,096 INFO awx.main.commands.inventory_import Loaded 0 groups, 0 hosts 2017-09-19 20:45:58,178 INFO awx.main.commands.inventory_import Inventory variables unmodified 2017-09-19 20:45:58,181 DEBUG awx.main.models.inventory Going to update inventory computed fields 2017-09-19 20:45:58,217 DEBUG awx.main.models.inventory Finished updating inventory computed fields 2017-09-19 20:45:58,218 INFO awx.main.commands.inventory_import Inventory import completed for azure-prd9 in 6.5s Am I missing something? Thanks!
--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/fa758ab8-0e53-44a2-9814-6f5b4232a648%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/72d2a227-bc7f-4b13-a24d-d35dc7300d10%40googlegroups.com.
Which inventory script did you use to test with on Ansible itself?
On Wed, Sep 20, 2017 at 11:33 AM, Nigel M <nmclo...@gmail.com> wrote:
Thanks, I was able to run the command manually without any issues. Perhaps there is a way for me to enable more detailed logging? Thanks again.--
On Tuesday, September 19, 2017 at 9:05:55 PM UTC-4, Matthew Jones wrote:azure can be a little picky in it's configuration. Can you get the expected results if you run the standalone inventory script (which is what awx itself uses): http://docs.ansible.com/ansible/latest/guide_azure.html#dynamic-inventory-scriptOn Tue, Sep 19, 2017 at 5:10 PM, Nigel M <nmclo...@gmail.com> wrote:--Evaluating AWX and just got it installed. Set up Azure (Microsoft Azure Resource Manager) as a an Inventory Source and attempting to sync. It appears to be connecting ok, but AWX is saying we don't have any hosts. We have a few hundred on this Azure account. Here are the logs from the sync job: 2017-09-19 20:45:51,675 INFO awx.main.commands.inventory_import Updating inventory 4: azure-prd9 2017-09-19 20:45:51,692 INFO awx.main.commands.inventory_import Reading Ansible inventory source: /usr/lib/python2.7/site-packages/awx/plugins/inventory/azure_rm.py 2017-09-19 20:45:58,095 INFO awx.main.commands.inventory_import Processing JSON output... 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Loaded group: all 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Loaded group: azure 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Adding child group azure to parent all 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Adding child group azure to parent all 2017-09-19 20:45:58,095 DEBUG awx.main.commands.inventory_import Finished loading from source: /usr/lib/python2.7/site-packages/awx/plugins/inventory/azure_rm.py 2017-09-19 20:45:58,096 DEBUG awx.main.commands.inventory_import Removing empty group azure 2017-09-19 20:45:58,096 INFO awx.main.commands.inventory_import Loaded 0 groups, 0 hosts 2017-09-19 20:45:58,178 INFO awx.main.commands.inventory_import Inventory variables unmodified 2017-09-19 20:45:58,181 DEBUG awx.main.models.inventory Going to update inventory computed fields 2017-09-19 20:45:58,217 DEBUG awx.main.models.inventory Finished updating inventory computed fields 2017-09-19 20:45:58,218 INFO awx.main.commands.inventory_import Inventory import completed for azure-prd9 in 6.5s Am I missing something? Thanks!
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/fa758ab8-0e53-44a2-9814-6f5b4232a648%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Matt JonesPrincipal Software EngineerAnsible Tower
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project...@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/72d2a227-bc7f-4b13-a24d-d35dc7300d10%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/4c0f4f50-26cf-4f70-a076-e363f147696a%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/4c0f4f50-26cf-4f70-a076-e363f147696a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/703973aa-8eb0-443f-9789-e36b1d62ab31%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/703973aa-8eb0-443f-9789-e36b1d62ab31%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/be6e742b-1da4-401e-94ed-9855047606ca%40googlegroups.com.