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

Realm tests cannot use fake capsule/proxy without realm feature #5370

Closed
1 task done
san7ket opened this issue Oct 16, 2017 · 2 comments
Closed
1 task done

Realm tests cannot use fake capsule/proxy without realm feature #5370

san7ket opened this issue Oct 16, 2017 · 2 comments
Labels
Bug This is an issue with the robottelo framework TestFailure Issues and PRs related to a test failing in automation

Comments

@san7ket
Copy link
Contributor

san7ket commented Oct 16, 2017

Relam tests are creating fake proxy and then CRUD Relam opertaions are performed this fails as the created proxy doesn't have relam feature on it

  • tests.foreman.cli.test_realm.RealmTestCase.test_positive_delete_by_name
@san7ket san7ket added 6.3 Bug This is an issue with the robottelo framework TestFailure Issues and PRs related to a test failing in automation labels Oct 16, 2017
@san7ket san7ket changed the title Relam tests cannot use fake capsule/proxy without relam feature Realm tests cannot use fake capsule/proxy without realm feature Oct 16, 2017
@ntkathole
Copy link
Contributor

hammer -v -u admin -p changeme --output=csv realm create --realm-type="Active Directory" --name="KVu5LA" --realm-proxy-id="8"
<<< stderr
422 Unprocessable Entity
Realm Capsule does not have the Realm feature
Could not create the realm:
Realm Capsule does not have the Realm feature

E           CLIFactoryError: Failed to create Realm with data:
E           {
E             "location-ids": null,
E             "locations": null,
E             "name": "KVu5LA",
E             "organization-ids": null,
E             "organizations": null,
E             "realm-proxy-id": "8",
E             "realm-type": "Active Directory"
E           }
E           Command "realm create" finished with return_code 65
E           stderr contains following message:
E           [ERROR 2017-11-06 03:25:27 API] 422 Unprocessable Entity
E           [ERROR 2017-11-06 03:25:27 Exception] Realm Capsule does not have the Realm feature
E           Could not create the realm:
E             Realm Capsule does not have the Realm feature

@san7ket
Copy link
Contributor Author

san7ket commented Nov 28, 2017

Closing this in favor of SatelliteQE/satellite6-upgrade#127 , only on upgrade

@san7ket san7ket closed this as completed Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is an issue with the robottelo framework TestFailure Issues and PRs related to a test failing in automation
Projects
None yet
Development

No branches or pull requests

2 participants