Question on katello CLI
by joshi dhaval
i asked this on IRC.. .. need some help if someone got some idea on it ?
[19:25] <DJ_> Hello, got a question .. in katello-cli ... i am checking below system api
[19:25] <DJ_> https://github.com/Katello/katello-cli/blob/master/src/katello/client/api...
[19:25] <DJ_> i am interested in
[19:25] <DJ_> def find_by_custom_info(self, org, key, value):
[19:25] <DJ_> method ...
[19:25] <DJ_> I dont see any call to this method so i can find systems using custom information i have created ....
[19:27] <DJ_> though i am not python expert .. but i saw code and i can see i need to create that in core/system.py
[19:27] <DJ_> and add it to
[19:27] <DJ_> https://github.com/Katello/katello-cli/blob/master/src/katello/client/mai...
[19:27] <DJ_> But if i only want to write my own script for that particular method how would i do that ? ... so for example .. i want to write something .. . and i can run like
[19:28] <DJ_> python find_by_cust_info.py key="name" value="i am here"
[19:28] <DJ_> i am not getting how i can load authentication modules .. particularly ..
[19:35] <DJ_> bit longer question.. but appriciate some help :) ....
Regards,
DJ
10 years, 3 months
None
by joshi dhaval
Dhaval Joshi
09879838392
10 years, 4 months
Question on Katello architecture
by joshi dhaval
Hello,
I am planning to use Katello in my environment and i have some questions ...
What we have :-
1) Approx 100 Application teams
2) RHEL 5.6, 5.9 and 6.4
3) Approx 30K packages for above 100 Application teams
I am planning to use katello for above requirement as well as for patching but currently i have question to accommodate above requirement
What i am planning :-
create 2 roles ..
1) system administrator
2) Application developers ...
Work flow for System Administrator :-
-- Create product ( Name the product as per the application team's name.. so approx there will be 100 products that needs to be created )
-- Create repository ( create repo under every product as per the Application team's name )
-- Create content view ( name it as per the app team's name, add contents it will be INFRA repos + above application team's repo )
-- Publish content view ( name it as per the application team's name )
-- create changeset ( name it like application_team_name_1.. application_team_name_2 and so on ) .. there are 2 environments DEV->Stage->Production
Work flow for Application Developers :-
-- Should be able to upload or remove packages to repositories assigned to them .. ( using --filepath )
-- refresh the content view
-- create changeset and promote it to next env
-- refresh repo on client machine
-- install/remove/upload packages to client machine
Other stuffs :-
create activation keys and name them as per the Application team's name and assign there content view as same name that we created using application team's name .. so when server get built .. i can automate the subscription-manager subscribe ..
Questions :-
1) is above thoughts appropriates as per your expertise in katello ?
2) I am facing issues creating roles for Application developers ... and i only want to give access to them so they can perform above steps i mention ... not sure how i will assign roles to them ?
3) how do i make sure Application developers does not mess the things for other products which they are not belongs to ?
4) creating activation keys and assign them particular repos like what i mention above will make approx 100 keys for me .. as i have 100 applications ... do you have any other ideas ?
Regards,
DJ
10 years, 4 months