Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1336790 - 'hammer sync-plan info' doesn't return start date
Summary: 'hammer sync-plan info' doesn't return start date
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Zach Huntington-Meath
QA Contact: Adam Ruzicka
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-17 13:03 UTC by Andrii Balakhtar
Modified: 2021-07-22 07:43 UTC (History)
3 users (show)

Fixed In Version: rubygem-katello-3.0.0.43-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:13:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 15204 0 None None None 2016-05-26 18:05:40 UTC

Description Andrii Balakhtar 2016-05-17 13:03:37 UTC
Description of problem:
'hammer sync-plan info' returns empty value for 'Start Date' field. Regression introduced in SNAP 11, wasn't reproducible in SNAP 10.

Version-Release number of selected component (if applicable):
Sat 6.2.0 GA SNAP 11

How reproducible:
Always

Steps to Reproduce:
1. Create sync plan with start date specified, e.g.:
hammer sync-plan create --name Test01 --sync-date "2016-05-18 10:10:10" --organization-id 1 --interval 'weekly' --enabled 1
2. Get previously created sync plan details by 'hammer sync-plan info' command
3.

Actual results:
'Start Date' is empty:

# hammer sync-plan info --id 2
ID:          2
Name:        Test01
Start Date:  
Interval:    weekly
Enabled:     yes
Description: 
Created at:  2016/05/17 12:55:14
Updated at:  2016/05/17 12:55:14



Expected results:
'Start Date' field should reflect sync plan's start date:

# hammer sync-plan info --id 2
[Foreman] Password for admin: 
ID:          2
Name:        Test01
Start Date:  2016/05/18 10:10:10
Interval:    weekly
Enabled:     yes
Description: 
Created at:  2016/05/17 12:55:14
Updated at:  2016/05/17 12:55:14



Additional info:

Comment 2 Zach Huntington-Meath 2016-05-26 17:07:19 UTC
Created redmine issue http://projects.theforeman.org/issues/15204 from this bug

Comment 3 Bryan Kearney 2016-05-31 16:17:30 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/15204 has been closed

Comment 4 Adam Ruzicka 2016-06-13 10:53:14 UTC
VERIFIED.
@Sat6.2.0-Snap15.2
tfm-rubygem-hammer_cli_katello-0.0.22.15-1.el7sat.noarch

# hammer sync-plan create --name Test01 --sync-date "2016-05-18 10:10:10" --organization-id 1 --interval 'weekly' --enabled 1
Sync plan created

# hammer sync-plan list --organization-id 1
---|--------|---------------------|----------|--------
ID | NAME   | START DATE          | INTERVAL | ENABLED
---|--------|---------------------|----------|--------
1  | Test01 | 2016/05/18 10:10:10 | weekly   | yes    
---|--------|---------------------|----------|--------

# hammer sync-plan info --id 1
ID:          1
Name:        Test01
Start Date:  2016/05/18 10:10:10
Interval:    weekly
Enabled:     yes
Description: 
Created at:  2016/06/13 10:49:44
Updated at:  2016/06/13 10:49:44

Start date set properly

Comment 5 Bryan Kearney 2016-07-27 11:13:04 UTC
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.