Trees | Indices | Help |
---|
|
1 # 2 # Copyright (c) 2008--2015 Red Hat, Inc. 3 # 4 # This software is licensed to you under the GNU General Public License, 5 # version 2 (GPLv2). There is NO WARRANTY for this software, express or 6 # implied, including the implied warranties of MERCHANTABILITY or FITNESS 7 # FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 8 # along with this software; if not, see 9 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 10 # 11 # Red Hat trademarks are not licensed under GPLv2. No permission is 12 # granted to use or replicate Red Hat trademarks that are incorporated 13 # in this software or its documentation. 14 # 15 # Kickstart-related error handling functions 16 # 17 18 from spacewalk.common import rhnFlags 19 from spacewalk.common.rhnLog import log_debug 20 from spacewalk.server.rhnServer import server_kickstart 21 22 # the "exposed" functions 23 __rhnexport__ = ['initiate', 'schedule_sync'] 24 2527 log_debug(3, action_id) 28 29 action_status = rhnFlags.get('action_status') 30 server_kickstart.update_kickstart_session(server_id, action_id, 31 action_status, kickstart_state='injected', 32 next_action_type='reboot.reboot')33 34 # This one will never be called 35 3638 log_debug(3, action_id)39
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Mar 4 07:37:48 2020 | http://epydoc.sourceforge.net |