cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2230
Views
0
Helpful
9
Replies

[Cisco Software Manager 3.4] - CCO Authetication issue

stefano.carboni
Level 1
Level 1

Hi All,

How can I reach Cisco tech suport for CSM 3.4 ?

link ?

Email ???

Regards,

- S.

1 Accepted Solution

Accepted Solutions

smailmilak
Level 4
Level 4

Hi,

link 1: https://supportforums.cisco.com/document/13154846/cisco-software-manager-csm-33-overview-documentation

Link 2: https://supportforums.cisco.com/discussion/12731401/csm-30-connectivity-nodes#comment-11906616

There are some nice guys that will be able to help you out.

e-mail: cs-software-manager@cisco.com

View solution in original post

9 Replies 9

smailmilak
Level 4
Level 4

Hi,

link 1: https://supportforums.cisco.com/document/13154846/cisco-software-manager-csm-33-overview-documentation

Link 2: https://supportforums.cisco.com/discussion/12731401/csm-30-connectivity-nodes#comment-11906616

There are some nice guys that will be able to help you out.

e-mail: cs-software-manager@cisco.com

Hi smailmilak

thanks a lot for your help.

Bye!

Hoping to do a good thing I've chanched the topic of thread.

I installed Cisco Software Manager 3.4 on a Ubuntu 17.04 box.

I am  trying to configure my CCO credentials (username + password) in the CCO Authentication window but I got the following error message:

"unable to validate cisco user"

Following the messages from CSM System Logs:

 

Traceback (most recent call last):

File "/usr/local/csm/csmserver/views/cco.py", line 579, in validate_cisco_user

BSDServiceHandler.get_access_token(username, password)

File "/usr/local/csm/csmserver/cisco_service/bsd_service.py", line 66, in get_access_token

return BaseServiceHandler.get_access_token(username, password, CLIENT_ID, CLIENT_SECRET)

File "/usr/local/csm/csmserver/cisco_service/base_service.py", line 42, in get_access_token

response = requests.post(HTTP_ACCESS_TOKEN_URL, params=payload)

File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 99, in post

return request('post', url, data=data, json=json, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 49, in request

response = session.request(method=method, url=url, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 461, in request

resp = self.send(prep, **send_kwargs)

File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send

r = adapter.send(request, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 415, in send

raise ConnectionError(err, request=request)

ConnectionError: ('Connection aborted.', error(111, 'Connection refused'))

 

I have a doubt about the “password” field since I read “use password on file”…..what is the meaning ?

 

Thank you for your help.

 

Regards,

Stefano.

Hi Stefano,

at first glance this appears to be a consequence of an invalid credentials for accessing cisco.com. Could you please take an extra step to verify again your cisco.com user ID and password? If the credentials work when you log into cisco.com from your browser, but you still get the same error within CSM, please let us know.

regards

/Aleksandar

Hi Aleksander,

I have verified. Credentials Ok.

To be more clear I uploaded a screenshot from CSM windows. Please note the text in password field.

Thanks!

-S.

Hi Stefano,

could you please check if you can download any software from CCO Support page?

Thanks,

Klaudiusz

Customer is not able to see the CCO drop down menu.  This indicates there is not Internet connectivity to Cisco portal.  The issue could be caused by firewall or Internet connectivity.  Advised customer to look into this issue locally.

If the user installation involves Red Hat (Centos / Enterprise) Linx 7:

The following link may be useful:
Cisco Software Manager (CSM) Server v3.4 Installation on Red Hat Linux 7

In general, the install guide works well with Debian and Ubuntu distributions.

Hello!

 

I have installed CSM 3.5.2 and it is working fine with IOS-XR devices but I have problems while accessing devices running IOS-XE.

 

The strange thing is that when I create the new host and I do a reachability test it works(green text) but when I try to execute any command or retrieve the inventory fails(read text). After trying that I did a reachability test again and it does not work anymore.

This the error message while I am trying to execute a pre upgrade customed command profile.

 

 

If I test a ssh session from the same machine and the same user credentials it works fine. Any well know bug in condoor library ?

 

 

Best Regards

 

Renato

 

 __________________________________

Traceback (most recent call last):
File "/usr/local/csm/csmserver/work_units/install_work_unit.py", line 95, in start
handler_class = get_install_handler_class(ctx)
File "/usr/local/csm/csmserver/handlers/loader.py", line 74, in get_install_handler_class
discover_platform_info(ctx)
File "/usr/local/csm/csmserver/handlers/loader.py", line 48, in discover_platform_info
conn.connect(force_discovery=True)
File "/usr/lib/python2.7/site-packages/condoor/connection.py", line 252, in connect
retry=False)
File "/usr/lib/python2.7/site-packages/condoor/connection.py", line 355, in reconnect
raise excpt
ConnectionTimeoutError: 10.112.48.66: Connection timeout

 ______________________

 

 

2018-10-10 15:58:21,178 condoor.connection:reconnect(290): --------------------
2018-10-10 15:58:21,179 condoor.connection:reconnect(291): Condoor Version 1.0.17
2018-10-10 15:58:21,179 condoor.connection:reconnect(292): Cache filename: /tmp/condoor.1.0.17
2018-10-10 15:58:21,183 condoor.device:make_driver(323): Make Device: ssh://csm@x.x.x.x:22 with Driver: generic
2018-10-10 15:58:21,183 condoor.device:driver_name(308): Driver generic
2018-10-10 15:58:21,183 condoor.connection:reconnect(295): Connecting
2018-10-10 15:58:21,183 condoor.connection:_clear_cache(220): Clearing connection cache
2018-10-10 15:58:21,183 condoor.connection:_get_key(187): Cache key: [ssh://csm@x.x.x.x:22]
2018-10-10 15:58:21,198 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] is_target<-True
2018-10-10 15:58:21,199 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] family<-ASR900
2018-10-10 15:58:21,199 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] os_version<-03.18.03.SP.156-2.SP3-ext
2018-10-10 15:58:21,199 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] hostname<-pe03
2018-10-10 15:58:21,199 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] platform<-ASR-920
2018-10-10 15:58:21,199 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] driver_name<-XE
2018-10-10 15:58:21,199 condoor.device:driver_name(304): Driver change generic -> XE
2018-10-10 15:58:21,200 condoor.device:make_driver(323): Make Device: ssh://csm@x.x.x.x:22 with Driver: XE
2018-10-10 15:58:21,200 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] is_console<-False
2018-10-10 15:58:21,200 condoor.device:device_info(85): Update: [ssh://csm@1x.x.x.x:22] mode<-global
2018-10-10 15:58:21,200 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] os_type<-XE
2018-10-10 15:58:21,201 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] udi<-{'description': 'Cisco ASR920 Series - 12GE and 2-10GE - AC model', 'pid': 'ASR-920-12CZ-A', 'sn': 'CAT2210
U1FW', 'vid': 'V03', 'name': 'Chassis'}
2018-10-10 15:58:21,201 condoor.chain:update(169): Device information updated -> [ssh://csm@x.x.x.x:22]
2018-10-10 15:58:21,201 condoor.connection:description_record(854): Connection information updated from cache.
2018-10-10 15:58:21,201 condoor.connection:_read_cache(212): Read cached information.
2018-10-10 15:58:21,201 condoor.connection:description_record(844): Connection information cleared
2018-10-10 15:58:21,201 condoor.connection:_clear_cache(223): Description record: {'connections': [{'chain': [{'platform': None, 'driver_name': 'XE', 'is_console': False, 'mode': 'global', 'family': None,
'os_version': None, 'os_type': None, 'udi': None, 'hostname': 'pe03', 'is_target': True}]}], 'last_chain': 0}
2018-10-10 15:58:21,201 condoor.connection:_get_key(187): Cache key: [ssh://csm@x.x.x.x:22]
2018-10-10 15:58:21,203 condoor.connection:_write_cache(204): Connection information cached: 6afb139e4e0f5c73b06b0e54eaf16521
2018-10-10 15:58:21,203 condoor.connection:emit_message(592): Connection chain 1/1: ssh://csm@x.x.x.x:22
2018-10-10 15:58:21,203 condoor.connection:emit_message(592): Trying to (re)connect within 120 seconds
2018-10-10 15:58:21,203 condoor.connection:emit_message(592): Connection chain/attempt [1/1]
2018-10-10 15:58:21,203 condoor.connection:emit_message(592): Connecting ssh://csm@x.x.x.x:22
2018-10-10 15:58:21,203 condoor.controller:spawn_session(50): Spawning command: 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=ERROR -2 -p 22 csm@x.x.x.x'
2018-10-10 15:58:21,214 condoor.controller:spawn_session(62): Child process FD: 12
2018-10-10 15:58:21,214 condoor.controller:spawn_session(68): Terminal window size changed from 24x80 to 512x240
2018-10-10 15:58:21,214 condoor.controller:set_session_log(82): Setting the session log
2018-10-10 15:58:21,214 protocols.ssh:connect(80): EXPECTED_PROMPT='(?P<hostname>[\\w\\-\\_\\=\\+]+)(\\([^()]*\\))?[#|>]'
2018-10-10 15:58:21,215 condoor.fsm:run(162): SSH-CONNECT Start
2018-10-10 16:00:21,306 condoor.fsm:run(186): E=9,S=0,T=120,RT=120.09
2018-10-10 16:00:21,306 condoor.fsm:call_action(31): A=Send text line to the controller.
2018-10-10 16:00:21,607 condoor.fsm:run(203): NS=5,NT=10
2018-10-10 16:00:31,617 condoor.fsm:run(186): E=9,S=5,T=10,RT=10.01
2018-10-10 16:00:31,618 condoor.fsm:run(192): A=Exception 10.112.48.68: Connection timeout
2018-10-10 16:00:31,618 condoor.device:disconnect(184): Disconnecting: ssh://csm@x.x.x.x:22
2018-10-10 16:00:31,618 condoor.controller:disconnect(108): Disconnecting the sessions
2018-10-10 16:00:31,719 condoor.controller:disconnect(114): Disconnected
2018-10-10 16:00:31,719 condoor.connection:emit_message(592): Connection error: 10.112.48.68: Connection timeout
2018-10-10 16:00:31,719 condoor.connection:emit_message(592): Time elapsed 131s/120s
2018-10-10 16:00:31,720 condoor.connection:emit_message(592): Unable to (re)connect within 131s
2018-10-10 16:00:31,720 condoor.connection:_clear_cache(220): Clearing connection cache
2018-10-10 16:00:31,720 condoor.connection:_get_key(187): Cache key: [ssh://csm@x.x.x.x:22]
2018-10-10 16:00:31,721 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] is_target<-True
2018-10-10 16:00:31,722 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] family<-None
2018-10-10 16:00:31,722 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] os_version<-None
2018-10-10 16:00:31,722 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] hostname<-pe03
2018-10-10 16:00:31,722 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] platform<-None
2018-10-10 16:00:31,722 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] driver_name<-XE
2018-10-10 16:00:31,722 condoor.device:driver_name(308): Driver XE
2018-10-10 16:00:31,722 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] is_console<-False
2018-10-10 16:00:31,722 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] mode<-global
2018-10-10 16:00:31,722 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] os_type<-None
2018-10-10 16:00:31,722 condoor.device:device_info(85): Update: [ssh://csm@x.x.x.x:22] udi<-None
2018-10-10 16:00:31,722 condoor.chain:update(169): Device information updated -> [ssh://csm@x.x.x.x:22]
2018-10-10 16:00:31,722 condoor.connection:description_record(854): Connection information updated from cache.
2018-10-10 16:00:31,723 condoor.connection:_read_cache(212): Read cached information.
2018-10-10 16:00:31,723 condoor.connection:description_record(844): Connection information cleared
2018-10-10 16:00:31,723 condoor.connection:_clear_cache(223): Description record: {'connections': [{'chain': [{'platform': None, 'driver_name': 'XE', 'is_console': False, 'mode': 'global', 'family': None,
'os_version': None, 'os_type': None, 'udi': None, 'hostname': 'pe03', 'is_target': True}]}], 'last_chain': 0}
2018-10-10 16:00:31,723 condoor.connection:_get_key(187): Cache key: [ssh://csm@1x.x.x.x:22]
2018-10-10 16:00:31,725 condoor.connection:_write_cache(204): Connection information cached: 6afb139e4e0f5c73b06b0e54eaf16521
2018-10-10 16:00:31,725 condoor.connection:_disable_logging(165): Closing logs

 

 

Regards

 

 

Renato

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: