amsharma / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

9d8887a Ticket 49754 - instances created with dscreate can not be upgraded with setup-ds.pl

Authored and Committed by mreynolds 5 years ago
    Ticket 49754 - instances created with dscreate can not be upgraded with setup-ds.pl
    
    Bug Description:  If you create an instance with dscreate and try to
                      upgrade that instance using setup-ds.pl it will fail.
                      While you should not mix and match the python and perl
                      tools, it is still possible and it should work.
    
    Fix Description:  The first problem was that the instance dir (inst_dir)
                      was not set during dscreate, and second we were also not
                      setting the correct inst_dir in defaults.inf.
    
                      Also dscreate does not create a backend by default,
                      which caused 80upgradednformat.pl to fail on an upgrade.
    
                      Finally updated UI's instance creation template to use
                      the correct inst_dir.
    
    https://pagure.io/389-ds-base/issue/49754
    
    Reviewed by: vashirov(Thanks!)