Red Hat Bugzilla – Bug 1323509
Unable to create custom yum repo - Runtime error - zero length field name in format
Last modified: 2018-09-19 11:17:04 EDT
Description of problem: happening on CLI, UI and API Getting "zero length field name in format" error message on creating a new custom repository. Version-Release number of selected component (if applicable): sat6.2 snap6.1 How reproducible: always Steps to Reproduce: 1. create a custom product 2. try create a custom yum repo Actual results: "zero length field name in format" - repo not created Expected results: no error message, repo created Additional info:
Created attachment 1143093 [details] foreman/production.log traceback
Version info: # rpm -qa | grep satellite satellite-6.2.0-6.1.beta.el6sat.noarch tfm-rubygem-foreman_theme_satellite-0.1.3-1.el6sat.noarch - please note, this is reproducible only on el6 version. el7 seems to work fine
Created attachment 1143378 [details] /var/log/messages error during repo create
Discussed this with Michael in IRC. This issue may be a python 2.6 incompatibility issue that was very recently introduced. Michael, please do clone to upstream pulp redmine. Thanks!
*** Bug 1323687 has been marked as a duplicate of this bug. ***
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
VERIFIED on sat 6.2.0 snap 7.0 2016-04-07 17:18:06 - robottelo.ssh - DEBUG - >>> [sat6server] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output=csv repository create --product-id="124" --name="𢞀𦓚燀𥳐밈몗ﻱ" --publish-via-http="true" --url="http://inecas.fedorapeople.org/fakerepos/zoo3/" --content-type="yum" 2016-04-07 17:18:06 - robottelo.ssh - INFO - Instantiated Paramiko client 0x7f5f4e783210 2016-04-07 17:18:09 - robottelo.ssh - INFO - Destroying Paramiko client 0x7f5f4e783210 2016-04-07 17:18:09 - robottelo.ssh - INFO - Destroyed Paramiko client 0x7f5f4e783210 2016-04-07 17:18:09 - robottelo.ssh - DEBUG - <<< stdout Message,Id,Name Repository created,74,𢞀𦓚燀𥳐밈몗ﻱ 2016-04-07 17:18:09 - robottelo.ssh - DEBUG - >>> [sat6server] LANG=en_US.UTF-8 hammer -v -u admin -p changeme repository info --id="74" 2016-04-07 17:18:10 - robottelo.ssh - INFO - Instantiated Paramiko client 0x7f5f4e7983d0 2016-04-07 17:18:12 - robottelo.ssh - INFO - Destroying Paramiko client 0x7f5f4e7983d0 2016-04-07 17:18:12 - robottelo.ssh - INFO - Destroyed Paramiko client 0x7f5f4e7983d0 2016-04-07 17:18:12 - robottelo.ssh - DEBUG - <<< stdout ID: 74 Name: 𢞀𦓚燀𥳐밈몗ﻱ Label: 7f7df3a1-d142-4435-91f2-c2fac9b6f3fc Organization: d82kxU Red Hat Repository: no Content Type: yum URL: http://inecas.fedorapeople.org/fakerepos/zoo3/ Publish Via HTTP: yes Published At: http://sat6server/pulp/repos/d82kxU/Library/custom/PVkYEkNjOqkKLaKQYlBm/7f7df3a1-d142-4435-91f2-c2fac9b6f3fc Relative Path: d82kxU/Library/custom/PVkYEkNjOqkKLaKQYlBm/7f7df3a1-d142-4435-91f2-c2fac9b6f3fc Download Policy: immediate Product: ID: 124 Name: xcurvHBhQsuaWteCBxlc GPG Key: Sync: Status: Not Synced Created: 2016/04/07 21:18:08 Updated: 2016/04/07 21:18:09 Content Counts: Packages: 0 Package Groups: 0 Errata: 0
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.
The Pulp upstream bug status is at VERIFIED. Updating the external tracker on this bug.
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1501