Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2015-07-15 11:40:03,978 [sa.managedobject] UNHANDLED EXCEPTION (2015-07-15 11:40:03.768607)
- BRANCH: develop TIP: abd6a2989d7a
- PROCESS: ./scripts/noc-web.py
- ERROR FINGERPRINT: a6afb954-01b3-5c3c-ade2-09ea709b7640
- WORKING DIRECTORY: /opt/noc
- EXCEPTION: <class 'noc.inv.models.networksegment.DoesNotExist'> NetworkSegment matching query does not exist.
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: lib/python2.6/site-packages/mongoengine/queryset/base.py (Line: 239)
- Function: get
- 232 queryset = queryset.filter(*q_objs, **query)
- 233
- 234 try:
- 235 result = queryset.next()
- 236 except StopIteration:
- 237 msg = ("%s matching query does not exist."
- 238 % queryset._document._class_name)
- 239 ==> raise queryset._document.DoesNotExist(msg)
- 240 try:
- 241 queryset.next()
- 242 except StopIteration:
- 243 return result
- 244
- 245 queryset.rewind()
- Variables:
- msg = 'NetworkSegment matching query does not exist.'
- query = {'id': u'55a51f647e85c97402201f32'}
- self = [<NetworkSegment: ALL>]
- queryset = []
- q_objs = ()
- ------------------------------------------------------------------------
- File: lib/fields.py (Line: 318)
- Function: to_python
- 311 def db_type(self, connection):
- 312 return "CHAR(24)"
- 313
- 314 def to_python(self, value):
- 315 if value is None:
- 316 return None
- 317 else:
- 318 ==> return self.document.objects.get(id=value)
- 319
- 320 def get_prep_value(self, value):
- 321 if value is None:
- 322 return None
- 323 elif isinstance(value, basestring):
- 324 return value
- Variables:
- self = <noc.lib.fields.DocumentReferenceField: segment>
- value = u'55a51f647e85c97402201f32'
- ------------------------------------------------------------------------
- File: lib/python2.6/site-packages/django/db/models/fields/subclassing.py (Line: 34)
- Function: __set__
- 27
- 28 def __get__(self, obj, type=None):
- 29 if obj is None:
- 30 raise AttributeError('Can only be accessed via an instance.')
- 31 return obj.__dict__[self.field.name]
- 32
- 33 def __set__(self, obj, value):
- 34 ==> obj.__dict__[self.field.name] = self.field.to_python(value)
- 35
- 36 def make_contrib(superclass, func=None):
- 37 """
- 38 Returns a suitable contribute_to_class() method for the Field subclass.
- 39
- 40 If 'func' is passed in, it is the existing contribute_to_class() method on
- Variables:
- self = <django.db.models.fields.subclassing.Creator object at 0x4c1aa50>
- obj = <ManagedObject: 6509-yla-gts3>
- value = u'55a51f647e85c97402201f32'
- ------------------------------------------------------------------------
- File: lib/python2.6/site-packages/django/db/models/base.py (Line: 300)
- Function: __init__
- 293 fields_iter = iter(self._meta.fields)
- 294 if not kwargs:
- 295 # The ordering of the izip calls matter - izip throws StopIteration
- 296 # when an iter throws it. So if the first iter throws it, the second
- 297 # is *not* consumed. We rely on this, so don't change the order
- 298 # without changing the logic.
- 299 for val, field in izip(args, fields_iter):
- 300 ==> setattr(self, field.attname, val)
- 301 else:
- 302 # Slower, kwargs-ready version.
- 303 for val, field in izip(args, fields_iter):
- 304 setattr(self, field.attname, val)
- 305 kwargs.pop(field.name, None)
- 306 # Maintain compatibility with existing calls.
- Variables:
- fields_iter = <listiterator object at 0x76a9610>
- val = u'55a51f647e85c97402201f32'
- args_len = 32
- self = <ManagedObject: 6509-yla-gts3>
- args =
- (214,
- u'6509-yla-gts3',
- True,
- 2,
- u'55a51f647e85c97402201f32',
- 1,
- None,
- u'Cisco.IOS',
- 6,
- None,
- None,
- 0,
- u'10.200.200.4',
- 0,
- u'+km',
- u'gjikbdctyf[eq',
- u'rere:tyth',
- u'6509-yla-gts3',
- '10.200.200.4',
- u'public',
- u'public',
- None,
- None,
- 1,
- None,
- None,
- u'Cisco/layer_3_switch',
- None,
- None,
- None,
- 0,
- ['cisco', 'yoshkar-ola'])
- field = <noc.lib.fields.DocumentReferenceField: segment>
- kwargs = {}
- ------------------------------------------------------------------------
- File: sa/models/managedobject.py (Line: 226)
- Function: __init__
- 219 if not a:
- 220 raise AttributeError(name)
- 221 cw = ManagedObject.ActionsProxy.CallWrapper(self._object, name, a)
- 222 self._cache[name] = cw
- 223 return cw
- 224
- 225 def __init__(self, *args, **kwargs):
- 226 ==> super(ManagedObject, self).__init__(*args, **kwargs)
- 227 self.scripts = ManagedObject.ScriptsProxy(self)
- 228 self.actions = ManagedObject.ActionsProxy(self)
- 229
- 230 def __unicode__(self):
- 231 return self.name
- 232
- Variables:
- self = <ManagedObject: 6509-yla-gts3>
- args =
- (214,
- u'6509-yla-gts3',
- True,
- 2,
- u'55a51f647e85c97402201f32',
- 1,
- None,
- u'Cisco.IOS',
- 6,
- None,
- None,
- 0,
- u'10.200.200.4',
- 0,
- u'+km',
- u'gjikbdctyf[eq',
- u'rere:tyth',
- u'6509-yla-gts3',
- '10.200.200.4',
- u'public',
- u'public',
- None,
- None,
- 1,
- None,
- None,
- u'Cisco/layer_3_switch',
- None,
- None,
- None,
- 0,
- ['cisco', 'yoshkar-ola'])
- kwargs = {}
- ------------------------------------------------------------------------
- File: lib/python2.6/site-packages/django/db/models/query.py (Line: 1388)
- Function: get_cached_row
- 1381 # Otherwise, construct the related object.
- 1382 if fields == (None,) * field_count:
- 1383 obj = None
- 1384 else:
- 1385 if field_names:
- 1386 obj = klass(**dict(zip(field_names, fields)))
- 1387 else:
- 1388 ==> obj = klass(*fields)
- 1389
- 1390 # If an object was retrieved, set the database state.
- 1391 if obj:
- 1392 obj._state.db = using
- 1393 obj._state.adding = False
- 1394
- Variables:
- klass_info =
- (<class 'noc.sa.models.managedobject.ManagedObject'>,
- (),
- 32,
- [(<django.db.models.fields.related.ForeignKey: administrative_domain>,
- (<class 'noc.sa.models.administrativedomain.AdministrativeDomain'>,
- (),
- 3,
- [],
- [])),
- (<django.db.models.fields.related.ForeignKey: activator>,
- (<class 'noc.sa.models.activator.Activator'>,
- (),
- 9,
- [(<django.db.models.fields.related.ForeignKey: shard>,
- (<class 'noc.main.models.Shard'>, (), 4, [], [])),
- (<django.db.models.fields.related.ForeignKey: prefix_table>,
- (<class 'noc.main.models.prefixtable.PrefixTable'>, (), 3, [], []))],
- [])),
- (<django.db.models.fields.related.ForeignKey: object_profile>,
- (<class 'noc.sa.models.managedobjectprofile.ManagedObjectProfile'>,
- (),
- 73,
- [],
- []))],
- [])
- fields =
- (214,
- u'6509-yla-gts3',
- True,
- 2,
- u'55a51f647e85c97402201f32',
- 1,
- None,
- u'Cisco.IOS',
- 6,
- None,
- None,
- 0,
- u'10.200.200.4',
- 0,
- u'+km',
- u'gjikbdctyf[eq',
- u'rere:tyth',
- u'6509-yla-gts3',
- '10.200.200.4',
- u'public',
- u'public',
- None,
- None,
- 1,
- None,
- None,
- u'Cisco/layer_3_switch',
- None,
- None,
- None,
- 0,
- ['cisco', 'yoshkar-ola'])
- field_count = 32
- reverse_related_fields = []
- index_start = 0
- klass = <class 'noc.sa.models.managedobject.ManagedObject'>
- offset = 0
- using = 'default'
- field_names = ()
- related_fields =
- [(<django.db.models.fields.related.ForeignKey: administrative_domain>,
- (<class 'noc.sa.models.administrativedomain.AdministrativeDomain'>,
- (),
- 3,
- [],
- [])),
- (<django.db.models.fields.related.ForeignKey: activator>,
- (<class 'noc.sa.models.activator.Activator'>,
- (),
- 9,
- [(<django.db.models.fields.related.ForeignKey: shard>,
- (<class 'noc.main.models.Shard'>, (), 4, [], [])),
- (<django.db.models.fields.related.ForeignKey: prefix_table>,
- (<class 'noc.main.models.prefixtable.PrefixTable'>, (), 3, [], []))],
- [])),
- (<django.db.models.fields.related.ForeignKey: object_profile>,
- (<class 'noc.sa.models.managedobjectprofile.ManagedObjectProfile'>,
- (),
- 73,
- [],
- []))]
- row =
- (214,
- u'6509-yla-gts3',
- True,
- 2,
- u'55a51f647e85c97402201f32',
- 1,
- None,
- u'Cisco.IOS',
- 6,
- None,
- None,
- 0,
- u'10.200.200.4',
- 0,
- u'+km',
- u'gjikbdctyf[eq',
- u'rere:tyth',
- u'6509-yla-gts3',
- '10.200.200.4',
- u'public',
- u'public',
- None,
- None,
- 1,
- None,
- None,
- u'Cisco/layer_3_switch',
- None,
- None,
- None,
- 0,
- ['cisco', 'yoshkar-ola'],
- 2,
- u'Yoshkar-Ola',
- u'Yoshkar-Ola and Medvedevo ',
- 1,
- u'default',
- 1,
- True,
- 1,
- u'noc',
- 0,
- 0,
- [],
- 1,
- u'default',
- True,
- u'Default shard',
- 1,
- u'Activator::default',
- None,
- 6,
- u'no-LLDP-STP',
- None,
- 25,
- None,
- None,
- None,
- False,
- None,
- True,
- 60,
- 4000,
- u',0',
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 900,
- True,
- 600,
- 86400,
- True,
- 600,
- 900,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- False,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- False,
- 600,
- 86400,
- False,
- 600,
- 86400,
- False,
- 600,
- 86400,
- False,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400)
- ------------------------------------------------------------------------
- File: lib/python2.6/site-packages/django/db/models/query.py (Line: 294)
- Function: iterator
- 287 compiler = self.query.get_compiler(using=db)
- 288 if fill_cache:
- 289 klass_info = get_klass_info(model, max_depth=max_depth,
- 290 requested=requested, only_load=only_load)
- 291 for row in compiler.results_iter():
- 292 if fill_cache:
- 293 obj, _ = get_cached_row(row, index_start, db, klass_info,
- 294 ==> offset=len(aggregate_select))
- 295 else:
- 296 if skip:
- 297 row_data = row[index_start:aggregate_start]
- 298 obj = model_cls(**dict(zip(init_list, row_data)))
- 299 else:
- 300 # Omit aggregates in object creation.
- Variables:
- requested = None
- fill_cache = True
- aggregate_select = []
- klass_info =
- (<class 'noc.sa.models.managedobject.ManagedObject'>,
- (),
- 32,
- [(<django.db.models.fields.related.ForeignKey: administrative_domain>,
- (<class 'noc.sa.models.administrativedomain.AdministrativeDomain'>,
- (),
- 3,
- [],
- [])),
- (<django.db.models.fields.related.ForeignKey: activator>,
- (<class 'noc.sa.models.activator.Activator'>,
- (),
- 9,
- [(<django.db.models.fields.related.ForeignKey: shard>,
- (<class 'noc.main.models.Shard'>, (), 4, [], [])),
- (<django.db.models.fields.related.ForeignKey: prefix_table>,
- (<class 'noc.main.models.prefixtable.PrefixTable'>, (), 3, [], []))],
- [])),
- (<django.db.models.fields.related.ForeignKey: object_profile>,
- (<class 'noc.sa.models.managedobjectprofile.ManagedObjectProfile'>,
- (),
- 73,
- [],
- []))],
- [])
- skip = None
- self = repr() failed
- load_fields = []
- db = 'default'
- index_start = 0
- extra_select = []
- aggregate_start = 32
- model = <class 'noc.sa.models.managedobject.ManagedObject'>
- row =
- (214,
- u'6509-yla-gts3',
- True,
- 2,
- u'55a51f647e85c97402201f32',
- 1,
- None,
- u'Cisco.IOS',
- 6,
- None,
- None,
- 0,
- u'10.200.200.4',
- 0,
- u'+km',
- u'gjikbdctyf[eq',
- u'rere:tyth',
- u'6509-yla-gts3',
- '10.200.200.4',
- u'public',
- u'public',
- None,
- None,
- 1,
- None,
- None,
- u'Cisco/layer_3_switch',
- None,
- None,
- None,
- 0,
- ['cisco', 'yoshkar-ola'],
- 2,
- u'Yoshkar-Ola',
- u'Yoshkar-Ola and Medvedevo ',
- 1,
- u'default',
- 1,
- True,
- 1,
- u'noc',
- 0,
- 0,
- [],
- 1,
- u'default',
- True,
- u'Default shard',
- 1,
- u'Activator::default',
- None,
- 6,
- u'no-LLDP-STP',
- None,
- 25,
- None,
- None,
- None,
- False,
- None,
- True,
- 60,
- 4000,
- u',0',
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 900,
- True,
- 600,
- 86400,
- True,
- 600,
- 900,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- False,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400,
- False,
- 600,
- 86400,
- False,
- 600,
- 86400,
- False,
- 600,
- 86400,
- False,
- 600,
- 86400,
- True,
- 600,
- 86400,
- True,
- 600,
- 86400)
- only_load = {}
- max_depth = 5
- compiler = <django.db.models.sql.compiler.SQLCompiler object at 0x7ab10d0>
- ------------------------------------------------------------------------
- File: lib/python2.6/site-packages/django/db/models/query.py (Line: 85)
- Function: __len__
- 78 # Since __len__ is called quite frequently (for example, as part of
- 79 # list(qs), we make some effort here to be as efficient as possible
- 80 # whilst not messing up any existing iterators against the QuerySet.
- 81 if self._result_cache is None:
- 82 if self._iter:
- 83 self._result_cache = list(self._iter)
- 84 else:
- 85 ==> self._result_cache = list(self.iterator())
- 86 elif self._iter:
- 87 self._result_cache.extend(self._iter)
- 88 if self._prefetch_related_lookups and not self._prefetch_done:
- 89 self._prefetch_related_objects()
- 90 return len(self._result_cache)
- 91
- Variables:
- self = repr() failed
- ------------------------------------------------------------------------
- File: lib/app/extapplication.py (Line: 160)
- Function: list_data
- 153 ordering = ordering or self.default_ordering
- 154 if ordering:
- 155 data = data.order_by(*ordering)
- 156 if request.is_extjs:
- 157 total = data.count() # Total unpaged count
- 158 if start is not None and limit is not None:
- 159 data = data[int(start):int(start) + int(limit)]
- 160 ==> ld = len(data)
- 161 if self.row_limit and ld > self.row_limit:
- 162 # Request too large
- 163 return self.response(
- 164 "System limit is %d records (%d requested)" % (self.row_limit, ld),
- 165 status=self.TOO_LARGE)
- 166 out = [formatter(o, fields=only) for o in data]
- Variables:
- fs = None
- ordering = ['name']
- self =
- <noc.sa.apps.managedobject.views.ManagedObjectApplication object at 0x6d5b510>
- request =
- <WSGIRequest
- path:/sa/managedobject/,
- GET:<QueryDict: {u'__limit': [u'67'], u'__start': [u'0'], u'__page': [u'1'], u'_dc': [u'1436949610613'], u'__format': [u'ext'], u'__sort': [u'[{"property":"name","direction":"ASC"}]']}>,
- POST:<QueryDict: {}>,
- COOKIES:{'sessionid': '845383f1e2963ef9daedc1f1e86189cb'},
- META:{'HTTP_ACCEPT': '*/*',
- 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',
- 'HTTP_ACCEPT_LANGUAGE': 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4',
- 'HTTP_CONNECTION': 'close',
- 'HTTP_COOKIE': 'sessionid=845383f1e2963ef9daedc1f1e86189cb',
- 'HTTP_HOST': '127.0.0.1:8000',
- 'HTTP_REFERER': 'https://77.40.0.12/main/desktop/',
- 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36',
- 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
- 'PATH_INFO': u'/sa/managedobject/',
- 'QUERY_STRING': '_dc=1436949610613&__format=ext&__page=1&__start=0&__limit=67&__sort=%5B%7B%22property%22%3A%22name%22%2C%22direction%22%3A%22ASC%22%7D%5D',
- 'REMOTE_ADDR': '127.0.0.1',
- 'REQUEST_METHOD': 'GET',
- 'SCRIPT_NAME': u'',
- 'SERVER_NAME': '127.0.0.1',
- 'SERVER_PORT': '8000',
- 'SERVER_PROTOCOL': 'HTTP/1.0',
- 'wsgi.errors': <open file '/dev/null', mode 'a+' at 0x31d2a50>,
- 'wsgi.input': <io.BytesIO object at 0x794dd70>,
- 'wsgi.multiprocess': True,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)}>
- q = {}
- start = u'0'
- only = None
- r = {'direction': 'ASC', 'property': 'name'}
- limit = u'67'
- formatter =
- <bound method ManagedObjectApplication.instance_to_dict of <noc.sa.apps.managedobject.views.ManagedObjectApplication object at 0x6d5b510>>
- query = None
- total = 225
- data = repr() failed
- fav_items = None
- ------------------------------------------------------------------------
- File: lib/app/extmodelapplication.py (Line: 343)
- Function: api_list
- 336 f[n] = pdata[n]
- 337 return f, m2m
- 338 else:
- 339 return pdata, {}
- 340
- 341 @view(method=["GET"], url="^$", access="read", api=True)
- 342 def api_list(self, request):
- 343 ==> return self.list_data(request, self.instance_to_dict)
- 344
- 345 @view(method=["GET"], url=r"^lookup/$", access="lookup", api=True)
- 346 def api_lookup(self, request):
- 347 return self.list_data(request, self.instance_to_lookup)
- 348
- 349 @view(method=["POST"], url="^$", access="create", api=True)
- Variables:
- self =
- <noc.sa.apps.managedobject.views.ManagedObjectApplication object at 0x6d5b510>
- request =
- <WSGIRequest
- path:/sa/managedobject/,
- GET:<QueryDict: {u'__limit': [u'67'], u'__start': [u'0'], u'__page': [u'1'], u'_dc': [u'1436949610613'], u'__format': [u'ext'], u'__sort': [u'[{"property":"name","direction":"ASC"}]']}>,
- POST:<QueryDict: {}>,
- COOKIES:{'sessionid': '845383f1e2963ef9daedc1f1e86189cb'},
- META:{'HTTP_ACCEPT': '*/*',
- 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',
- 'HTTP_ACCEPT_LANGUAGE': 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4',
- 'HTTP_CONNECTION': 'close',
- 'HTTP_COOKIE': 'sessionid=845383f1e2963ef9daedc1f1e86189cb',
- 'HTTP_HOST': '127.0.0.1:8000',
- 'HTTP_REFERER': 'https://77.40.0.12/main/desktop/',
- 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36',
- 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
- 'PATH_INFO': u'/sa/managedobject/',
- 'QUERY_STRING': '_dc=1436949610613&__format=ext&__page=1&__start=0&__limit=67&__sort=%5B%7B%22property%22%3A%22name%22%2C%22direction%22%3A%22ASC%22%7D%5D',
- 'REMOTE_ADDR': '127.0.0.1',
- 'REQUEST_METHOD': 'GET',
- 'SCRIPT_NAME': u'',
- 'SERVER_NAME': '127.0.0.1',
- 'SERVER_PORT': '8000',
- 'SERVER_PROTOCOL': 'HTTP/1.0',
- 'wsgi.errors': <open file '/dev/null', mode 'a+' at 0x31d2a50>,
- 'wsgi.input': <io.BytesIO object at 0x794dd70>,
- 'wsgi.multiprocess': True,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)}>
- ------------------------------------------------------------------------
- File: lib/app/site.py (Line: 249)
- Function: inner
- 242 a = dict((k, v[0] if len(v) == 1 else v)
- 243 for k, v in request.GET.lists())
- 244 app_logger.debug("API %s %s %s",
- 245 request.method, request.path, a)
- 246 # Call handler
- 247 v.__dict__["hits_metric"] += 1
- 248 with v.__dict__["time_metric"].timer():
- 249 ==> r = v(request, *args, **kwargs)
- 250 # Dump SQL statements
- 251 if self.log_sql_statements:
- 252 from django.db import connections
- 253 tsc = 0
- 254 sc = defaultdict(int)
- 255 for conn in connections.all():
- Variables:
- args = ()
- view_map =
- {'GET': <bound method ManagedObjectApplication.api_list of <noc.sa.apps.managedobject.views.ManagedObjectApplication object at 0x6d5b510>>,
- 'POST': <bound method ManagedObjectApplication.api_create of <noc.sa.apps.managedobject.views.ManagedObjectApplication object at 0x6d5b510>>}
- Form = <class 'django.forms.forms.Form'>
- PermissionDenied = <class 'noc.lib.app.access.PermissionDenied'>
- DictParameter = <class 'noc.sa.interfaces.base.DictParameter'>
- self = <noc.lib.app.site.Site object at 0x37738d0>
- v =
- <bound method ManagedObjectApplication.api_list of <noc.sa.apps.managedobject.views.ManagedObjectApplication object at 0x6d5b510>>
- request =
- <WSGIRequest
- path:/sa/managedobject/,
- GET:<QueryDict: {u'__limit': [u'67'], u'__start': [u'0'], u'__page': [u'1'], u'_dc': [u'1436949610613'], u'__format': [u'ext'], u'__sort': [u'[{"property":"name","direction":"ASC"}]']}>,
- POST:<QueryDict: {}>,
- COOKIES:{'sessionid': '845383f1e2963ef9daedc1f1e86189cb'},
- META:{'HTTP_ACCEPT': '*/*',
- 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',
- 'HTTP_ACCEPT_LANGUAGE': 'ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4',
- 'HTTP_CONNECTION': 'close',
- 'HTTP_COOKIE': 'sessionid=845383f1e2963ef9daedc1f1e86189cb',
- 'HTTP_HOST': '127.0.0.1:8000',
- 'HTTP_REFERER': 'https://77.40.0.12/main/desktop/',
- 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36',
- 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
- 'PATH_INFO': u'/sa/managedobject/',
- 'QUERY_STRING': '_dc=1436949610613&__format=ext&__page=1&__start=0&__limit=67&__sort=%5B%7B%22property%22%3A%22name%22%2C%22direction%22%3A%22ASC%22%7D%5D',
- 'REMOTE_ADDR': '127.0.0.1',
- 'REQUEST_METHOD': 'GET',
- 'SCRIPT_NAME': u'',
- 'SERVER_NAME': '127.0.0.1',
- 'SERVER_PORT': '8000',
- 'SERVER_PROTOCOL': 'HTTP/1.0',
- 'wsgi.errors': <open file '/dev/null', mode 'a+' at 0x31d2a50>,
- 'wsgi.input': <io.BytesIO object at 0x794dd70>,
- 'wsgi.multiprocess': True,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)}>
- app_logger = <logging.Logger instance at 0x6d58710>
- InterfaceTypeError = <class 'noc.sa.interfaces.base.InterfaceTypeError'>
- to_log_api_call = False
- kwargs = {}
- nq = <function nq at 0x7aa8668>
- app =
- <noc.sa.apps.managedobject.views.ManagedObjectApplication object at 0x6d5b510>
- ------------------------------------------------------------------------
- END OF TRACEBACK
- 2015-07-15 11:40:03,987 [tornado.access] 500 GET /sa/managedobject/?_dc=1436949610613&__format=ext&__page=1&__start=0&__limit=67&__sort=%5B%7B%22property%22%3A%22name%22%2C%22direction%22%3A%22ASC%22%7D%5D (127.0.0.1) 342.50ms
- 2015-07-15 11:40:09,469 [tornado.access] 404 GET /main/sync/default/0/config/ (127.0.0.1) 131.96ms
- 2015-07-15 11:40:09,522 [tornado.access] 403 GET /pm/probe/default/0/config/ (127.0.0.1) 282.55ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement