#6003 execution of copy-schema script fails
Closed: Fixed None Opened 7 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1350695

Description of problem:

While execution our migration test suite where we create 7.3 replica from 6.8
master, we need to copy copy-schema-to-ca.py from 7.3 vm on 6.8 Master and run
it there . but i do see following error

[root@dhcp207-6 ~]# python copy-schema-to-ca.py
Traceback (most recent call last):
  File "copy-schema-to-ca.py", line 24, in <module>
    from ipaplatform.constants import constants
ImportError: No module named ipaplatform.constants
[root@dhcp207-6 ~]#

Version-Release number of selected component (if applicable):
[root@dhcp207-129 ~]# rpm -q ipa-server
ipa-server-4.4.0-0.el7.2.alpha1.x86_64
[root@dhcp207-129 ~]#

How reproducible:
Always

Steps to Reproduce:
1. Copy copy-schema-to-ca.py from RHEL-7.3 vm to RHEL-6.8 vm
2. On RHEL-6.8 vm , run copy-schema-to-ca.py
3.

Actual results:
Execution of script fails

Expected results:
Execution of script should have been successful .

Additional info:

Caused by: 49be6c8

copy-schema-to-ca.py part of the patch should be reverted.

commits:

Should be also investigated if they doesn't cause issues on RHEL 6.

master:

  • f3858be Fix wrong imports in copy-schema-to-ca.py

Metadata Update from @pvoborni:
- Issue assigned to stlaz
- Issue set to the milestone: FreeIPA 4.4

7 years ago

Login to comment on this ticket.

Metadata