Issue with loging

When I put a new account into the storage, I faced an issue: I couldn't get information from it

Also, in your document, you say the account is read-only, while I use the admin account to get information.


Comments

  • Ahmed
    edited November 2023
  • Hi,


    1. storage firmware
    2. logs

    Note a short problem description in the text field of the upload form.


    cd /home/stor2rrd/stor2rrd # or where is your STOR2RRD working dir


    tar cvhf logs.tar logs tmp/*txt


    gzip -9 logs.tar


    Send us logs.tar.gz via https://upload.stor2rrd.com

  • Ahmed
    edited November 2023


    1. the log has been uploaded
    2. HPE Storage OS 3.3.2.135 (GA)+P01   


  • Hello Ahmed,

    can you try to get data from API using these curl commands below?

    1) set <user>, <password>, <3par_ip_address>, <api_port> (8080 standard)

    2) get api token from user and password using this curl:

    curl -i -X POST \
     -H "Content-Type: application/json" \
     -H "Accept: application/json" \
     -d '{"user":"<user>","password":"<password>"}' \
     "https://<3par_ip_address>:<api_port>/api/v1/credentials"
    

    3) get value from key from previous output and use it for following curl instead of <token>

    curl -i -X GET \
     -H "Accept: application/json" \
     -H "X-HP3PAR-WSAPI-SessionKey: <token>" \
      "https://<3par_ip_address>:<api_port>/api/v1/capacity"
    

    Are you able to get any data using these curl commands?

    Can you send us output from the second one?

  • Ahmed
    edited November 2023

    1- has been done

    2-


    if you have free time for a remote session we can do?

Sign In or Register to comment.