Project

General

Profile

Actions

Feature #11740

closed

hammer sync-plan info does not display the sync plan enabled state

Added by roman plevka over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Pasted from BZ #1261122:

Description of problem:
hammer sync-plan info output does not contain information about sync plan 'enable' state.

Version-Release number of selected component (if applicable):
sat6-Satellite-6.1.0-RHEL-7-20150828.0

  1. rpm -qa hammer
    rubygem-hammer_cli_foreman_docker-0.0.3.9-1.el7sat.noarch
    rubygem-hammer_cli_foreman_tasks-0.0.3.5-1.el7sat.noarch
    rubygem-hammer_cli-0.1.4.12-1.el7sat.noarch
    rubygem-hammer_cli_foreman-0.1.4.14-1.el7sat.noarch
    rubygem-hammer_cli_gutterball-0.0.1.3-1.el7sat.noarch
    rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el7sat.noarch
    rubygem-hammer_cli_import-0.10.20-1.el7sat.noarch
    rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el7sat.noarch
    rubygem-hammer_cli_katello-0.0.7.17-1.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. create a sync plan
2. list its info using `hammer sync-plan info`

Actual results:

  1. hammer sync-plan create --organization-id 46 --name test --enabled True --interval daily
    Sync plan created

]# hammer sync-plan list --organization-id 46
---|------|---------------------|---------
ID | NAME | START DATE | INTERVAL
---|------|---------------------|---------
1 | test | 2015/09/08 17:29:01 | daily
---|------|---------------------|---------

  1. hammer sync-plan info --id 1
    ID: 1
    Name: test
    Start Date: 2015/09/08 17:29:01
    Interval: daily
    Description:
    Created at: 2015/09/08 15:29:01
    Updated at: 2015/09/08 15:29:01

Expected results:
something like:

  1. hammer sync-plan info --id 1
    ID: 1
    Name: test
    Start Date: 2015/09/08 17:29:01
    Interval: daily
    Description:
    Enabled: yes
    Created at: 2015/09/08 15:29:01
    Updated at: 2015/09/08 15:29:01
Actions #1

Updated by Dominic Cleal over 8 years ago

  • Project changed from Foreman to Katello
  • Triaged set to No
Actions #2

Updated by Brad Buckingham over 8 years ago

  • Category set to Hammer
  • Assignee set to Brad Buckingham
  • Difficulty set to easy
Actions #3

Updated by The Foreman Bot over 8 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/317 added
  • Pull request deleted ()
Actions #4

Updated by Brad Buckingham over 8 years ago

  • Assignee changed from Brad Buckingham to roman plevka
Actions #5

Updated by roman plevka over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Eric Helms over 8 years ago

  • translation missing: en.field_release set to 86
Actions

Also available in: Atom PDF