Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refs #14196 - support host subscription unsubscribe #366

Merged
merged 1 commit into from
Mar 30, 2016

Conversation

jlsherrill
Copy link
Member

No description provided.

@jlsherrill
Copy link
Member Author

Note that tests are currently busted, trying to figure out what is wrong with the foreman_api.json loading

@jlsherrill
Copy link
Member Author

Updated tests

@cfouant
Copy link
Member

cfouant commented Mar 21, 2016

@jlsherrill - this doesn't seem to work when the --host option is used and there is more than one host registered to the system.

[vagrant@centos7-devel hammer-cli-katello{unregister}]$ hammer host list
---|-----------------------|------------------|------------|-----------------|------------------
ID | NAME                  | OPERATING SYSTEM | HOST GROUP | IP              | MAC              
---|-----------------------|------------------|------------|-----------------|------------------
3  | otherrhel.example.com | RedHat 7.1       |            | 192.168.121.195 | 52:54:00:40:18:a6
4  | rhel7.example.com     | RedHat 7.2       |            | 192.168.121.33  | 52:54:00:78:26:ad
---|-----------------------|------------------|------------|-----------------|------------------
[vagrant@centos7-devel hammer-cli-katello{unregister}]$ hammer host subscription unregister --host otherrhel.example.com
Could not unregister the host:
  Error: found more than one host

@jlsherrill
Copy link
Member Author

@cfouant updated to add a host id resolver for katello

@jlsherrill
Copy link
Member Author

opened http://projects.theforeman.org/issues/14307 to make id resolving consistent

@cfouant
Copy link
Member

cfouant commented Mar 21, 2016

Works for me now APT

@jlsherrill
Copy link
Member Author

[test]

@jlsherrill jlsherrill merged commit 090996f into Katello:master Mar 30, 2016
@jlsherrill jlsherrill deleted the unregister branch March 30, 2016 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants