Bug 430724 - uninstall fails
Summary: uninstall fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-server
Version: 1.0
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: freeipa10 429034
TreeView+ depends on / blocked
 
Reported: 2008-01-29 16:30 UTC by Suzanne Hillman
Modified: 2012-03-27 07:14 UTC (History)
1 user (show)

Fixed In Version: freeipa-2.0.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-27 07:14:06 UTC
Embargoed:


Attachments (Terms of Use)
use correct variable when restoring a file (890 bytes, patch)
2008-01-31 15:28 UTC, Rob Crittenden
no flags Details | Diff

Description Suzanne Hillman 2008-01-29 16:30:55 UTC
Unsure if this is important, since I believe that this came from an external source.

Description of problem:
[root@ipaqa02 yum.repos.d]# ipa-server-install --uninstall
Unexpected error - see ipaserver-install.log for details:
 unsupported operand type(s) for +: 'NoneType' and 'str'

In the log:
2008-01-29 08:17:18,451 DEBUG unsupported operand type(s) for +: 'NoneType' and
'str'
  File "/usr/sbin/ipa-server-install", line 500, in <module>
    main()

  File "/usr/sbin/ipa-server-install", line 301, in main
    return uninstall()

  File "/usr/sbin/ipa-server-install", line 276, in uninstall
    ipaserver.bindinstance.BindInstance().uninstall()

  File
"/var/tmp/ipa-server-0.6.0-4-root-root/usr/lib/python2.5/site-packages/ipaserver/bindinstance.py",
line 120, in uninstall

Version-Release number of selected component (if applicable):
i386 2008-01-29_03_01-build

How reproducible:
Always, after an install (behavior changes if you run it a second time without
an install between).

Steps to Reproduce:
1. Do a server install.
2. Do an uninstall
  
Actual results:
The error above.

Expected results:
No error.

Additional info:

Comment 3 Rob Crittenden 2008-01-31 15:28:35 UTC
Created attachment 293589 [details]
use correct variable when restoring a file

Patch provided by Mark McLoughlin.

Committed in changeset 612.

Comment 5 Suzanne Hillman 2008-03-13 20:54:40 UTC
Ok, this time it just worked cleanly first try. This is therefore verified with
the  0.99-18.715.20080312.el5ipa ipa-server rpm.


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