Actions
Bug #7941
closedsync status for repositories via hammer returns no information
Difficulty:
Triaged:
Yes
Bugzilla link:
Description
This is related to https://bugzilla.redhat.com/show_bug.cgi?id=1152237
Description of problem:
For a custom repository, hammer repository info will show the following information for its sync status:
Sync:
Status: Not Synced
However, nightly build for hammer repository info returns no information:
Sync:
Status:
Version-Release number of selected component (if applicable):
- apr-util-ldap-1.3.9-3.el6_0.1.x86_64
- candlepin-0.9.32-1.el6.noarch
- candlepin-common-1.0.8-1.el6.noarch
- candlepin-selinux-0.9.32-1.el6.noarch
- candlepin-tomcat6-0.9.32-1.el6.noarch
- elasticsearch-0.90.10-7.el6.noarch
- foreman-1.7.0-0.develop.201410101505git9645d89.el6.noarch
- foreman-compute-1.7.0-0.develop.201410101505git9645d89.el6.noarch
- foreman-gce-1.7.0-0.develop.201410101505git9645d89.el6.noarch
- foreman-libvirt-1.7.0-0.develop.201410101505git9645d89.el6.noarch
- foreman-ovirt-1.7.0-0.develop.201410101505git9645d89.el6.noarch
- foreman-postgresql-1.7.0-0.develop.201410101505git9645d89.el6.noarch
- foreman-proxy-1.7.0-0.develop.201410101404git7961640.el6.noarch
- foreman-release-1.7.0-0.develop.201410101505git9645d89.el6.noarch
- foreman-selinux-1.7.0-0.develop.201409301113git2f345de.el6.noarch
- foreman-vmware-1.7.0-0.develop.201410101505git9645d89.el6.noarch
- katello-2.1.0-1.201410121115giteabe757.el6.noarch
- katello-certs-tools-2.0.1-1.el6.noarch
- katello-default-ca-1.0-1.noarch
- katello-installer-2.1.0-1.201410021645git304e036.el6.noarch
- katello-repos-2.1.1-1.el6.noarch
- katello-server-ca-1.0-1.noarch
- openldap-2.4.23-32.el6_4.1.x86_64
- pulp-docker-plugins-0.2.1-0.2.beta.el6.noarch
- pulp-katello-0.3-3.el6.noarch
- pulp-nodes-common-2.5.0-0.7.beta.el6.noarch
- pulp-nodes-parent-2.5.0-0.7.beta.el6.noarch
- pulp-puppet-plugins-2.5.0-0.7.beta.el6.noarch
- pulp-puppet-tools-2.5.0-0.7.beta.el6.noarch
- pulp-rpm-plugins-2.5.0-0.7.beta.el6.noarch
- pulp-selinux-2.5.0-0.7.beta.el6.noarch
- pulp-server-2.5.0-0.7.beta.el6.noarch
- python-ldap-2.3.10-1.el6.x86_64
- ruby193-rubygem-ldap_fluff-0.3.1-1.el6.noarch
- ruby193-rubygem-net-ldap-0.3.1-2.el6.noarch
- ruby193-rubygem-runcible-1.2.0-1.el6.noarch
- rubygem-hammer_cli-0.1.3-1.201409240954gitf3c47c7.el6.noarch
- rubygem-hammer_cli_foreman-0.1.3-1.201409191432gitc38f9c8.el6.noarch
- rubygem-hammer_cli_foreman_tasks-0.0.3-2.201409091410gitc96619d.git.0.37f3704.el6.noarch
- rubygem-hammer_cli_import-0.10.4-1.el6.noarch
- rubygem-hammer_cli_katello-0.0.6-1.201410121136gitdad4d95.git.0.a8e17a4.el6.noarch
How reproducible:
Steps to Reproduce:
LANG=en_US.UTF-8 hammer -v -u admin -p changeme organization create --name='nHIdvt' LANG=en_US.UTF-8 hammer -v -u admin -p changeme product create --description='RKDGfkfOQkjyMAhepEmb' --label='jDfsTULkxZLmSkVrOfVi' --organization-id='12' --name='pAYjeFHpokkcSGFpJIyA' LANG=en_US.UTF-8 hammer -v -u admin -p changeme repository create --product-id='197' --name='wordpress' --publish-via-http='true' --url='https://registry.hub.docker.com/' --content-type='docker' LANG=en_US.UTF-8 hammer -v -u admin -p changeme repository info --id='34'
Actual results:
hammer repository info shows
Sync:
Status:
Expected results:
Sync:
Status: Not Synced
Additional info:
2014-10-13 12:05:07 - robottelo.common.ssh - DEBUG - >>> [qe-foreman-rhel65.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output csv organization create --name='nHIdvt'
2014-10-13 12:05:07 - robottelo.common.ssh - INFO - Instantiated Paramiko client 0x1058838d0
2014-10-13 12:05:10 - robottelo.common.ssh - INFO - Destroying Paramiko client 0x1058838d0
2014-10-13 12:05:10 - robottelo.common.ssh - INFO - Destroyed Paramiko client 0x1058838d0
2014-10-13 12:05:10 - robottelo.common.ssh - DEBUG - <<<
Message,Id,Name
Organization created,12,nHIdvt
2014-10-13 12:05:10 - robottelo.common.ssh - DEBUG - >>> [qe-foreman-rhel65.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme organization info --id='12'
2014-10-13 12:05:10 - robottelo.common.ssh - INFO - Instantiated Paramiko client 0x105883e10
2014-10-13 12:05:12 - robottelo.common.ssh - INFO - Destroying Paramiko client 0x105883e10
2014-10-13 12:05:12 - robottelo.common.ssh - INFO - Destroyed Paramiko client 0x105883e10
2014-10-13 12:05:12 - robottelo.common.ssh - DEBUG - <<<
Id: 12
Name: nHIdvt
Users:
Smart proxies:
qe-foreman-rhel65.usersys.redhat.com
Subnets:
Compute resources:
Installation media:
Templates:
Boot disk iPXE - generic host (Bootdisk)
Boot disk iPXE - host (Bootdisk)
freeipa_register ()
Katello Kickstart Default (provision)
Katello Kickstart Default Finish (finish)
Katello Kickstart Default User Data (user_data)
Kickstart default iPXE (iPXE)
Kickstart default PXELinux (PXELinux)
puppet.conf ()
PXELinux global default (PXELinux)
subscription_manager_registration ()
Domains:
Environments:
Hostgroups:
Parameters:
Created at: 2014/10/13 16:04:53
Updated at: 2014/10/13 16:04:53
Label: nHIdvt
Description:
Red Hat Repository URL: https://cdn.redhat.com
2014-10-13 12:05:18 - robottelo.common.ssh - DEBUG - >>> [qe-foreman-rhel65.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output csv product create --description='RKDGfkfOQkjyMAhepEmb' --label='jDfsTULkxZLmSkVrOfVi' --organization-id='12' --name='pAYjeFHpokkcSGFpJIyA'
2014-10-13 12:05:18 - robottelo.common.ssh - INFO - Instantiated Paramiko client 0x10588ac10
2014-10-13 12:05:21 - robottelo.common.ssh - INFO - Destroying Paramiko client 0x10588ac10
2014-10-13 12:05:21 - robottelo.common.ssh - INFO - Destroyed Paramiko client 0x10588ac10
2014-10-13 12:05:21 - robottelo.common.ssh - DEBUG - <<<
Message,Id,Name
Product created,197,pAYjeFHpokkcSGFpJIyA
2014-10-13 12:05:21 - robottelo.common.ssh - DEBUG - >>> [qe-foreman-rhel65.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme product info --id='197' --organization-id='12'
2014-10-13 12:05:21 - robottelo.common.ssh - INFO - Instantiated Paramiko client 0x105883b50
2014-10-13 12:05:23 - robottelo.common.ssh - INFO - Destroying Paramiko client 0x105883b50
2014-10-13 12:05:23 - robottelo.common.ssh - INFO - Destroyed Paramiko client 0x105883b50
2014-10-13 12:05:23 - robottelo.common.ssh - DEBUG - <<<
ID: 197
Name: pAYjeFHpokkcSGFpJIyA
Label: jDfsTULkxZLmSkVrOfVi
Description: RKDGfkfOQkjyMAhepEmb
Sync State: not_synced
Sync Plan ID:
GPG:
GPG Key ID:
GPG Key:
Organization: nHIdvt
Readonly: false
Deletable:
Content:
2014-10-13 12:05:28 - root - INFO - Bugzilla bug 1129617 not in cache. Fetching.
2014-10-13 12:05:28 - robottelo.common.ssh - DEBUG - >>> [qe-foreman-rhel65.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme --output csv repository create --product-id='197' --name='wordpress' --publish-via-http='true' --url='https://registry.hub.docker.com/' --content-type='docker'
2014-10-13 12:05:29 - robottelo.common.ssh - INFO - Instantiated Paramiko client 0x10588de50
2014-10-13 12:05:34 - robottelo.common.ssh - INFO - Destroying Paramiko client 0x10588de50
2014-10-13 12:05:34 - robottelo.common.ssh - INFO - Destroyed Paramiko client 0x10588de50
2014-10-13 12:05:34 - robottelo.common.ssh - DEBUG - <<<
Message,Id,Name
Repository created,34,wordpress
2014-10-13 12:05:34 - robottelo.common.ssh - DEBUG - >>> [qe-foreman-rhel65.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme repository info --id='34'
2014-10-13 12:05:34 - robottelo.common.ssh - INFO - Instantiated Paramiko client 0x10588ad90
2014-10-13 12:05:36 - robottelo.common.ssh - INFO - Destroying Paramiko client 0x10588ad90
2014-10-13 12:05:36 - robottelo.common.ssh - INFO - Destroyed Paramiko client 0x10588ad90
2014-10-13 12:05:36 - robottelo.common.ssh - DEBUG - <<<
ID: 34
Name: wordpress
Label: wordpress
Organization: nHIdvt
Red Hat Repository: no
Content Type: docker
URL: https://registry.hub.docker.com/
Publish Via HTTP: yes
Published At: http://qe-foreman-rhel65.usersys.redhat.com/pulp/repos/nHIdvt/Library/custom/jDfsTULkxZLmSkVrOfVi/wordpress
Product:
ID: 197
Name: pAYjeFHpokkcSGFpJIyA
GPG Key:
Sync:
Status:
Created: 2014/10/13 16:05:15
Updated: 2014/10/13 16:05:17
Content Counts:
2014-10-13 12:05:41 - robottelo.common.ssh - DEBUG - >>> [qe-foreman-rhel65.usersys.redhat.com] LANG=en_US.UTF-8 hammer -v -u admin -p changeme repository info --id='34'
2014-10-13 12:05:41 - robottelo.common.ssh - INFO - Instantiated Paramiko client 0x10588df10
2014-10-13 12:05:43 - robottelo.common.ssh - INFO - Destroying Paramiko client 0x10588df10
2014-10-13 12:05:43 - robottelo.common.ssh - INFO - Destroyed Paramiko client 0x10588df10
2014-10-13 12:05:43 - robottelo.common.ssh - DEBUG - <<<
ID: 34
Name: wordpress
Label: wordpress
Organization: nHIdvt
Red Hat Repository: no
Content Type: docker
URL: https://registry.hub.docker.com/
Publish Via HTTP: yes
Published At: http://qe-foreman-rhel65.usersys.redhat.com/pulp/repos/nHIdvt/Library/custom/jDfsTULkxZLmSkVrOfVi/wordpress
Product:
ID: 197
Name: pAYjeFHpokkcSGFpJIyA
GPG Key:
Sync:
Status:
Created: 2014/10/13 16:05:15
Updated: 2014/10/13 16:05:17
Content Counts:
Updated by Eric Helms over 11 years ago
- Translation missing: en.field_release set to 14
- Triaged changed from No to Yes
Updated by Eric Helms over 11 years ago
- Translation missing: en.field_release changed from 14 to 23
Updated by Eric Helms about 11 years ago
- Translation missing: en.field_release changed from 23 to 31
Updated by Eric Helms almost 11 years ago
- Assignee changed from Partha Aji to Eric Helms
- Translation missing: en.field_release changed from 31 to 70
Updated by The Foreman Bot almost 11 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/309 added
- Pull request deleted (
)
Updated by Justin Sherrill over 10 years ago
- Translation missing: en.field_release changed from 70 to 86
Updated by Eric Helms over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|9a739879db522689aed22e04ea1ce10cdddc3b15.
Actions