# AWX on K3s - Instance group - Inventory permission denied

**URL:** <https://forum.ansible.com/t/awx-on-k3s-instance-group-inventory-permission-denied/40264>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [February 14, 2025, 8:10am UTC](https://forum.ansible.com/t/awx-on-k3s-instance-group-inventory-permission-denied/40264 "2025-02-14T08:10:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabeer](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/fabeer/32/7591_2.png) [@fabeer](https://forum.ansible.com/u/fabeer)\
**Post date:** [February 14, 2025, 8:10am UTC](https://forum.ansible.com/t/awx-on-k3s-instance-group-inventory-permission-denied/40264/1 "2025-02-14T08:10:07Z")

</div>

I have awx installed through k3s.  
I have configured an instance group with two instance eexecution nodes, one of which is attested on a dmz.  
For testing, I left only the instance node active in dmz. Quado I run a template using the instance group, however, I get the following error:

```auto
unable to read either as JSON nor YAML, these are the errors we got from each:
JSON: Expecting value: line 1 column 1 (char 0) Syntax Error while loading
YAML. did not find expected key The error appears to be in
'/runner/inventory/hosts': line 3, column 91, but may be elsewhere in the file
depending on the exact syntax problem. The offending line appears to be: #
-*- coding: utf-8 -*- print('{"all": {"hosts": ["server1",
"server2"]}, "_meta": {"hostvars":
{"server1": {"remote_host_enabled": "true",
"remote_host_id": 167, "remote_tower_enabled": "true", "remote_tower_id": 167},
"server2": {"remote_host_enabled": "true",
"remote_host_id": 166, "remote_tower_enabled": "true", "remote_tower_id":
166}}}}')
^ here We could be wrong, but this one looks like it might be an issue with
unbalanced quotes. If starting a value with a quote, make sure the line ends
with the same set of quotes. For instance this arbitrary example: foo:
"bad" "wolf" Could be written as: foo: '"bad" "wolf"'
[WARNING]: * Failed to parse /runner/inventory/hosts with ini plugin: host
range must be begin:end or begin:end:step
[WARNING]: Unable to parse /runner/inventory/hosts as an inventory source
[WARNING]: Unable to parse /runner/inventory as an inventory source
ERROR! No inventory was parsed, please check your configuration and options.

```

If I deactivate the instance node in DMZ and activate the other one present in the instance group the error does not occur

What could be the problem?

---

<div class="post-metadata">

**Author:** ![fabeer](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/fabeer/32/7591_2.png) [@fabeer](https://forum.ansible.com/u/fabeer)\
**Post date:** [February 14, 2025, 2:34pm UTC](https://forum.ansible.com/t/awx-on-k3s-instance-group-inventory-permission-denied/40264/2 "2025-02-14T14:34:25Z")

</div>

Resolved. Problem related to restrictions on /tmp filesystem.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [March 16, 2025, 2:35pm UTC](https://forum.ansible.com/t/awx-on-k3s-instance-group-inventory-permission-denied/40264/3 "2025-03-16T14:35:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
