Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias Assign NameStore Str ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Raise Call NameLoad Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Dict Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Return Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return Dict Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Raise Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Str Assign NameStore Dict If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad If CompareIn AttributeLoad NameLoad attr NameLoad body Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareNotEq SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str UnaryOpNot SubscriptLoad NameLoad Index AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Assign TupleStore NameStore NameStore NameStore NameLoad Assign NameStore Dict Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list decorator_list
N/A N/A os installer cobbler plugin.
 N/A logging N/A os N/A shutil N/A xmlrpclib compass.deployment.installers.installer OSInstaller compass.deployment.utils constants const compass.utils setting_wrapper compass_setting compass.utils util copy deepcopy N/A NAME CobblerInstaller CobblerInstaller N/A OSInstaller N/A N/A cobbler installer N/A CREDENTIALS credentials N/A USERNAME username N/A PASSWORD password N/A INSTALLER_URL cobbler_url N/A TMPL_DIR tmpl_dir N/A SYS_TMPL system.tmpl N/A SYS_TMPL_NAME system.tmpl N/A SYS_PROFILE_NAME profile.tmpl N/A PROFILE profile N/A POWER_TYPE power_type N/A POWER_ADDR power_address N/A POWER_USER power_user N/A POWER_PASS power_pass __init__ N/A N/A self config_manager N/A N/A N/A N/A N/A N/A super CobblerInstaller self __init__ N/A N/A self config_manager config_manager N/A installer_settings N/A N/A N/A self config_manager get_os_installer_settings N/A N/A N/A username N/A N/A installer_settings N/A N/A self CREDENTIALS N/A N/A self USERNAME N/A password N/A N/A installer_settings N/A N/A self CREDENTIALS N/A N/A self PASSWORD N/A cobbler_url N/A installer_settings N/A N/A self INSTALLER_URL N/A N/A self tmpl_dir N/A N/A CobblerInstaller get_tmpl_path N/A N/A N/A KeyError N/A ex N/A N/A N/A KeyError N/A ex message N/A N/A self remote N/A N/A self _get_cobbler_server cobbler_url N/A N/A self token N/A N/A self _get_token username password N/A N/A self pk_installer_config None N/A N/A N/A logging debug %s instance created CobblerInstaller N/A get_tmpl_path N/A N/A cls N/A N/A N/A N/A N/A N/A os path join N/A compass_setting TMPL_DIR cobbler N/A classmethod __repr__ N/A N/A self N/A N/A N/A N/A %r[remote=%r,token=%r N/A N/A N/A self __class__ __name__ N/A self remote N/A self token N/A _get_cobbler_server N/A N/A self cobbler_url N/A N/A N/A N/A cobbler_url N/A N/A N/A N/A logging error Cobbler URL is None! N/A N/A Exception Cobbler URL cannot be None! N/A N/A N/A xmlrpclib Server cobbler_url N/A _get_token N/A N/A self username password N/A N/A N/A N/A N/A self remote None N/A N/A N/A Exception Cobbler remote instance is None! N/A N/A N/A N/A self remote login username password N/A get_supported_oses N/A N/A self N/A N/A N/A get supported os versions.

        note::
        In cobbler, we treat profile name as the indicator
        of os version. It is just a simple indicator
        and not accurate.
         N/A profiles N/A N/A N/A self remote get_profiles N/A oses N/A N/A profile profiles N/A N/A N/A N/A oses append N/A profile N/A name N/A oses N/A deploy N/A N/A self N/A N/A N/A Sync cobbler to catch up the latest update config and start to

        install OS. Return both cluster and hosts deploy configs. The return
        format:
        {
            "cluster": {
                "id": 1,
                "deployed_os_config": {},
            },
            "hosts": {
                 1($clusterhost_id): {
                      "deployed_os_config": {...},
                 },
                 ....
            }
        }
         N/A host_ids N/A N/A N/A self config_manager get_hosts_id_list_for_os_installation N/A N/A host_ids N/A N/A N/A N/A logging info Cobbler: No host needs to install OS. N/A N/A N/A os_version N/A N/A N/A self config_manager get_os_version N/A profile N/A N/A self _get_profile_from_server os_version N/A global_vars_dict N/A N/A self _get_cluster_tmpl_vars_dict N/A N/A N/A self update_profile_config_to_cobbler profile global_vars_dict N/A hosts_deploy_config N/A N/A host_id host_ids N/A N/A hostname N/A N/A N/A self config_manager get_hostname host_id N/A vars_dict N/A N/A self _get_host_tmpl_vars_dict host_id global_vars_dict hostname hostname profile profile N/A N/A N/A self update_host_config_to_cobbler host_id hostname vars_dict N/A host_config N/A N/A N/A host_config N/A N/A const DEPLOYED_OS_CONFIG N/A vars_dict N/A N/A const OS_CONFIG N/A N/A hosts_deploy_config N/A host_id host_config N/A N/A N/A self _sync N/A cluster_config N/A N/A global_vars_dict setdefault N/A const OS_CONFIG N/A N/A N/A N/A const CLUSTER N/A const HOSTS N/A N/A const ID N/A const DEPLOYED_OS_CONFIG N/A N/A N/A self config_manager get_cluster_id cluster_config hosts_deploy_config N/A clean_progress N/A N/A self N/A N/A N/A clean log files and config for hosts which to deploy. N/A clusterhost_list N/A N/A N/A self config_manager get_host_id_list N/A log_dir_prefix N/A N/A compass_setting INSTALLATION_LOGDIR N/A NAME N/A host_id clusterhost_list N/A N/A hostname N/A N/A N/A self config_manager get_hostname host_id N/A N/A N/A self _clean_log log_dir_prefix hostname N/A redeploy N/A N/A self N/A N/A N/A redeploy hosts. N/A host_ids N/A N/A N/A self config_manager get_host_id_list N/A N/A host_ids N/A N/A N/A N/A logging info Cobbler: hostlist is None, no host is redeployed N/A N/A host_id host_ids N/A N/A hostname N/A N/A N/A self config_manager get_hostname host_id N/A sys_id N/A N/A self _get_create_system hostname N/A sys_id N/A N/A N/A N/A self _netboot_enabled sys_id N/A N/A N/A self _sync N/A set_package_installer_config N/A N/A self package_configs N/A N/A N/A Cobbler can install and configure package installer right after

        OS installation compelets by setting package_config info provided
        by package installer.

        :param dict package_configs: The dict of config generated by package
                                     installer for each clusterhost. The IDs
                                     of clusterhosts are the keys of
                                     package_configs.
         N/A N/A self pk_installer_config package_configs N/A _sync N/A N/A self N/A N/A N/A Sync the updated config to cobbler and trigger installation. N/A N/A N/A N/A N/A N/A self remote sync N/A self token N/A N/A N/A os system sudo service rsyslog restart N/A N/A N/A Exception N/A ex N/A N/A N/A N/A logging debug N/A Failed to sync cobbler server! Error: %s ex N/A ex N/A dump_system_info N/A N/A self host_id N/A N/A N/A hostname N/A N/A N/A self config_manager get_hostname host_id N/A N/A N/A N/A self remote None N/A hostname N/A N/A N/A N/A logging info [dump_system_info]Remote or hostname is None. N/A N/A N/A N/A N/A N/A self remote get_system_as_rendered hostname N/A _generate_system_config N/A N/A self host_id host_vars_dict N/A N/A N/A Generate updated system config from the template.

           :param host_vars_dict: dict of variables for the system template to
                                  generate system config dict for each host.
         N/A os_version N/A N/A N/A self config_manager get_os_version N/A tmpl_path N/A N/A N/A os path join N/A N/A N/A os path join N/A self tmpl_dir os_version N/A self SYS_TMPL_NAME N/A N/A N/A N/A N/A os path exists tmpl_path N/A N/A err_msg N/A Template '%s' does not exists! tmpl_path N/A N/A N/A logging error err_msg N/A N/A Exception err_msg N/A system_config N/A N/A self get_config_from_template tmpl_path host_vars_dict N/A N/A N/A self pk_installer_config N/A host_id N/A self pk_installer_config N/A N/A pk_config N/A N/A self pk_installer_config N/A host_id N/A ksmeta N/A N/A system_config setdefault ksmeta N/A N/A N/A N/A util merge_dict ksmeta pk_config N/A N/A system_config N/A ksmeta ksmeta N/A system_config N/A _generate_profile_config N/A N/A self cluster_vars_dict N/A N/A N/A os_version N/A N/A N/A self config_manager get_os_version N/A tmpl_path N/A N/A N/A os path join N/A N/A N/A os path join N/A self tmpl_dir os_version N/A self SYS_PROFILE_NAME N/A N/A N/A self get_config_from_template tmpl_path cluster_vars_dict N/A _get_profile_from_server N/A N/A self os_version N/A N/A N/A Get profile from cobbler server. N/A result N/A N/A N/A self remote find_profile N/A name os_version N/A N/A result N/A N/A N/A Exception Cannot find profile for '%s' os_version N/A profile N/A result N/A 0 N/A profile N/A _get_create_system N/A N/A self hostname N/A N/A N/A get system reference id for the host. N/A sys_name hostname N/A sys_id None N/A system_info N/A N/A N/A self remote find_system N/A name hostname N/A N/A system_info N/A N/A sys_id N/A N/A N/A self remote new_system N/A self token N/A N/A N/A N/A self remote modify_system sys_id name hostname N/A self token N/A N/A N/A logging debug create new system %s for %s sys_id sys_name N/A N/A sys_id N/A N/A N/A self remote get_system_handle sys_name N/A self token N/A sys_id N/A _get_profile_id N/A N/A self profilename N/A N/A N/A get profile reference id for the cluster. N/A N/A N/A N/A self remote get_profile_handle profilename N/A self token N/A _clean_system N/A N/A self hostname N/A N/A N/A clean system. N/A sys_name hostname N/A N/A N/A N/A N/A N/A self remote remove_system sys_name N/A self token N/A N/A N/A logging debug system %s is removed sys_name N/A N/A N/A Exception N/A N/A N/A N/A logging debug no system %s found to remove sys_name N/A _update_system_config N/A N/A self sys_id system_config N/A N/A N/A update modify system. N/A N/A key value N/A N/A system_config iteritems N/A N/A N/A N/A N/A self remote modify_system sys_id N/A str key value N/A self token N/A N/A N/A N/A self remote save_system sys_id N/A self token N/A _update_profile_config N/A N/A self profile_id profile_config N/A N/A N/A N/A key value N/A N/A profile_config iteritems N/A N/A N/A N/A N/A self remote modify_profile profile_id N/A str key value N/A self token N/A N/A N/A N/A self remote save_profile profile_id N/A self token N/A _netboot_enabled N/A N/A self sys_id N/A N/A N/A enable netboot. N/A N/A N/A N/A self remote modify_system sys_id netboot_enabled True N/A self token N/A N/A N/A N/A self remote save_system sys_id N/A self token N/A _clean_log N/A N/A self log_dir_prefix system_name N/A N/A N/A clean log. N/A log_dir N/A N/A N/A os path join log_dir_prefix system_name N/A N/A N/A shutil rmtree log_dir True N/A update_host_config_to_cobbler N/A N/A self host_id hostname host_vars_dict N/A N/A N/A update host config and upload to cobbler server. N/A sys_id N/A N/A self _get_create_system hostname N/A system_config N/A N/A self _generate_system_config host_id host_vars_dict N/A N/A N/A logging debug %s system config to update: %s host_id system_config N/A N/A N/A self _update_system_config sys_id system_config N/A N/A N/A self _netboot_enabled sys_id N/A update_profile_config_to_cobbler N/A N/A self profilename cluster_vars_dict N/A N/A N/A update profile config and upload to cobbler server. N/A profile_id N/A N/A self _get_profile_id profilename N/A profile_config N/A N/A self _generate_profile_config cluster_vars_dict N/A N/A N/A logging debug %s profile config to update: %s profilename profile_config N/A N/A N/A self _update_profile_config profile_id profile_config N/A delete_hosts N/A N/A self N/A N/A N/A hosts_id_list N/A N/A N/A self config_manager get_host_id_list N/A N/A N/A logging debug delete hosts %s hosts_id_list N/A host_id hosts_id_list N/A N/A N/A N/A self delete_single_host host_id N/A N/A N/A self _sync N/A delete_single_host N/A N/A self host_id N/A N/A N/A Delete the host from cobbler server and clean up the installation

        progress.
         N/A hostname N/A N/A N/A self config_manager get_hostname host_id N/A N/A N/A log_dir_prefix N/A N/A compass_setting INSTALLATION_LOGDIR N/A NAME N/A N/A N/A self _clean_system hostname N/A N/A N/A self _clean_log log_dir_prefix hostname N/A N/A N/A Exception N/A ex N/A N/A N/A N/A logging error Deleting host got exception: %s ex N/A N/A N/A logging exception ex N/A _get_host_tmpl_vars_dict N/A N/A self host_id global_vars_dict N/A kwargs N/A N/A Generate template variables dictionary. N/A vars_dict N/A N/A global_vars_dict N/A N/A vars_dict N/A deepcopy global_vars_dict N/A host_baseinfo N/A N/A N/A self config_manager get_host_baseinfo host_id N/A N/A vars_dict N/A N/A const BASEINFO host_baseinfo N/A N/A N/A self PROFILE kwargs N/A N/A profile N/A kwargs N/A N/A self PROFILE N/A N/A os_version N/A N/A N/A self config_manager get_os_version N/A profile N/A N/A self _get_profile_from_server os_version N/A N/A N/A vars_dict N/A N/A const BASEINFO N/A N/A self PROFILE profile N/A metadata N/A N/A N/A self config_manager get_os_config_metadata N/A os_config N/A N/A N/A self config_manager get_host_os_config host_id N/A host_vars_dict N/A N/A self get_tmpl_vars_from_metadata metadata os_config N/A N/A N/A util merge_dict N/A N/A vars_dict setdefault N/A const OS_CONFIG N/A host_vars_dict N/A vars_dict N/A _get_cluster_tmpl_vars_dict N/A N/A self N/A N/A N/A metadata N/A N/A N/A self config_manager get_os_config_metadata N/A os_config N/A N/A N/A self config_manager get_cluster_os_config N/A cluster_vas_dict N/A N/A N/A cluster_vas_dict N/A N/A const OS_CONFIG N/A N/A self get_tmpl_vars_from_metadata metadata os_config N/A cluster_vas_dict N/A _check_and_set_system_impi N/A N/A self host_id sys_id N/A N/A N/A N/A sys_id N/A N/A N/A N/A logging info System is None! N/A False N/A system N/A N/A self dump_system_info host_id N/A N/A N/A N/A system N/A N/A self POWER_TYPE ipmilan N/A N/A system N/A N/A self POWER_USER N/A N/A ipmi_info N/A N/A N/A self config_manager get_host_ipmi_info host_id N/A N/A ipmi_info N/A N/A N/A N/A logging info No IPMI information found! Failed power on. N/A False N/A N/A ipmi_ip ipmi_user ipmi_pass ipmi_info N/A power_opts N/A N/A N/A power_opts N/A N/A self POWER_TYPE ipmilan N/A N/A power_opts N/A N/A self POWER_ADDR ipmi_ip N/A N/A power_opts N/A N/A self POWER_USER ipmi_user N/A N/A power_opts N/A N/A self POWER_PASS ipmi_pass N/A N/A N/A self _update_system_config sys_id power_opts N/A True N/A poweron N/A N/A self host_id N/A N/A N/A hostname N/A N/A N/A self config_manager get_hostname host_id N/A sys_id N/A N/A self _get_create_system hostname N/A N/A N/A N/A self _check_and_set_system_impi sys_id N/A N/A N/A N/A N/A N/A self remote power_system sys_id N/A self token power on N/A N/A N/A logging info N/A Host with ID=%d starts to power on! host_id N/A poweroff N/A N/A self host_id N/A N/A N/A hostname N/A N/A N/A self config_manager get_hostname host_id N/A sys_id N/A N/A self _get_create_system hostname N/A N/A N/A N/A self _check_and_set_system_impi sys_id N/A N/A N/A N/A N/A N/A self remote power_system sys_id N/A self token power off N/A N/A N/A logging info N/A Host with ID=%d starts to power off! host_id N/A reset N/A N/A self host_id N/A N/A N/A hostname N/A N/A N/A self config_manager get_hostname host_id N/A sys_id N/A N/A self _get_create_system hostname N/A N/A N/A N/A self _check_and_set_system_impi sys_id N/A N/A N/A N/A N/A N/A self remote power_system sys_id N/A self token power reboot N/A N/A N/A logging info N/A Host with ID=%d starts to reboot! host_id N/A N/A