Bug 833308 - wallaby cluster-delete doesn't delete HA schedd
Summary: wallaby cluster-delete doesn't delete HA schedd
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor
Version: Development
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 2.2
: ---
Assignee: Robert Rati
QA Contact: Martin Kudlej
URL:
Whiteboard:
: 838581 (view as bug list)
Depends On:
Blocks: 838581
TreeView+ depends on / blocked
 
Reported: 2012-06-19 08:20 UTC by Martin Kudlej
Modified: 2012-09-24 11:17 UTC (History)
4 users (show)

Fixed In Version: condor-7.6.5-0.18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-19 18:26:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
cluster configuration (941 bytes, text/plain)
2012-06-19 08:20 UTC, Martin Kudlej
no flags Details
wallaby configuration (538 bytes, text/plain)
2012-06-19 08:21 UTC, Martin Kudlej
no flags Details

Description Martin Kudlej 2012-06-19 08:20:43 UTC
Created attachment 592860 [details]
cluster configuration

Description of problem:
"wallaby cluster-delete" allow to delete HA schedd configuration from wallaby store and not from cluster configuration when user doesn't input proper password.

Version-Release number of selected component (if applicable):
condor-7.6.5-0.15.el6
condor-classads-7.6.5-0.15.el6
condor-cluster-resource-agent-7.6.5-0.15.el6
condor-wallaby-base-db-1.22-4.el6
condor-wallaby-client-4.1.2-1.el6
condor-wallaby-tools-4.1.2-1.el6
python-condorutils-1.5-4.el6
python-qpid-0.14-8.el6
python-qpid-qmf-0.14-7.el6_2
python-wallabyclient-4.1.2-1.el6
qpid-cpp-client-0.14-16.el6
qpid-cpp-server-0.14-16.el6
qpid-qmf-0.14-7.el6_2
ruby-qpid-qmf-0.14-7.el6_2
ruby-wallaby-0.12.5-1.el6
wallaby-0.12.5-1.el6
wallaby-utils-0.12.5-1.el6

How reproducible:
100%

Steps to Reproduce:
1. install and setup Condor pool and clustering 
2. setup HA scheduler
3. rm -rf ~/.ccs
4. wallaby -H _wallaby_node_ cluster-delete name="_name_of_ha_schedd_"
5. don't type password, just hit enter
6. there is defined HA schedd in cluster but there is no HA schedd in wallaby store(Condor configuration)
  
Expected results:
"wallaby cluster-delete" should not allow to delete HA schedd configuration from wallaby store when user doesn't input proper ricci password.

Comment 1 Martin Kudlej 2012-06-19 08:21:39 UTC
Created attachment 592861 [details]
wallaby configuration

Comment 4 Martin Kudlej 2012-07-09 14:25:12 UTC
If I use:
cluster-remove-node
cluster-add-node
cluster-add-queryserver
cluster-add-jobserver
cluster-sync-to-store

wallaby connects to store and change configuration without connecting to ricci. For example this means that add/remove node adds/removes node from store but it is still in cluster.conf. 

Packages:
condor-7.6.5-0.16.el6.x86_64
condor-aviary-7.6.5-0.16.el6.x86_64
condor-classads-7.6.5-0.16.el6.x86_64
condor-cluster-resource-agent-7.6.5-0.16.el6.x86_64
condor-qmf-7.6.5-0.16.el6.x86_64
condor-wallaby-base-db-1.22-5.el6.noarch
condor-wallaby-client-4.1.2-1.el6.noarch
condor-wallaby-tools-4.1.2-1.el6.noarch
python-condorutils-1.5-4.el6.noarch
python-qpid-0.14-8.el6.noarch
python-qpid-qmf-0.14-7.el6_2.x86_64
python-wallabyclient-4.1.2-1.el6.noarch
qpid-cpp-client-0.14-16.el6.x86_64
qpid-cpp-server-0.14-16.el6.x86_64
qpid-qmf-0.14-7.el6_2.x86_64
qpid-tools-0.14-2.el6_2.noarch
ruby-qpid-qmf-0.14-7.el6_2.x86_64
ruby-wallaby-0.12.5-10.el6.noarch
wallaby-0.12.5-10.el6.noarch
wallaby-utils-0.12.5-10.el6.noarch

Comment 5 Robert Rati 2012-07-10 17:00:54 UTC
*** Bug 838581 has been marked as a duplicate of this bug. ***

Comment 6 Robert Rati 2012-07-11 14:06:36 UTC
The wallaby-* commands will not to anything if they can't communicate with ccs.  Additionally, they will error out on all important ccs commands as well.

Updated branch:
boysenberry-BZ833308-cluster-delete-stops-on-ccs-error

Comment 7 Martin Kudlej 2012-07-13 10:45:41 UTC
Tested on RHEL 6.3 x i386/x86_64 with condor-7.6.5-0.18 build and it works. -->VERIFIED


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