Skip to content

Instantly share code, notes, and snippets.

View chouseknecht's full-sized avatar

Chris Houseknecht chouseknecht

View GitHub Profile
ov 10 16:33:36 ip-10-0-10-108 rq[16473]: /usr/lib64/python3.6/asyncio/events.py:145: RuntimeWarning: coroutine 'BaseDownloader.run' was never awaited
Nov 10 16:33:36 ip-10-0-10-108 rq[16473]: self._callback(*self._args)
Nov 10 16:33:36 ip-10-0-10-108 rq[16473]: pulp: rq.worker:ERROR: Traceback (most recent call last):
Nov 10 16:33:36 ip-10-0-10-108 rq[16473]: File "/usr/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
Nov 10 16:33:36 ip-10-0-10-108 rq[16473]: return self.cursor.execute(sql, params)
Nov 10 16:33:36 ip-10-0-10-108 rq[16473]: psycopg2.IntegrityError: duplicate key value violates unique constraint "unique_is_highest"
Nov 10 16:33:36 ip-10-0-10-108 rq[16473]: DETAIL: Key (collection_id, is_highest)=(0ae257f5-5916-4ce9-a617-d04c2059d5a2, t) already exists.
Nov 10 16:33:36 ip-10-0-10-108 rq[16473]: The above exception was the direct cause of the following exception:
Nov 10 16:33:36 ip-10-0-10-108 rq[16473]: Traceback (most recent call last):
Nov 10 16:33:36 ip-10-
Django app detected
Working in development environment
BASE_DIR: '/home/vagrant/devel/pulpcore/pulpcore/app'
DEBUG: False
ALLOWED_HOSTS: ['*']
MEDIA_ROOT: '/var/lib/pulp/'
STATIC_URL: '/static/'
STATIC_ROOT: '/var/lib/pulp/assets/'
DEFAULT_FILE_STORAGE: 'pulpcore.app.models.storage.FileSystem'
FILE_UPLOAD_TEMP_DIR: '/var/lib/pulp/tmp/'
pulp_default_admin_password: password
pulp_install_source: pip
pulp_settings:
secret_key: secret
content_origin: "https://{{ inventory_hostname }}"
x_pulp_api_host: 127.0.0.1
x_pulp_api_port: 24817
x_pulp_api_user: "admin"
x_pulp_api_password: "{{ pulp_default_admin_password }}"
x_pulp_api_prefix: "pulp_ansible/galaxy/automation-hub/api"
# Options
pulp_devel_supplement_bashrc: true
pulp_default_admin_password: password
pulp_install_plugins:
pulp-ansible:
source_dir: "/home/vagrant/devel/pulp_ansible"
galaxy-ng:
source_dir: "/home/vagrant/devel/galaxy_ng"
pulp-container:
source_dir: "/home/vagrant/devel/pulp_container"
@chouseknecht
chouseknecht / upload_collection.yml
Last active June 23, 2020 11:34
Automated Collection Upload
---
- hosts: all
vars:
galaxy_api_url: http://localhost:5001/api/automation-hub/
galaxy_username: admin
galaxy_password: password
galaxy_namespace:
name: "newswangerd"
description: "Example collections"
galaxy_collection_path: newswangerd-collection_demo-1.0.10.tar.gz
ERROR TypeError: this.http.get(...).map is not a function
at AuthService.push../src/app/auth/auth.service.ts.AuthService.me (auth.service.ts:52)
at AppComponent.push../src/app/app.component.ts.AppComponent.ngOnInit (app.component.ts:126)
at checkAndUpdateDirectiveInline (core.js:12411)
at checkAndUpdateNodeInline (core.js:13935)
at checkAndUpdateNode (core.js:13878)
at debugCheckAndUpdateNode (core.js:14771)
at debugCheckDirectivesFn (core.js:14712)
at Object.eval [as updateDirectives] (AppComponent_Host.ngfactory.js? [sm]:1)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:14697)
galaxy=> select * from main_repositoryversion where repository_id = 41853;
id | created | modified | tag | version | commit_date | repository_id | commit_sha
-------+-------------------------------+-------------------------------+----------+---------+------------------------+---------------+------------
69821 | 2018-06-28 19:04:25.6899+00 | 2018-06-28 19:04:25.689939+00 | v1.0.7.1 | 1.0.7.1 | 2017-08-31 22:23:02+00 | 41853 |
27156 | 2017-03-01 05:01:37.102419+00 | 2018-02-21 13:29:20.539017+00 | v1.0.0 | 1.0.0 | 2017-03-01 04:49:15+00 | 41853 |
32100 | 2017-05-22 21:44:15.328666+00 | 2018-02-21 13:29:20.118228+00 | v1.0.3 | 1.0.3 | 2017-05-22 21:25:51+00 | 41853 |
32097 | 2017-05-22 19:45:49.512947+00 | 2018-02-21 13:29:20.290427+00 | v1.0.2 | 1.0.2 | 2017-05-22 19:43:45+00 | 41853 |
32092 | 2017-05-22 18:19:15.029564+00 | 2018-02-21 13:29:20.410918+00 | v1.0.1 | 1.0.1 | 2017-05-22 18:10:18+00
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
INFO Starting import: task_id=5, repository=atestuseraccount/debops
DEBUG Content search - Looking for file "apb.yml"
DEBUG Content search - Looking for top level role metadata file
DEBUG Content search - Analyzing repository structure
WARNING [ROLE: debops.monit] Found "categories" in metadata. Update the metadata to use "galaxy_tags" rather than categories.
INFO [ROLE: debops.monit] Linting...
INFO [ROLE: debops.monit] Linting OK.
INFO [ROLE: debops.nodejs] Linting...
INFO [ROLE: debops.nodejs] Linting OK.
INFO [ROLE: debops.apt_mark] Linting...
Traceback (most recent call last):
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/galaxy/galaxy/worker/tasks.py", line 58, in import_repository
_import_repository(import_task, logger)
File "/var/lib/galaxy/venv/lib/python2.7/site-packages/django/utils/decorators.py", line 185, in inner
return func(*args, **kwargs)
File "/galaxy/galaxy/worker/tasks.py", line 122, in _import_repository