SatelliteQE / satellite6-upgrade

Satellite 6 upgrade related tools
GNU General Public License v3.0
8 stars 23 forks source link

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

Open san7ket opened 6 years ago

san7ket commented 6 years ago

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

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 E CLIFactoryError: Failed to create Realm with data: Needs https://github.com/SatelliteQE/automation-tools/blob/master/automation_tools/__init__.py#L1409 and https://github.com/SatelliteQE/automation-tools/blob/master/automation_tools/__init__.py#L1555

san7ket commented 6 years ago

@sghai I would prefer to update the images Itself , rather than running the task to configure relam for every build. This way it will add a feature on the box for upgrade testing and will stasify having relam feature to run the related tests