Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1323509 - Unable to create custom yum repo - Runtime error - zero length field name in format
Unable to create custom yum repo - Runtime error - zero length field name in ...
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Pulp (Show other bugs)
6.2.0
Unspecified Unspecified
unspecified Severity high (vote)
: Beta
: Unused
Assigned To: satellite6-bugs
Roman Plevka
: Triaged
: 1323687 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-03 15:08 EDT by Roman Plevka
Modified: 2018-09-19 11:17 EDT (History)
9 users (show)

See Also:
Fixed In Version: pulp-2.8.1.2-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-27 05:30:11 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
foreman/production.log traceback (32.19 KB, text/plain)
2016-04-03 15:25 EDT, Roman Plevka
no flags Details
/var/log/messages error during repo create (9.88 KB, text/plain)
2016-04-04 11:33 EDT, Brad Buckingham
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Pulp Redmine 1809 High CLOSED - CURRENTRELEASE python 2.6 incompatibility during set_importer 2016-05-17 16:00 EDT
Red Hat Product Errata RHBA-2016:1501 normal SHIPPED_LIVE Red Hat Satellite 6.2 Capsule and Server 2016-07-27 08:28:58 EDT

  None (edit)
Description Roman Plevka 2016-04-03 15:08:41 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:
Comment 2 Roman Plevka 2016-04-03 15:25 EDT
Created attachment 1143093 [details]
foreman/production.log traceback
Comment 3 Roman Plevka 2016-04-04 10:37:47 EDT
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
Comment 4 Brad Buckingham 2016-04-04 11:33 EDT
Created attachment 1143378 [details]
/var/log/messages error during repo create
Comment 5 Brad Buckingham 2016-04-04 11:35:28 EDT
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!
Comment 6 Brad Buckingham 2016-04-04 11:36:22 EDT
*** Bug 1323687 has been marked as a duplicate of this bug. ***
Comment 7 pulp-infra@redhat.com 2016-04-04 12:03:39 EDT
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
Comment 8 pulp-infra@redhat.com 2016-04-04 12:03:42 EDT
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.
Comment 9 pulp-infra@redhat.com 2016-04-04 13:03:39 EDT
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
Comment 10 pulp-infra@redhat.com 2016-04-04 13:33:39 EDT
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
Comment 11 pulp-infra@redhat.com 2016-04-04 17:03:35 EDT
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
Comment 13 Roman Plevka 2016-04-08 16:09:10 EDT
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
Comment 14 pulp-infra@redhat.com 2016-04-26 19:03:59 EDT
The Pulp upstream bug status is at ON_QA. Updating the external tracker on this bug.
Comment 15 pulp-infra@redhat.com 2016-05-09 14:00:46 EDT
The Pulp upstream bug status is at VERIFIED. Updating the external tracker on this bug.
Comment 16 pulp-infra@redhat.com 2016-05-17 16:00:54 EDT
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.
Comment 18 errata-xmlrpc 2016-07-27 05:30:11 EDT
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

Note You need to log in before you can comment on or make changes to this bug.