#1865 Missing additional info while adding a non-existing service to an hbacrule.
Closed: Fixed None Opened 12 years ago by rcritten.

https://bugzilla.redhat.com/show_bug.cgi?id=740838

Description of problem:


Version-Release number of selected component (if applicable):
ipa-server-2.1.1-4.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1.[root@kungfupanda ~]# ipa hbacrule-add-host sghai1
[member host]: test
[member host group]: 
  Rule name: sghai1
  Enabled: TRUE
  Failed hosts/hostgroups: 
    member host: test: no such entry
-------------------------
Number of members added 0
-------------------------

2. However, while adding a non-existing service to the hbacrule we just get "Number of members added 0".

Actual results:
[root@kungfupanda ~]# ipa hbacrule-add-service
Rule name: sghai
[member HBAC service]: httpd
[member HBAC service group]: 
  Rule name: sghai
  Enabled: TRUE
  Users: sghai
  Hosts: kungfupanda.lab.eng.pnq.redhat.com, decepticons.lab.eng.pnq.redhat.com
  Source hosts: decepticons.lab.eng.pnq.redhat.com, kungfupanda.lab.eng.pnq.redhat.com
  Services: sshd, ftp, sudo
-------------------------
Number of members added 0
-------------------------
[root@kungfupanda ~]#


Expected results:
[root@kungfupanda ~]# ipa hbacrule-add-service
Rule name: sghai
[member HBAC service]: httpd
[member HBAC service group]: 
  Rule name: sghai
  Enabled: TRUE
  Users: sghai
  Hosts: kungfupanda.lab.eng.pnq.redhat.com, decepticons.lab.eng.pnq.redhat.com
  Source hosts: decepticons.lab.eng.pnq.redhat.com, kungfupanda.lab.eng.pnq.redhat.com
  Services: sshd, ftp, sudo
    Failed services: httpd: no such entry          <<<<<<<<<<<
-------------------------
Number of members added 0
-------------------------
[root@kungfupanda ~]#

Additional info:

Metadata Update from @rcritten:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.1.2 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata