Bug 1572129
Summary: | ASB report error when recover in-progress mediawiki provision and deprovision jobs | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Zihan Tang <zitang> |
Component: | Service Broker | Assignee: | Jesus M. Rodriguez <jesusr> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Zihan Tang <zitang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.10.0 | CC: | aos-bugs, chezhang, jiazha, jmatthew, zhsun |
Target Milestone: | --- | ||
Target Release: | 3.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: |
undefined
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-12-20 21:12:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Zihan Tang
2018-04-26 09:03:51 UTC
the provision can not always recover successfully, sometimes is in pending status. Status: Async Op In Progress: true Conditions: Last Transition Time: 2018-04-26T10:01:54Z Message: The instance is being provisioned asynchronously (action started) Reason: Provisioning Status: False Type: Ready Current Operation: Provision Fixed by PR 927 https://github.com/openshift/ansible-service-broker/pull/927 [2018-05-04T02:57:29.055Z] [INFO] - Initiating Recovery Process [2018-05-04T02:57:29.068Z] [DEBUG] - get service instance: dea8214c-4f46-11e8-b11d-0242ac110009 [2018-05-04T02:57:29.077Z] [DEBUG] - get spec: 1dd62d51c52cc2ac404d58abc0c8fa94 [2018-05-04T02:57:29.089Z] [INFO] - No podname. Attempting to restart job: dea8214c-4f46-11e8-b11d-0242ac110009 [2018-05-04T02:57:29.089Z] [DEBUG] - &{dea8214c-4f46-11e8-b11d-0242ac110009 0xc42028f4a0 0xc4205ba0a0 0xc42048a310 map[] } [2018-05-04T02:57:29.089Z] [INFO] - Recovery complete [2018-05-04T02:57:29.089Z] [NOTICE] - recover called Image is ready ,change it ON_QA Verify failed. ASB version: 1.2.10 provision job will be recovered successfully. deprovision job still recover failed. asb log: [2018-05-08T05:58:13.837Z] [INFO] - Initiating Recovery Process [2018-05-08T05:58:13.859Z] [INFO] - No podname. Attempting to restart job: bd547602-5283-11e8-8906-0a580a80000b [2018-05-08T05:58:13.859Z] [WARNING] - Attempted to recover job 22862f2d-5613-4ee5-9dd7-4c6f649cf13d, but found an unrecognized MethodType: deprovision, skipping... [2018-05-08T05:58:13.86Z] [ERROR] - invalid work topic [root@host-172-16-120-28 ~]# oc describe bundleinstance bd547602-5283-11e8-8906-0a580a80000b Name: bd547602-5283-11e8-8906-0a580a80000b Namespace: openshift-ansible-service-broker Labels: <none> Annotations: <none> API Version: automationbroker.io/v1alpha1 Kind: BundleInstance Metadata: Cluster Name: Creation Timestamp: 2018-05-08T05:50:41Z Generation: 1 Resource Version: 130577 Self Link: /apis/automationbroker.io/v1alpha1/namespaces/openshift-ansible-service-broker/bundleinstances/bd547602-5283-11e8-8906-0a580a80000b UID: bdb22752-5283-11e8-8260-fa163e868f10 Spec: Bundle: Name: 03b69500305d9859bb9440d9f9023784 Context: Namespace: wiki Platform: kubernetes Dashboard URL: Parameters: {"_apb_last_requesting_user":"zitang","_apb_plan_id":"default","_apb_service_class_id":"03b69500305d9859bb9440d9f9023784","_apb_service_instance_id":"bd547602-5283-11e8-8906-0a580a80000b","mediawiki_admin_pass":"dddd","mediawiki_admin_user":"admin","mediawiki_db_schema":"mediawiki","mediawiki_site_lang":"en","mediawiki_site_name":"MediaWiki","mediawiki_volume_size":"1Gi"} Status: Bindings: Jobs: 22862 F 2 D - 5613 - 4 Ee 5 - 9 Dd 7 - 4 C 6 F 649 Cf 13 D: Description: action started Last Modified Time: 2018-05-08T05:58:03Z Method: deprovision Podname: State: in-progress 2 F 365 E 8 C - 25 D 0 - 4378 - Bff 5 - C 609 C 64 F 7 E 2 E: Description: provision job completed Last Modified Time: 2018-05-08T05:52:25Z Method: provision Podname: State: succeeded Last Description: action started State: in-progress Events: <none> step: 1. deprovision mediawiki 2. delete asb pod during deprovision. image in upstream and downstream is still 1.2.11, not 1.2.12 for test. marked as MODIFIED. image is ready ,change it to ON_QA verified. asb : 1.2.12 |