Skip to content
This repository was archived by the owner on Mar 10, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 56 additions & 1 deletion source/development/advanced/known-issues.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,63 @@ Pushing attributes within other attributes `read_attribute` methods may cause de

- **known workaround**: Push events for commands or own `read_attribute` method only.

Using Network alias for TANGO_HOST and effect of FQDN names
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This issues affect to Tango systems whenever a network alias is used for the
Tango Database together with fully qualified names (host.domain.suff).

T7 server with no domain and client with domain trigger memory leaks in notifd

In Tango 9 and server with domain, clients MUST use the FQDN; in opposite case you may loose events.

Cells in red means likely Event_Timeout issues:

.. image:: tango_alias_and_fqdn.png
:width: 600
:alt: Network alias and fqdn hostnames

Passing ZMQ events through firewalls, specific rules
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In ZMQ it is not possible to pass Tango events through an specific port, but
specific firewall rules can be setup if each device server uses a different IP.

- **known workaround**: it is possible to setup each device on a machine to use
an specific IP address (to run servers on different IP addresses he server host
must have multiple interfaces, tipically virtual ones).
Comment on lines +70 to +72
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seem the identation has to be corrected (/home/travis/build/tango-controls/tango-doc/source/development/advanced/known-issues.rst:71: WARNING: Bullet list ends without a blank line; unexpected unindent.)

Suggested change
- **known workaround**: it is possible to setup each device on a machine to use
an specific IP address (to run servers on different IP addresses he server host
must have multiple interfaces, tipically virtual ones).
- **known workaround**: it is possible to setup each device on a machine to use
an specific IP address (to run servers on different IP addresses he server host
must have multiple interfaces, tipically virtual ones).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi piotr, I agree with the change
thanks

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sergirubio, I think it is you who should apply the suggestion as I do not have write permission to ALBA repo.


.. code::

#To use an pecific IP launch the device server with arguments like:

./MyDeviceServer $InstanceName -ORBendPoint giop:tcp:$IPADDRESS:$PORT
./MyDeviceServer 1 -ORBendPoint giop:tcp:127.0.0.1:30001

#Or set an environment variable in your python code
os.environ["ORBendPoint"] = "giop:tcp:127.0.0.1:30001"

Tango 8
-------

...
Memory leaks on push state event
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The API of push change event for state/status attributes is different, it does
not allow to pass the value like in other attributes.

.. code::

Wrong way (memory leak):
push_change_event('State', PyTango.DevState.RUNNING)
Right way:
set_state(PyTango.DevState.RUNNING)
push_change_event('State')


Writing on Numpy arrays
~~~~~~~~~~~~~~~~~~~~~~~

To write a position value of a motor group (numpy array) the Macroserver writes
two values and the Pool reads zeros. It happens at claess with the energy pseudomotor.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.