Giter VIP home page Giter VIP logo

ansible-tower's People

Contributors

amittell avatar arnabsinha4u avatar j2ghz avatar restump avatar stumpr avatar tchellomello avatar termlen0 avatar theonlydoo avatar ybalt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ansible-tower's Issues

Unable to update project

Am getting an error when I try to update a project.

root@75ae45e0832e:/# tail -f /var/log/tower/tower.log
AttributeError: 'RunProjectUpdate' object has no attribute 'revision_path'
2020-11-17 08:58:18,899 ERROR awx.main.tasks project_update 6 execution encountered exception.
Traceback (most recent call last):
File "/var/lib/awx/venv/awx/local/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/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in protected_call
return self.run(*args, **kwargs)
File "/tmp/buildd/ansible-tower-3.2.1/debian/ansible-tower/usr/lib/python2.7/dist-packages/awx/main/tasks.py", line 466, in _wrapped
File "/tmp/buildd/ansible-tower-3.2.1/debian/ansible-tower/usr/lib/python2.7/dist-packages/awx/main/tasks.py", line 915, in run
Exception: project_update 6 (error) encountered an error (rc=None), please see task stdout for details.
tail: unrecognized file system type 0x794c7630 for '/var/log/tower/tower.log'. please report this to [email protected]. reverting to polling

This docker need --privileged flag to work probably

This issue have confused me for a while until I saw the manual noted that Tower should not be installed within any subsystem.

If you run this docker without --privileged flag, the possible outcome will be jobs fail immediately without any stdout provided.

Hope this note will help some people.

OS: Debian 9.3
Docker: 17.12.1-ce, build 7390fc6

Internal server error

I get an internal server error when running the container.

I tried running the container using docker run -d -p 443:443 --name tower ybalt/ansible-tower. After a docker pull.

I also tried building the image locally and running the container. Same issue. (No errors on build)

On the local build, if I hop into the container shell and re-run setup.sh manually, things go well.
On the image I download via docker pull attempting to manually run setup.sh results in a failed task:

task path: /opt/ansible-tower-setup-3.2.1/roles/packages_ubuntu/tasks/install_tower.yml:38
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/packaging/os/apt.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~ && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp/ansible-tmp-1531849037.94-158289672415758 `" && echo ansible-tmp-1531849037.94-158289672415758="` echo /root/.ansible/tmp/ansible-tmp-1531849037.94-158289672415758 `" ) && sleep 0'
<localhost> PUT /tmp/tmpIisCKR TO /root/.ansible/tmp/ansible-tmp-1531849037.94-158289672415758/apt.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1531849037.94-158289672415758/ /root/.ansible/tmp/ansible-tmp-1531849037.94-158289672415758/apt.py && sleep 0'
<localhost> EXEC /bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1531849037.94-158289672415758/apt.py; rm -rf "/root/.ansible/tmp/ansible-tmp-1531849037.94-158289672415758/" > /dev/null 2>&1 && sleep 0'
The full traceback is:
  File "/tmp/ansible_KhUWWP/ansible_module_apt.py", line 960, in main
    cache.update()
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 440, in update
    raise FetchFailedException(e)

fatal: [localhost]: FAILED! => {
    "changed": false, 
    "invocation": {
        "module_args": {
            "allow_unauthenticated": false, 
            "autoclean": false, 
            "autoremove": false, 
            "cache_valid_time": 0, 
            "deb": null, 
            "default_release": null, 
            "dpkg_options": "force-confdef,force-confold", 
            "force": false, 
            "force_apt_get": false, 
            "install_recommends": null, 
            "name": "ansible-tower=3.2.1-*", 
            "only_upgrade": false, 
            "package": [
                "ansible-tower=3.2.1-*"
            ], 
            "purge": false, 
            "state": "present", 
            "update_cache": true, 
            "upgrade": null
        }
    }, 
    "msg": "Failed to update apt cache."
}

Error PROOT_NO_SECCOMP to 1

When I throw a template, it gives this error:

proot error: ptrace(TRACEME): Operation not permitted
proot error: execve("/usr/bin/ansible-playbook"): Operation not permitted
proot info: It seems your kernel contains this bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1202161
To workaround it, set the env. variable PROOT_NO_SECCOMP to 1.
fatal error: see proot --help.
proot error: can't chmod '/tmp/proot-695-bDhmxe': No such file or directory`

run docker with:

docker run -t -d --volumes-from astdata -v ~/certs:/certs -e SERVER_NAME=TOWER -e PROOT_NO_SECCOMP=1 -p 443:443 --name=ast ybalt/ansible-tower

