mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 19:10:10 +00:00
Fixes for nodesupport
This commit is contained in:
parent
3ee6334db2
commit
6aec9534e7
@ -31,7 +31,7 @@ if path.startswith('/opt'):
|
||||
sys.path.append(path)
|
||||
|
||||
import confluent.client as client
|
||||
import confluent.screensqueeze as sj q
|
||||
import confluent.screensqueeze as sq
|
||||
|
||||
exitcode = 0
|
||||
|
||||
@ -69,7 +69,7 @@ def download_servicedata(noderange, media):
|
||||
session = client.Command()
|
||||
output = sq.ScreenPrinter(noderange, session)
|
||||
filename = os.path.abspath(media)
|
||||
resource = '/noderange/{0}/media/uploads/'.format(noderange)
|
||||
resource = '/noderange/{0}/support/servicedata/'.format(noderange)
|
||||
upargs = {'filename': filename}
|
||||
noderrs = {}
|
||||
nodeurls = {}
|
||||
|
@ -385,7 +385,7 @@ class IpmiHandler(object):
|
||||
self.error = None
|
||||
eventlet.sleep(0)
|
||||
self.cfg = cfd[node]
|
||||
self.current_user = cfd.current_user
|
||||
self.current_user = cfg.current_user
|
||||
self.loggedin = False
|
||||
self.node = node
|
||||
self.element = element
|
||||
|
Loading…
Reference in New Issue
Block a user