Bug 1536144
Summary: | [RFE] [Ansible Embedded] - Data in 'Updated on' column are not changing after repo refresh | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Pavol Kotvan <pakotvan> |
Component: | Providers | Assignee: | Robin Knaur <rknaur> |
Status: | CLOSED ERRATA | QA Contact: | Satyajit Bulage <sbulage> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 5.9.0 | CC: | akarol, cpelland, gblomqui, hkataria, jfrey, jhardy, jwong, kmorey, lavenel, mpovolny, obarenbo, rknaur, simaishi, smallamp |
Target Milestone: | GA | Keywords: | FutureFeature |
Target Release: | 5.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | ui:ansible_embed | ||
Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-02-07 23:00:57 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | Bug | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | Ansible | Target Upstream Version: | |
Embargoed: |
Comment 4
Sudhir Mallamprabhakara
2018-01-19 15:26:15 UTC
Pavol, The `updated_on` is showing the correct and expected result - it (and the `created_on` in the corresponding db table) is about the repo db object itself. To show the last updated time from Tower, it would require a db schema change to add a column `last_updated_on` to store what we retrieve from Tower. (So this is likely next major release). James (In reply to CFME Bot from comment #6) > https://github.com/ManageIQ/manageiq/pull/16825 Sorry, ignore this, wrong PR Martin, I am working on backend changes to collect and store to a new column "last_updated_on". UI would need changes to consume this new column. Please see if you guys want to create a new BZ for UI work or not. James, When your backend PR will be merged, I will do the UI part as a part of this BZ. Thanks, Robin New commit detected on ManageIQ/manageiq-schema/master: https://github.com/ManageIQ/manageiq-schema/commit/889682406af5d8a366a850aec43c6522133ab913 commit 889682406af5d8a366a850aec43c6522133ab913 Author: James Wong <webpotent> AuthorDate: Mon Feb 19 10:11:12 2018 -0500 Commit: James Wong <webpotent> CommitDate: Mon Feb 19 16:15:00 2018 -0500 Add last_updated_on to configuration_script_sources https://bugzilla.redhat.com/show_bug.cgi?id=1536144 ...80219151037_add_last_updated_on_to_configuration_script_source.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20180219151037_add_last_updated_on_to_configuration_script_source.rb New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/811f3390c427423b72c634895cc08979205f75d1 commit 811f3390c427423b72c634895cc08979205f75d1 Author: James Wong <jwong> AuthorDate: Mon Feb 19 16:07:41 2018 -0500 Commit: James Wong <jwong> CommitDate: Mon Feb 19 16:08:23 2018 -0500 ConfigurationScriptSource to have last_updated_on column https://bugzilla.redhat.com/show_bug.cgi?id=1536144 app/models/manager_refresh/inventory/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commit detected on ManageIQ/manageiq-providers-ansible_tower/master: https://github.com/ManageIQ/manageiq-providers-ansible_tower/commit/b90cf62e227ec5c19d8f30d4e883bf0cf28a72c9 commit b90cf62e227ec5c19d8f30d4e883bf0cf28a72c9 Author: James Wong <webpotent> AuthorDate: Mon Feb 19 14:06:47 2018 -0500 Commit: James Wong <webpotent> CommitDate: Mon Feb 19 16:57:50 2018 -0500 Tower repo last_updated_on https://bugzilla.redhat.com/show_bug.cgi?id=1536144 .../ansible_tower/shared/inventory/parser/automation_manager.rb | 1 + .../automation_manager/refresh_configuartion_script_source.rb | 1 + 2 files changed, 2 insertions(+) Robin, backend code is merged. you can take it from here. james New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/094a58e3084146e4be48333358b2d06365281cf2 commit 094a58e3084146e4be48333358b2d06365281cf2 Author: PanSpagetka <rknaur> AuthorDate: Mon Mar 5 08:10:11 2018 -0500 Commit: PanSpagetka <rknaur> CommitDate: Mon Mar 5 08:10:11 2018 -0500 Change column title from "Updated on" to "Last refreh" https://bugzilla.redhat.com/show_bug.cgi?id=1536144 product/views/ManageIQ_Providers_EmbeddedAutomationManager_ConfigurationScriptSource.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Able to see the 'Last refresh on' column data is updated after initiating "Refresh selected Ansible Repositories". Verified Version: 5.10.0.25.20181120211723_d2fd659 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/RHSA-2019:0212 |