QualiSystems / QualiSystems/cloudshell-cli

Explore an issue

Open
#101 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted Ready to Take
Dominant language
Python
Stars
7
Forks
5
Avg merge
20m
Merged PRs (30d)
1

Description

2020-03-24 09:24:50,197 [DEBUG]: QS.JuniperLSCP_105.202.Thread-5 expect_session - hardware_expect
2020-03-24 09:24:50,322 [DEBUG]: QS.JuniperLSCP_105.202.Thread-5 expect_session - hardware_expect root#
2020-03-24 09:24:50,539 [DEBUG]: QS.JuniperLSCP_105.202.Thread-5 expect_session - hardware_expect Command: commit
2020-03-24 09:24:50,794 [DEBUG]: QS.JuniperLSCP_105.202.Thread-5 expect_session - hardware_expect commit
2020-03-24 09:24:51,055 [DEBUG]: QS.JuniperLSCP_105.202.Thread-5 expect_session - hardware_expect
2020-03-24 09:24:51,055 [DEBUG]: QS.JuniperLSCP_105.202.Thread-5 expect_session - hardware_expect
2020-03-24 09:25:21,059 [DEBUG]: QS.JuniperLSCP_105.202.Thread-5 session_pool_manager - remove_session Removing session
2020-03-24 09:25:21,060 [DEBUG]: QS.JuniperLSCP_105.202.Thread-5 session_manager_impl - remove_session SSH session was removed
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit Error occurred
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit Traceback (most recent call last):
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\ProgramData\QualiSystems\venv\Juniper_LS_Cloud_Provider_2_10\lib\site-packages\paramiko\channel.py", line 699, in recv
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit out = self.in_buffer.read(nbytes, self.timeout)
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\ProgramData\QualiSystems\venv\Juniper_LS_Cloud_Provider_2_10\lib\site-packages\paramiko\buffered_pipe.py", line 164, in read
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit raise PipeTimeout()
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit paramiko.buffered_pipe.PipeTimeout
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit During handling of the above exception, another exception occurred:
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit Traceback (most recent call last):
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\ProgramData\QualiSystems\venv\Juniper_LS_Cloud_Provider_2_10\lib\site-packages\cloudshell\cli\session\ssh_session.py", line 137, in _receive
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit byte_data = self._current_channel.recv(self._buffer_size)
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\ProgramData\QualiSystems\venv\Juniper_LS_Cloud_Provider_2_10\lib\site-packages\paramiko\channel.py", line 701, in recv
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit raise socket.timeout()
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit socket.timeout
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit During handling of the above exception, another exception occurred:
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit Traceback (most recent call last):
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\ProgramData\QualiSystems\venv\Juniper_LS_Cloud_Provider_2_10\lib\site-packages\cloudshell\cli\session\expect_session.py", line 152, in _receive_all
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit read_buffer += self._receive(0.1, logger)
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\ProgramData\QualiSystems\venv\Juniper_LS_Cloud_Provider_2_10\lib\site-packages\cloudshell\cli\session\ssh_session.py", line 140, in _receive
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit raise SessionReadTimeout()
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit cloudshell.cli.session.session_exceptions.SessionReadTimeout
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit During handling of the above exception, another exception occurred:
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit Traceback (most recent call last):
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\Windows\TEMP\tmpev0m0ury.zip_env\driver.py", line 141, in Deploy
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit int_list = ls_flow.create_ls(ls_name, int_list)
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\Windows\TEMP\tmpev0m0ury.zip_env\driver_files\flows.py", line 47, in create_ls
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit commit_rollback.commit()
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\ProgramData\QualiSystems\venv\Juniper_LS_Cloud_Provider_2_10\lib\site-packages\cloudshell\networking\juniper\command_actions\commit_rollback_actions.py", line 25, in commit
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit self._cli_service, command_template.COMMIT
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\ProgramData\QualiSystems\venv\Juniper_LS_Cloud_Provider_2_10\lib\site-packages\cloudshell\cli\command_template\command_template_executor.py", line 60, in execute_command
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit **self.optional_kwargs
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\ProgramData\QualiSystems\venv\Juniper_LS_Cloud_Provider_2_10\lib\site-packages\cloudshell\cli\service\cli_service_impl.py", line 143, in send_command
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit **kwargs
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\ProgramData\QualiSystems\venv\Juniper_LS_Cloud_Provider_2_10\lib\site-packages\cloudshell\cli\session\expect_session.py", line 266, in hardware_expect
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit read_buffer = self._receive_all(timeout, logger)
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit File "C:\ProgramData\QualiSystems\venv\Juniper_LS_Cloud_Provider_2_10\lib\site-packages\cloudshell\cli\session\expect_session.py", line 158, in _receive_all
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit self.class.name, "Socket closed by timeout"
2020-03-24 09:25:21,061 [ERROR]: QS.JuniperLSCP_105.202.Thread-5 logging_session - exit cloudshell.cli.session.session_exceptions.ExpectedSessionException: ('JuniperSSHSession', 'Socket closed by timeout')
JuniperLSCP_105.202--24-Mar-2020--09-24-22.log

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with driver.py at Deploy and driver_files/flows.py at create_ls, then trace commit_rollback_actions.py and the session receive stack shown in the report. Reproduce the Juniper commit timeout if possible; the issue does not define the expected behavior or what completion should look like.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, networking
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.