Project

Profile

Help

Issue #6221

closed

Bindings Issues at Install, Undocumented Fix

Added by CodeHeeler over 4 years ago. Updated over 4 years 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
Quarter:

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.)


Sub-issues 3 (0 open3 closed)

Ansible Plugin - Task #6390: Document bindings installation on dev environmentCLOSED - CURRENTRELEASEfao89

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

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

Actions
Actions #1

Updated by daviddavis over 4 years 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.

Actions #2

Updated by CodeHeeler over 4 years 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

Actions #3

Updated by fao89 over 4 years ago

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

Updated by rchan over 4 years ago

  • Sprint changed from Sprint 67 to Sprint 68
Actions #5

Updated by fao89 over 4 years ago

  • Status changed from NEW to ASSIGNED
Actions #6

Updated by fao89 over 4 years ago

  • Assignee set to fao89
Actions #7

Updated by fao89 over 4 years ago

  • Status changed from ASSIGNED to POST
Actions #8

Updated by rchan over 4 years ago

  • Sprint changed from Sprint 68 to Sprint 69

Added by Fabricio Aguiar over 4 years ago

Revision a5d5986b | View on GitHub

Bindings installation on dev environment

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

Actions #10

Updated by Anonymous over 4 years ago

  • Status changed from POST to MODIFIED

Added by Fabricio Aguiar over 4 years ago

Revision c218fe45 | View on GitHub

Bindings installation on dev environment

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

(cherry picked from commit a5d5986b31bdbac3e0b70b195e1a639bc407258c)

Actions #11

Updated by Anonymous over 4 years ago

Actions #12

Updated by ttereshc over 4 years ago

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

Updated by bmbouter over 4 years ago

  • Category deleted (23)

Also available in: Atom PDF