To workaround the issue, I've expected the volume */var/lib/awx* and create a directory with my playbook to test under the projects subdir, however whenever trying to execute it throws the error:

To workaround the issue, I've expected the volume /var/lib/awx and create a directory with my playbook to test under the projects subdir, however whenever trying to execute it throws the error:

Traceback (most recent call last):
File "/tmp/buildd/ansible-tower-3.2.1/debian/ansible-tower/usr/lib/python2.7/dist-packages/awx/main/tasks.py", line 839, in run
RuntimeError: bubblewrap is not installed

Originally posted by @tchellomello in #9 (comment)

Terminated with signal 11

Hi

Do you have any idea why i get this error in Tower?

proot info: pid 597: terminated with signal 11

x509: certificate signed by unknown authority

Hi, I am trying to pull a container but forced with an issue.
Google did not help me :(

Docker version 1.12.6, build 0fdc778/1.12.6
Red Hat Enterprise Linux Server release 7.4 (Maipo)

# docker pull ybalt/ansible-tower
Using default tag: latest
Trying to pull repository registry.access.redhat.com/ybalt/ansible-tower ... 
Trying to pull repository registry.access.redhat.com/ybalt/ansible-tower ... 
Trying to pull repository docker.io/ybalt/ansible-tower ... 
sha256:a558fe26f8fe2420179bacc68e37f8e9e5cd0975507f194e55cdc8e880e3e3a7: Pulling from docker.io/ybalt/ansible-tower
cb56c90f0b30: Pulling fs layer 
0acc551e5716: Pulling fs layer 
8956dcd35143: Pulling fs layer 
908242721214: Waiting 
b44ff14dd3bb: Waiting 
39c5609e9c63: Waiting 
b6108ff4be91: Waiting 
572cdcfffef9: Waiting 
52757e050d59: Waiting 
fabf16e8e4f8: Waiting 
cdd2c0aa93f6: Waiting 
2f4347d07034: Waiting 
374614a06a1b: Waiting 
58e3a6a0326c: Waiting 
751d8b6dae4c: Waiting 
error pulling image configuration: Get https://dseasb33srnrn.cloudfront.net/registry-v2/docker/registry/v2/blobs/sha256/1d/1dac20c66caa8adc07a4cdbae91702fca8d96d648bda3dc5a96ae6a18155bf5a/data?Expires=1508323432&Signature=RYTj1qOf6mVB-yjtgmkQTA17a9BcFnSw48ww3wGXFEd0VvSn4U9JETOWsYglGMeEuFP9lv3CAfkuG9F1QCoZ3hFdZqby6NZoZhji855Q8XN5uBOIuvfEGpxj5jj7gW0mCYv2fk~1NWdvTrk9wAgxrnbOaZZnkQNn~g0DTbSxncQ_&Key-Pair-Id=APKAJECH5M7VWIS5YZ6Q: x509: certificate signed by unknown authority

Regards
iOsX

Error running README commands

Command: docker run -d -P --name tower ybalt/ansible-tower

Version: Docker version 1.12.6, build 6b644ec

Error:

root@Tower:~# docker logs 8a574aa1c8b9
Starting Tower
 * Starting PostgreSQL 9.4 database server
   ...done.
 * Starting message broker rabbitmq-server
 * FAILED - check /var/log/rabbitmq/startup_\{log, _err\}
   ...fail!
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Unlinking stale socket /var/run/supervisor.sock
Starting supervisor: supervisord.

permission denied for private key

Have you tried to boot this image on docker cloud?

When I do I get the following error:

image

However running the image via docker-compose on my local machine does work. So this may be an issue with docker cloud specifically.

Any suggestions you have would be great. Thanks!

have error

dockerfile should be change this line : "ADD licence /etc/tower/license" to "ADD license /etc/tower/license"

I got a error bubblewrap is not installed

This is the detail :
RESULTS TRACEBACK
Traceback (most recent call last): File "/tmp/buildd/ansible-tower-3.2.1/debian/ansible-tower/usr/lib/python2.7/dist-packages/awx/main/tasks.py", line 839, in run RuntimeError: bubblewrap is not installed

why is it happend ? Is ansible running need by bubblewrap

stdout capture is missing

Can't execute any jobs, getting the following error in the standard out panel:
stdout capture is missing

Tried the image on my mac and linux box.

rabbitmq-server service error

Hi Team ,

Getting below error.

Starting Tower

  • Starting PostgreSQL 9.6 database server
    ...done.
  • Starting message broker rabbitmq-server
  • FAILED - check /var/log/rabbitmq/startup_{log, _err}
    ...fail!
    Starting supervisor: supervisord.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.