tacker vnf manager events tab 500 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Confirmed
|
Medium
|
Hiromu Asahina |
Bug Description
1. Use following template for scaling
tosca_definitio
description: sample-
metadata:
template_name: sample-
topology_template:
node_templates:
VDU1:
type: tosca.nodes.
properties:
image: cirros-
flavor: m1.tiny
CP1:
type: tosca.nodes.
properties:
management: true
order: 0
requirements:
- virtualLink:
node: VL1
- virtualBinding:
node: VDU1
VDU1:
type: tosca.nodes.
properties:
image: cirros-
flavor: m1.tiny
VL1:
type: tosca.nodes.nfv.VL
properties:
vendor: Tacker
policies:
- SP1:
type: tosca.policies.
targets: [VDU1]
properties:
cooldown: 120
2. After this command "tacker vnf-scale --vnf-name name --scaling-
3. After several commands are run vnf manager events tab will go to 500 Internal Server Error. I can not see my vnf events.
4. error logs:
ERROR django.request Internal Server Error: /dashboard/
2020-11-28 16:36:56.706466 Traceback (most recent call last):
2020-11-28 16:36:56.706472 File "/usr/local/
2020-11-28 16:36:56.706481 response = get_response(
2020-11-28 16:36:56.706484 File "/usr/local/
2020-11-28 16:36:56.706487 response = self.process_
2020-11-28 16:36:56.706489 File "/usr/local/
2020-11-28 16:36:56.706492 response = wrapped_
2020-11-28 16:36:56.706495 File "/opt/stack/
2020-11-28 16:36:56.706497 return view_func(request, *args, **kwargs)
2020-11-28 16:36:56.706500 File "/opt/stack/
2020-11-28 16:36:56.706502 return view_func(request, *args, **kwargs)
2020-11-28 16:36:56.706505 File "/opt/stack/
2020-11-28 16:36:56.706507 return view_func(request, *args, **kwargs)
2020-11-28 16:36:56.706510 File "/opt/stack/
2020-11-28 16:36:56.706512 return view_func(request, *args, **kwargs)
2020-11-28 16:36:56.706515 File "/usr/local/
2020-11-28 16:36:56.706518 return self.dispatch(
2020-11-28 16:36:56.706520 File "/usr/local/
2020-11-28 16:36:56.706523 return handler(request, *args, **kwargs)
2020-11-28 16:36:56.706525 File "/opt/stack/
2020-11-28 16:36:56.706528 return self.handle_
2020-11-28 16:36:56.706531 File "/opt/stack/
2020-11-28 16:36:56.706533 return http.HttpRespon
2020-11-28 16:36:56.706541 File "/opt/stack/
2020-11-28 16:36:56.706544 return render_
2020-11-28 16:36:56.706547 File "/usr/local/
2020-11-28 16:36:56.706549 return template.
2020-11-28 16:36:56.706552 File "/usr/local/
2020-11-28 16:36:56.706554 return self.template.
2020-11-28 16:36:56.706557 File "/usr/local/
2020-11-28 16:36:56.706559 return self._render(
2020-11-28 16:36:56.706562 File "/usr/local/
2020-11-28 16:36:56.706564 return self.nodelist.
2020-11-28 16:36:56.706567 File "/usr/local/
2020-11-28 16:36:56.706569 bit = node.render_
2020-11-28 16:36:56.706572 File "/usr/local/
2020-11-28 16:36:56.706575 return self.render(
2020-11-28 16:36:56.706577 File "/usr/local/
2020-11-28 16:36:56.706580 output = self.filter_
2020-11-28 16:36:56.706582 File "/usr/local/
2020-11-28 16:36:56.706585 obj = self.var.
2020-11-28 16:36:56.706588 File "/usr/local/
2020-11-28 16:36:56.706590 value = self._resolve_
2020-11-28 16:36:56.706593 File "/usr/local/
2020-11-28 16:36:56.706596 current = current()
2020-11-28 16:36:56.706598 File "/opt/stack/
2020-11-28 16:36:56.706601 return table_template.
2020-11-28 16:36:56.706603 File "/usr/local/
2020-11-28 16:36:56.706606 return self.template.
2020-11-28 16:36:56.706608 File "/usr/local/
2020-11-28 16:36:56.706611 return self._render(
2020-11-28 16:36:56.706614 File "/usr/local/
2020-11-28 16:36:56.706617 return self.nodelist.
2020-11-28 16:36:56.706619 File "/usr/local/
2020-11-28 16:36:56.706622 bit = node.render_
2020-11-28 16:36:56.706624 File "/usr/local/
2020-11-28 16:36:56.706627 return self.render(
2020-11-28 16:36:56.706630 File "/usr/local/
2020-11-28 16:36:56.706632 return self.nodelist.
2020-11-28 16:36:56.706635 File "/usr/local/
2020-11-28 16:36:56.706637 bit = node.render_
2020-11-28 16:36:56.706640 File "/usr/local/
2020-11-28 16:36:56.706643 return self.render(
2020-11-28 16:36:56.706645 File "/usr/local/
2020-11-28 16:36:56.706648 return self.nodelist.
2020-11-28 16:36:56.706650 File "/usr/local/
2020-11-28 16:36:56.706655 bit = node.render_
2020-11-28 16:36:56.706657 File "/usr/local/
2020-11-28 16:36:56.706660 return self.render(
2020-11-28 16:36:56.706662 File "/usr/local/
2020-11-28 16:36:56.706665 result = self.nodelist.
2020-11-28 16:36:56.706668 File "/usr/local/
2020-11-28 16:36:56.706670 bit = node.render_
2020-11-28 16:36:56.706673 File "/usr/local/
2020-11-28 16:36:56.706675 return self.render(
2020-11-28 16:36:56.706678 File "/usr/local/
2020-11-28 16:36:56.706680 return nodelist.
2020-11-28 16:36:56.706683 File "/usr/local/
2020-11-28 16:36:56.706685 bit = node.render_
2020-11-28 16:36:56.706688 File "/usr/local/
2020-11-28 16:36:56.706691 return self.render(
2020-11-28 16:36:56.706693 File "/usr/local/
2020-11-28 16:36:56.706696 return nodelist.
2020-11-28 16:36:56.706699 File "/usr/local/
2020-11-28 16:36:56.706701 bit = node.render_
2020-11-28 16:36:56.706704 File "/usr/local/
2020-11-28 16:36:56.706707 return self.render(
2020-11-28 16:36:56.706710 File "/usr/local/
2020-11-28 16:36:56.706712 return template.
2020-11-28 16:36:56.706715 File "/usr/local/
2020-11-28 16:36:56.706718 return self._render(
2020-11-28 16:36:56.706720 File "/usr/local/
2020-11-28 16:36:56.706723 return self.nodelist.
2020-11-28 16:36:56.706726 File "/usr/local/
2020-11-28 16:36:56.706729 bit = node.render_
2020-11-28 16:36:56.706731 File "/usr/local/
2020-11-28 16:36:56.706734 return self.render(
2020-11-28 16:36:56.706736 File "/usr/local/
2020-11-28 16:36:56.706739 return nodelist.
2020-11-28 16:36:56.706741 File "/usr/local/
2020-11-28 16:36:56.706744 bit = node.render_
2020-11-28 16:36:56.706746 File "/usr/local/
2020-11-28 16:36:56.706749 return self.render(
2020-11-28 16:36:56.706752 File "/usr/local/
2020-11-28 16:36:56.706754 output = self.filter_
2020-11-28 16:36:56.706757 File "/usr/local/
2020-11-28 16:36:56.706759 obj = self.var.
2020-11-28 16:36:56.706762 File "/usr/local/
2020-11-28 16:36:56.706765 value = self._resolve_
2020-11-28 16:36:56.706769 File "/usr/local/
2020-11-28 16:36:56.706772 current = current()
2020-11-28 16:36:56.706774 File "/opt/stack/
2020-11-28 16:36:56.706777 return "=".join(
2020-11-28 16:36:56.706779 File "/opt/stack/
2020-11-28 16:36:56.706782 if self.data else ''
2020-11-28 16:36:56.706784 File "/usr/local/
2020-11-28 16:36:56.706787 return func(*args, **kwargs)
2020-11-28 16:36:56.706789 File "/usr/local/
2020-11-28 16:36:56.706792 return quote_plus(url, safe)
2020-11-28 16:36:56.706794 File "/usr/lib64/
2020-11-28 16:36:56.706797 string = quote(string, safe + space, encoding, errors)
2020-11-28 16:36:56.706800 File "/usr/lib64/
2020-11-28 16:36:56.706802 return quote_from_
2020-11-28 16:36:56.706805 File "/usr/lib64/
2020-11-28 16:36:56.706808 raise TypeError(
2020-11-28 16:36:56.706813 TypeError: quote_from_bytes() expected bytes
2020-11-28 16:36:56.706819
5.I tried this scenario on current master code.
Changed in tacker: | |
importance: | Undecided → Medium |
assignee: | nobody → Yasufumi Ogawa (yasufum) |
Hi, it looks a bug in tacker-horizon for which I cannot fix yet. Could I confirm is there any error in tacker-server side?