Project

Profile

Help

Issue #6221

Bindings Issues at Install, Undocumented Fix

Added by CodeHeeler about 1 month ago. Updated about 11 hours ago.

Status:
MODIFIED
Priority:
Normal
Category:
Documentation
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings, Dev Environment, Documentation
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 69

Description

The bindings had a recent fix with issue #6204. The bindings are published nightly to PyPI but this doesn't cover prerelease changes.

Dev environment was broken due to outdated bindings.

Solution was to uninstall the old bindings, then pip install from PyPI again using --pre flag.

This needs to either be documented wherever we discuss bindings such as for pulpcore and pulp-rpm (and likely other plugins): https://pulp-rpm.readthedocs.io/en/latest/bindings.html#python-client https://docs.pulpproject.org/client_bindings.html#python-client-for-pulpcore-s-rest-api

OR

There needs to be something added to our installer/roles so that this is handled and so long as a dev has all up to date repos, the bindings should be generated or installed as part of the process. (I tried a to re-provision the vagrant just in case, and that didn't work, but I did not go so far as to destroy and re-up so if that handles it already and is the only way, apologies.)


Subtasks

Ansible Plugin - Task #6390: Document bindings installation on dev environmentMODIFIEDfabricio.aguiar

Actions
RPM Support - Task #6395: Document bindings installation on dev environmentMODIFIEDfabricio.aguiar

Actions
Debian Support - Task #6396: Document bindings installation on dev environmentPOSTfabricio.aguiar

Actions

Associated revisions

Revision a5d5986b View on GitHub
Added by Fabricio Aguiar 8 days ago

Bindings installation on dev environment

https://pulp.plan.io/issues/6221 closes #6221

Revision c218fe45 View on GitHub
Added by Fabricio Aguiar about 11 hours ago

Bindings installation on dev environment

https://pulp.plan.io/issues/6221 closes #6221

(cherry picked from commit a5d5986b31bdbac3e0b70b195e1a639bc407258c)

History

#1 Updated by daviddavis about 1 month ago

@CodeHeeler do you remember how you ended up with bindings from pypi? In the dev environment, you have to use the pbindings command to manually generate the bindings. We could use this ticket to get that documented.

#2 Updated by CodeHeeler about 1 month ago

I couldn't successfully vagrant up, in speaking w/ dkliban on irc, he said the bindings were out of date but couldn't remember the command and recommended phelp. phelp was non-functional either, so I went to our docs and saw we had a client bindings page [0]. There was only the pypi option discussed.

I would be happy for this ticket to serve as a means to update the Quickstart docs for dev environment setup to include pbindings.

[0] https://pulp-rpm.readthedocs.io/en/latest/bindings.html

#3 Updated by fabricio.aguiar about 1 month ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 67
  • Tags Documentation added

#4 Updated by rchan 28 days ago

  • Sprint changed from Sprint 67 to Sprint 68

#5 Updated by fabricio.aguiar 15 days ago

  • Status changed from NEW to ASSIGNED

#6 Updated by fabricio.aguiar 15 days ago

  • Assignee set to fabricio.aguiar

#7 Updated by fabricio.aguiar 15 days ago

  • Status changed from ASSIGNED to POST

#8 Updated by rchan 14 days ago

  • Sprint changed from Sprint 68 to Sprint 69

#10 Updated by Anonymous 1 day ago

  • Status changed from POST to MODIFIED

#11 Updated by Anonymous about 11 hours ago

Please register to edit this issue

Also available in: Atom PDF