Bug 855304 - Inconsistent service naming in ipa-server-install
Summary: Inconsistent service naming in ipa-server-install
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: freeipa
Version: 17
Hardware: Unspecified
OS: All
unspecified
unspecified
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-07 09:59 UTC by Nikolai Kondrashov
Modified: 2015-01-04 23:52 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-23 01:39:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
An ipa-server-install run output (6.82 KB, text/plain)
2012-09-07 09:59 UTC, Nikolai Kondrashov
no flags Details
A compressed ipaserver-install.log from an ipa-server-install run. (1.38 MB, application/x-bzip)
2012-09-07 10:02 UTC, Nikolai Kondrashov
no flags Details

Description Nikolai Kondrashov 2012-09-07 09:59:01 UTC
Description of problem:

ipa-server-install uses different names for the same service for configuration
start/finish messages in progress output and logs. This is confusing and makes
it harder to look for corresponding start or finish messages.

Example output quote:

    Configuring directory server for the CA: Estimated time 30 seconds
      [1/3]: creating directory server user
      [2/3]: creating directory server instance
      [3/3]: restarting directory server
    done configuring pkids.

Example log quote:

    2012-09-07T09:04:58Z DEBUG Configuring directory server for the CA: Estimated time 30 seconds
    ...
    2012-09-07T09:07:11Z DEBUG done configuring pkids.

Compare the first and the last lines of both.

How reproducible:
always.

Steps to Reproduce:
run ipa-server-install.

Actual results:

    Configuring directory server for the CA: Estimated time 30 seconds
      [1/3]: creating directory server user
      [2/3]: creating directory server instance
      [3/3]: restarting directory server
    done configuring pkids.


Expected results:

    Configuring pkids: Estimated time 30 seconds
      [1/3]: creating directory server user
      [2/3]: creating directory server instance
      [3/3]: restarting directory server
    done configuring pkids.

Or:

    Configuring directory server for the CA: Estimated time 30 seconds
      [1/3]: creating directory server user
      [2/3]: creating directory server instance
      [3/3]: restarting directory server
    done configuring directory server for the CA.

Or maybe:

    Configuring pkids (directory server for the CA): Estimated time 30 seconds
      [1/3]: creating directory server user
      [2/3]: creating directory server instance
      [3/3]: restarting directory server
    done configuring pkids (directory server for the CA).

Additional info:

One way to fix this would be to add a "service_description" field to the
"Service" class, remove "message" argument of the "start_creation" member
function and format start messages there instead, in addition to finish
messages, using service_name and/or service_description fields.

Comment 1 Nikolai Kondrashov 2012-09-07 09:59:49 UTC
Created attachment 610675 [details]
An ipa-server-install run output

Comment 2 Nikolai Kondrashov 2012-09-07 10:02:10 UTC
Created attachment 610676 [details]
A compressed ipaserver-install.log from an ipa-server-install run.

Comment 3 Nikolai Kondrashov 2012-09-07 10:19:43 UTC
$ rpm -qa '*ipa*'
freeipa-python-2.2.0-1.fc17.x86_64
python-iniparse-0.4-4.fc17.noarch
freeipa-server-2.2.0-1.fc17.x86_64
freeipa-admintools-2.2.0-1.fc17.x86_64
device-mapper-multipath-libs-0.4.9-26.fc17.x86_64
freeipa-client-2.2.0-1.fc17.x86_64
device-mapper-multipath-0.4.9-26.fc17.x86_64
freeipa-server-selinux-2.2.0-1.fc17.x86_64
libipa_hbac-1.8.4-14.fc17.x86_64
libipa_hbac-python-1.8.4-14.fc17.x86_64

Comment 4 Dmitri Pal 2012-09-07 14:53:13 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/3059

Comment 5 Rob Crittenden 2012-10-23 01:39:38 UTC
Fixed upstream.

master: 7ce6c4a2d3920f502b9f02e841a651bd0819915b

ipa-3-0: deb4c4afb80208ffe8d8cef44165668bd61ecd26


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