Bug 1805902

Summary: [Containers] Pause Refresh Removed in UI But Still Can Be Performed Via API
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: APIAssignee: drew uhlmann <duhlmann>
Status: CLOSED ERRATA QA Contact: juwatts
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.11.0CC: dmetzger, mshriver, obarenbo, yrudman
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.4Flags: pm-rhel: cfme-5.11.z+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1750480 Environment:
Last Closed: 2020-03-17 13:11:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1750480    
Bug Blocks:    

Comment 2 CFME Bot 2020-02-21 22:11:48 UTC
New commits detected on ManageIQ/manageiq-api/ivanchuk:

https://github.com/ManageIQ/manageiq-api/commit/e025d675087172a27615522a9fad54ab4f621714
commit e025d675087172a27615522a9fad54ab4f621714
Author:     Adam Grare <agrare>
AuthorDate: Fri Feb 14 19:00:11 2020 +0000
Commit:     Adam Grare <agrare>
CommitDate: Fri Feb 14 19:00:11 2020 +0000

    Merge pull request #740 from d-m-u/removing_provider_resume_pause

    Remove container provider resume/pause

    (cherry picked from commit 086814a4a80cd1e83e2125338f96859d94394b20)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1805902

 app/controllers/api/providers_controller.rb | 16 -
 config/api.yml | 8 -
 spec/requests/providers_spec.rb | 96 -
 3 files changed, 120 deletions(-)

Comment 5 juwatts 2020-02-26 15:31:12 UTC
Verified in 5.11.4.0.20200224230733_ab25bbf

In[4]: appliance.collections.containers_providers.pause_providers(ocp)
Traceback (most recent call last):
  File "/home/juwatts/repos/cfme_venv3/lib64/python3.7/site-packages/IPython/core/interactiveshell.py", line 3326, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-4-8bda0b8b3767>", line 1, in <module>
    appliance.collections.containers_providers.pause_providers(ocp)
  File "/home/juwatts/repos/integration_tests/cfme/containers/provider/__init__.py", line 392, in pause_providers
    return self.appliance.rest_api.collections.providers.action.pause(*prov_entities)
  File "/home/juwatts/repos/cfme_venv3/lib64/python3.7/site-packages/manageiq_client/api.py", line 633, in __getattr__
    raise AttributeError("No such action {}".format(attr))
AttributeError: No such action pause

Comment 7 errata-xmlrpc 2020-03-17 13:11:38 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-2020:0867