Bug 1461427 - Not able to copy class(include all instances) to new writeable domain in multi-zone appliance
Summary: Not able to copy class(include all instances) to new writeable domain in mult...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.9.0
Assignee: drew uhlmann
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-14 12:31 UTC by Sachin
Modified: 2021-03-11 15:19 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-10 11:58:39 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sachin 2017-06-14 12:31:03 UTC
Description of problem:

Not able to copy class(include all instances) to new writeable domain in multi-zone appliance 

Version-Release number of selected component (if applicable):
5.7

How reproducible:
Not always

Steps to Reproduce:
1. Should have multiple zone with automate rote enabled on at least one or more appliance 
2. Create a new writable domain. Assign top preference to the domain.
3. Try to copy class (tick all instances within the class) to new domain


Actual results:
Example:
~~~
[----] E, [2017-06-07T00:53:51.382286 #3040:10425e4] ERROR -- : MIQ(miq_ae_class_controller-copy_objects): Error during 'Automate Instance copy': Destination Class already exists /Integration/Customization/VMcustomization
~~~

Please note that `VMcustomization` is never copied

Expected results:
Should be able to copy class including instances

Additional info:

Workaround:
1. Copy the class first
2. and they copy it instances

(URL to recording(private))

Comment 4 William Fitzgerald 2017-06-27 18:51:53 UTC
I wasn't able to re-create this problem.  The copy worked in a multi zone appliance.

Comment 5 William Fitzgerald 2017-06-27 18:54:11 UTC
Milan,

Any idea why this works for me but fails for the customer?

Comment 6 vaclav.miller 2017-06-27 19:52:57 UTC
Hello,

we are deploying the same automate model from DEV to 3 single appliance environments (TEST, UAT, DEMO) without any issue. 
Error appears only for PROD environment that is build by multi appliances deployed to multi zones.

Feel free to contact me if you need more details or like to have a call to see environment setting.

Vaclav

Comment 7 Milan Falešník 2017-06-28 07:59:40 UTC
I will try looking into it and possibly find a reliable reproducer steps. I hope I can do it today as I am off for rest of the week then.

Comment 8 Milan Falešník 2017-06-28 09:42:15 UTC
I cannot reproduce it, can anybody chime in with some schema of their deployment?

Comment 10 Tina Fitzgerald 2017-07-10 21:12:29 UTC
Hi Sachin,

Any update from the customer?

Thanks,
Tina

Comment 11 Sachin 2017-07-11 06:44:03 UTC
@Tina,

See comment#6 from customer

Comment 14 Greg McCullough 2017-07-26 16:04:17 UTC
We cannot reproduce and have not gotten a response on our request for additional information.  If more data or details can be provided please re-open.

Comment 17 Greg McCullough 2017-09-08 14:35:29 UTC
Drew - At this point I would suggest adding some debug logging to the miq_ae_class_copy.rb validate method to help identify the root cause.

Comment 20 drew uhlmann 2017-09-20 17:09:26 UTC
Customer should restart the server after replacing the file, then reproduce the issue, and send us the evm.log and automation.logs. The debug file is the attachment in comment 18.

Comment 22 drew uhlmann 2017-10-02 19:25:14 UTC
Hey Sachin! Is there any update on this issue?

Comment 23 Sachin 2017-10-03 09:38:57 UTC
Hi Drew,

The case is still waiting on customer.


Note You need to log in before you can comment on or make changes to this bug.