Last active
November 29, 2017 05:03
-
-
Save linuxsimba/30a9fc796d508a186480726de5c79e51 to your computer and use it in GitHub Desktop.
inventory config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tower_package_name: 'ansible-tower' | |
tower_package_version: '3.2.1' | |
tower_package_release: '1' | |
# BEGIN ANSIBLE MANAGED BLOCK | |
admin_password: "tower" | |
pg_host: "postgres1" | |
pg_port: '5432' | |
pg_database: "awx" | |
pg_username: "awx" | |
pg_password: "tower" | |
rabbitmq_port: '5672' | |
rabbitmq_vhost: tower | |
rabbitmq_username: awx | |
rabbitmq_password: tower | |
rabbitmq_cookie: tower | |
rabbitmq_use_long_name: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tower] | |
tower1 | |
[instance_group_base] | |
tower1 | |
[isolated_group_one] | |
tower2 | |
[isolated_group_two] | |
tower3 | |
[isolated_group_one:vars] | |
controller=base | |
[isolated_group_two:vars] | |
controller=base | |
[database] | |
postgres1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Status stays stuck on Running for a very very long time. Left it going for 20minutes at one time before I killed it. | |
STATUS | |
Running | |
STARTED | |
28/11/2017 23:59:40 | |
FINISHED | |
Not Finished | |
TEMPLATE | |
tower2-test | |
JOB TYPE | |
Run | |
LAUNCHED BY | |
admin | |
INVENTORY | |
tower2-inv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
no routes configured | |
only access to tower3 | |
10.1.3.20 10.1.3.10 | |
+--------+ +----------+ | |
| | | | | |
towertest3 | | tower3 (bi-dir ip access with tower1) | |
| | | | | |
+--+-----+ +-----+----+ | |
| | | |
| | | |
+----------+-----+ | |
| | |
| +-------+ | |
+---------+ 10.1.3.2 | | | |
| | | | tower2| | |
| postgres1 | +--+ | | |
| +--+ 10.1.1.2 | | +-------+ | |
+---------+ | +----+--+ | 10.1.4.10 (bi-dir ip access with tower1) | |
10.1.1.3 | | | | | |
+----------+ Generic------+ | |
| | RTR | | | |
+----------+ | +-------+ | 10.1.4.20 | |
| | | 10.1.4.2 | +--------+ | |
| +-+ | | | | |
| tower1 | +--+ testtower2 VM | |
| | | | | |
+----------+ +--------+ | |
10.1.1.4 no routes configured | |
only accessible by tower2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task | |
R = retval = fun(*args, **kwargs) | |
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__ | |
return self.run(*args, **kwargs) | |
File "/lib/python2.7/site-packages/awx/main/tasks.py", line 283, in awx_isolated_heartbeat | |
File "/lib/python2.7/site-packages/awx/main/expect/isolated_manager.py", line 433, in health_check | |
File "/lib/python2.7/site-packages/awx/main/expect/isolated_manager.py", line 388, in update_capacity | |
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/base.py", line 734, in save | |
force_update=force_update, update_fields=update_fields) | |
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/base.py", line 762, in save_base | |
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) | |
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/base.py", line 827, in _save_table | |
forced_update) | |
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/base.py", line 877, in _do_update | |
return filtered._update(values) > 0 | |
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/query.py", line 580, in _update | |
return query.get_compiler(self.db).execute_sql(CURSOR) | |
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 1062, in execute_sql | |
cursor = super(SQLUpdateCompiler, self).execute_sql(result_type) | |
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 840, in execute_sql | |
cursor.execute(sql, params) | |
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute | |
return self.cursor.execute(sql, params) | |
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/utils.py", line 98, in __exit__ | |
six.reraise(dj_exc_type, dj_exc_value, traceback) | |
File "/var/lib/awx/venv/awx/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute | |
return self.cursor.execute(sql, params) | |
IntegrityError: new row for relation "main_instance" violates check constraint "main_instance_capacity_check" | |
DETAIL: Failing row contains (2, 2f144a2c-3322-42f2-afcb-49e274d34931, tower2, 2017-11-29 03:28:13.803368+00, 2017-11-29 04:13:26.016032+00, -25, 3.2.1-isolated, 2017-11-29 04:13:13.105386+00). | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment