#6728 Building ipa from source & installing ipa from repo produces different ipa-server-install scripts
Closed: invalid 7 years ago Opened 7 years ago by amitkumar25nov.

vim /usr/local/sbin/ipa-server-install
from ipaserver.install import ipa_server_install //Produces traceback in finding module ipa_server_install
ipa_server_install.run()

vim /usr/sbin/ipa-server-install
from ipapython.install import cli
from ipaplatform.paths import paths
from ipaserver.install.server import Server

ServerInstall = cli.install_tool(
Server,
command_name='ipa-server-install',
log_file_name=paths.IPASERVER_INSTALL_LOG,
debug_option=True,
uninstall_log_file_name=paths.IPASERVER_UNINSTALL_LOG,
)
ServerInstall.run_cli()

Though both should be same.


Hi Amit,

did you build IPA from master branch? If yes, please note that there was substantial refactoring of installer code in master branch, (see commit 225fae8) so the code is very different from released versions (4.4.3-3 in Bodhi). Unless this caused some regression in behavior there is no reason to report different code as issue.

Also, from the tickets you opened previously I see you're using Fedora 24. Current master is supposed to go to Fedora 26 so there's about 101% probability it won't work for you.

If you are a developer and need help please contact us on freeipa-devel which I mentioned already in https://pagure.io/freeipa/issue/6725#comment-429711. You can also contact us on freenode#freeipa IRC.

If you're not a developer then don't be surprised by things changing in development repositories. That's how development works. We change stuff and sometimes even get paid for it.

Metadata Update from @stlaz:
- Issue close_status updated to: invalid
- Issue status updated to: Closed (was: Open)

7 years ago

Login to comment on this ticket.

Metadata