Pulp: Issueshttps://pulp.plan.io/https://pulp.plan.io/favicon.ico2020-12-08T21:41:37ZPulp
Planio Ansible Plugin - Test #7955 (CLOSED - WONTFIX): Load Test - Collections V3 endpointhttps://pulp.plan.io/issues/79552020-12-08T21:41:37Zfao89
<p>We need a cron job for load testing collections v3 endpoint for:</p>
<ul>
<li>12 collections</li>
<li>24 collections</li>
<li>60 collections</li>
<li>120 collections</li>
</ul>
<p>Locust reference: <a href="https://coderbook.com/@marcus/load-test-your-django-website-using-locustio/" class="external">https://coderbook.com/@marcus/load-test-your-django-website-using-locustio/</a>
github action: <a href="https://github.com/marketplace/actions/locust-load-test" class="external">https://github.com/marketplace/actions/locust-load-test</a>
CI: <a href="https://github.com/apardo04/adrianpardo.dev-react/blob/676a44b715d865496082c12752f5c18f343575d5/.github/workflows/deployment.yml#L88" class="external">https://github.com/apardo04/adrianpardo.dev-react/blob/676a44b715d865496082c12752f5c18f343575d5/.github/workflows/deployment.yml#L88</a></p> Ansible Plugin - Test #5415 (CLOSED - WONTFIX): As a user, I can publish a Collection to pulp_ans...https://pulp.plan.io/issues/54152019-09-06T19:13:04Zdaviddavis
<p>There's documentation about how to publish (or upload) a collection to pulp_ansible using the ansible-galaxy cli (formerly mazer):</p>
<p><a href="https://pulp-ansible.readthedocs.io/en/latest/workflows/index.html#collection-workflows" class="external">https://pulp-ansible.readthedocs.io/en/latest/workflows/index.html#collection-workflows</a></p>
<p>Write a test to cover this workflow.</p> Ansible Plugin - Test #5269 (CLOSED - WONTFIX): Test - As a user, I have 'latest' as a boolean qu...https://pulp.plan.io/issues/52692019-08-13T18:42:11Zkersom
<p>In addition to the fields being searchable, a 'latest' parameter should be available that defaults to False. If True, it will only return the latest version when multiple versions of one Collection name are returned in the results.</p> Ansible Plugin - Test #5268 (CLOSED - WONTFIX): Test - As a user, I can upload a collection to th...https://pulp.plan.io/issues/52682019-08-13T18:38:10Zkersom
<a name="Problem"></a>
<h2 >Problem<a href="#Problem" class="wiki-anchor">¶</a></h2>
<p>Currently the one-shot uploader only is available via the galaxy bindings.</p>
<a name="Solution"></a>
<h3 >Solution<a href="#Solution" class="wiki-anchor">¶</a></h3>
<p>Add a one-shot uploader view that will use the same collection import task code. This needs to be available in the swagger API so it can be in the docs and bindings too.</p> Ansible Plugin - Test #5264 (CLOSED - WONTFIX): Test - Pulp3 Ansible Collection remote doesn't se...https://pulp.plan.io/issues/52642019-08-13T18:12:22Zkersom
<p>*Steps to Reproduce:*++<br>
Steps based on httpie and jq from documentation: <a href="https://pulp-ansible.readthedocs.io/en/latest/workflows/index.html" class="external">https://pulp-ansible.readthedocs.io/en/latest/workflows/index.html</a></p>
<p>#Create 2 separate repos:<br>
http POST $BASE_ADDR/pulp/api/v3/repositories/ name=test1<br>
http POST $BASE_ADDR/pulp/api/v3/repositories/ name=test2</p>
<p>export REPO_HREF1=$(http $BASE_ADDR/pulp/api/v3/repositories/ | \<br>
jq -r '.results[] | select(.name == "test1") | ._href')</p>
<p>export REPO_HREF2=$(http $BASE_ADDR/pulp/api/v3/repositories/ | \<br>
jq -r '.results[] | select(.name == "test2") | ._href')</p>
<p>#Create collection remote:</p>
<p>http POST $BASE_ADDR/pulp/api/v3/remotes/ansible/collection/ \<br>
name='bar' \<br>
url='<a href="https://galaxy-dev.ansible.com" class="external">https://galaxy-dev.ansible.com</a>' \<br>
whitelist='newswangerd.collection_demo'</p>
<p>export REMOTE_HREF=$(http $BASE_ADDR/pulp/api/v3/remotes/ansible/collection/ | jq -r '.results[] | select(.name == "bar") | ._href')</p>
<p>#Sync both repos with the remote</p>
<p>export TASK_URL1=$(http POST $BASE_ADDR$REMOTE_HREF'sync/' repository=$REPO_HREF1 \<br>
| jq -r '.task')</p>
<p>export TASK_URL2=$(http POST $BASE_ADDR$REMOTE_HREF'sync/' repository=$REPO_HREF2 \<br>
| jq -r '.task')</p>
<p>#Notice that a new repo version is created by 1st task but none by the 2nd.</p>
<p>http $BASE_ADDR$TASK_URL1</p>
<p>http $BASE_ADDR$TASK_URL2</p>
<p>*<strong>*</strong>*********************************************************</p>
<p>I tried with a second remote pointing to the same URL and with the same whitelist and it doesn't seem to create a repo version either.</p> Ansible Plugin - Test #5262 (CLOSED - COMPLETE): Test - Uploading same collection twice causes 50...https://pulp.plan.io/issues/52622019-08-13T17:53:41Zkersom
<p>To reproduce:</p>
<p>1. build a collection to upload. I use the default one from mazer "here":<br>
2. Upload it once. I use: <code>http --form POST :24817/ansible/collections/ file@greetings_namespace-hello-11.11.11.tar.gz</code>. Observe that works.<br>
3. Upload it a second time and observe that you get a 500 error</p> Ansible Plugin - Test #5257 (CLOSED - WONTFIX): Test - As a user, I can have fulltext search on C...https://pulp.plan.io/issues/52572019-08-13T14:46:17Zkersom
<p>A fulltext search should be added using examples here: <a href="https://github.com/abarto/full_text_search_drf" class="external">https://github.com/abarto/full_text_search_drf</a></p> Ansible Plugin - Test #5256 (CLOSED - COMPLETE): Test - Ansible collection remote doesn't handle ...https://pulp.plan.io/issues/52562019-08-13T14:42:32Zkersom
<p>Ex:<br>
With a url <a href="https://galaxy.ansible.com" class="external">https://galaxy.ansible.com</a> it works fine.<br>
With a url <a href="https://galaxy.ansible.com/" class="external">https://galaxy.ansible.com/</a> , throws the following error: <a href="https://gist.github.com/sjha4/0afdd783bac7cea56055b706f6b02155" class="external">https://gist.github.com/sjha4/0afdd783bac7cea56055b706f6b02155</a></p> Ansible Plugin - Test #5000 (CLOSED - COMPLETE): Collection - Test that sucessive syncs do update...https://pulp.plan.io/issues/50002019-06-20T17:52:26Zkersom
<p>1 - Create multiple syncs using the same remote.<br>
2 - Assure that for every sync a new repo version was created.</p> Ansible Plugin - Issue #4996 (CLOSED - CURRENTRELEASE): Ansible collection remote doesn't handle ...https://pulp.plan.io/issues/49962019-06-19T20:06:58Zsajha
<p>Ex:<br>
With a url <a href="https://galaxy.ansible.com" class="external">https://galaxy.ansible.com</a> it works fine.<br>
With a url <a href="https://galaxy.ansible.com/" class="external">https://galaxy.ansible.com/</a> , throws the following error: <a href="https://gist.github.com/sjha4/0afdd783bac7cea56055b706f6b02155" class="external">https://gist.github.com/sjha4/0afdd783bac7cea56055b706f6b02155</a></p> Ansible Plugin - Test #4976 (CLOSED - WONTFIX): Collection - Test if creating duplicate content r...https://pulp.plan.io/issues/49762019-06-14T18:47:29Zkersom
<ul>
<li>Evaluate if we already have similar tests in place.</li>
<li>Create duplicate content</li>
<li>Assert that an HTTP Bad Request - 400 was raised</li>
<li>Assert that an error (e.g. "There is already a file content unit with relativepath 'foo.tar.gz' and artifact '/pulp/api/v3/artifacts/1/'.") is returned</li>
</ul> Ansible Plugin - Test #4915 (CLOSED - COMPLETE): Test install a collection hosted by Pulp using m...https://pulp.plan.io/issues/49152019-06-04T19:54:58Zkersom
<p>Consume content hosted by Pulp using mazer.</p>
<p>Evaluate best way to add mazer as part of the test process.</p>
<p>mazer: <a href="https://github.com/ansible/mazer" class="external">https://github.com/ansible/mazer</a></p>
<p>See: <a href="https://pulp-ansible.readthedocs.io/en/latest/workflows/index.html#collection-workflows" class="external">https://pulp-ansible.readthedocs.io/en/latest/workflows/index.html#collection-workflows</a></p> Ansible Plugin - Test #4914 (CLOSED - WONTFIX): Test upload contenthttps://pulp.plan.io/issues/49142019-06-04T19:52:30Zkersom
<p>1 - Upload content<br>
2 - Create a role from the artifact<br>
3 - Add content to a repository</p>
<p>See: <a href="https://pulp-ansible.readthedocs.io/en/latest/workflows/index.html#collection-workflows" class="external">https://pulp-ansible.readthedocs.io/en/latest/workflows/index.html#collection-workflows</a></p> Ansible Plugin - Test #4913 (CLOSED - COMPLETE): Test sync collections from Galaxyhttps://pulp.plan.io/issues/49132019-06-04T19:49:43Zkersom
<p>1 - Create a repository<br>
2 - Create a collection remote<br>
3 - Sync repository with collection remote</p> Ansible Plugin - Test #4912 (CLOSED - WONTFIX): [Epic] Test collection content typehttps://pulp.plan.io/issues/49122019-06-04T19:43:58Zkersom
<p>Add tests to collection content type.</p>
<p><a href="https://pulp-ansible.readthedocs.io/en/latest/workflows/index.html#collection-workflows" class="external">https://pulp-ansible.readthedocs.io/en/latest/workflows/index.html#collection-workflows</a></p>