Skip to content

convert_to_ucs_python method in ucsmsdk is not working #241

@shashire

Description

@shashire

https://ucsmsdk.readthedocs.io/en/latest/ucsmsdk_ug.html#convert-to-ucs-python

Calling ucs_gui_launch(handle)fails with urllib.error.HTTPError: HTTP Error 404: Not Found
because the URL being used in ucs_gui_launch does not exist.

Relevant snippet from ucs_gui_launch.py:
71 javaws_path = ucsgenutils.get_java_installation_path()
72 log.debug("javaws path: <%s>" % javaws_path)
73 if javaws_path is not None:
74 # source = urllib2.urlopen(ucsm_url).read()
75 source = handle.post(uri=ucsm_gui_url) <<<<----fails here
76 jnlp_dir = tempfile.gettempdir()

This is the URL used in line 75:
(Pdb) ucsm_gui_url
'https://10.105.212.180:443/ucsm/ucsm.jnlp?ucsmToken=65413820767099957765191'

I tried in chrome manually, the above URL does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions