Project

Profile

Help

Issue #6221

Bindings Issues at Install, Undocumented Fix

Added by CodeHeeler 6 months ago. Updated 13 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
(Total: 0:00 h)
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings, Dev Environment, Documentation
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 environmentMODIFIEDfao89

Actions
RPM Support - Task #6395: Document bindings installation on dev environmentCLOSED - CURRENTRELEASEfao89

Actions
Debian Support - Task #6396: Document bindings installation on dev environmentMODIFIEDfao89

Actions

Associated revisions

Revision a5d5986b View on GitHub
Added by Fabricio Aguiar 5 months ago

Bindings installation on dev environment

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

Revision c218fe45 View on GitHub
Added by Fabricio Aguiar 4 months ago

Bindings installation on dev environment

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

(cherry picked from commit a5d5986b31bdbac3e0b70b195e1a639bc407258c)

History

#1 Updated by daviddavis 6 months 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 5 months 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 fao89 5 months ago

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

#4 Updated by rchan 5 months ago

  • Sprint changed from Sprint 67 to Sprint 68

#5 Updated by fao89 5 months ago

  • Status changed from NEW to ASSIGNED

#6 Updated by fao89 5 months ago

  • Assignee set to fao89

#7 Updated by fao89 5 months ago

  • Status changed from ASSIGNED to POST

#8 Updated by rchan 5 months ago

  • Sprint changed from Sprint 68 to Sprint 69

#10 Updated by Anonymous 4 months ago

  • Status changed from POST to MODIFIED

#11 Updated by Anonymous 4 months ago

#12 Updated by ttereshc 4 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
  • Sprint/Milestone set to 3.3.0

#13 Updated by bmbouter 2 months ago

  • Category deleted (23)

Please register to edit this issue

Also available in: Atom PDF