hitachi-vantara / vspone-block-ansible

Public repository for Hitachi Storage Modules for Red Hat® Ansible®
2 stars 1 forks source link

Errors running 3.1 code against E1090 with direct connection via AAP #64

Open amlucent opened 1 week ago

amlucent commented 1 week ago

Trying to get this collection setup for the first time with a new E1090. It seems to demand I use "api_token" value despite declaring a "direct" connection to the controllers with "username" + "password". We would rather not use the gateway. This is what we are attempting to test with https://github.com/hitachi-vantara/vspone-block-ansible/blob/main/playbooks/vsp_direct/ldev_facts.yml

hitachi_vsp_aap_job_32478.txt

rahdey commented 3 days ago

@amlucent the VSP Direct connect does not use the api_token, it create a session from the user credentials supplied and use that session token for all the calls. My question to you, the admin user that you used in the playbook, is this a valid user? Can you login to the storage UI, using the credentials that were provided in the playbook?

You can also contact Hitachi Support regarding your case for faster resolution of the issue.

amlucent commented 3 days ago

Rahdey - thank you very much for your help and attention to this issue. I am wondering if this code has been tested on a e1090 via a direct connection? I am seeing that if I run my playbook over and over about 20 -30 times it does work like once (which cant be the expected outcome). admin is a valid user on the embeded storage advisor of the e1090.

"Can you login to the storage UI, using the credentials that were provided in the playbook?" Yes. the same user and password combination exists on the array controllers, the embeded storage advisor, as well as in Ops Center and dedicated SVP which we require for VASA vmware vvols.

You can also contact Hitachi Support regarding your case for faster resolution of the issue. I originally asked my Professional Support contact about this scenario and he advised contacting the ansible dev team here. There may have also been question if the dev team was part of Hitachi or Hitachi Vantara... "Regarding your ansible issue. Going to the Support Center with this question may not yield much benefit. They traditionally support break/fix activities related to hardware and Hitachi Software, whereas the issue you are encountering is with our plugin to Ansible. "

Can you see anything in my log or through you own testing to explain this error?

rahdey commented 2 days ago

@amlucent this code has been tested on E1090 and we did not find any issue. Since this is the direct connect that you need, I want to eliminated all other components, and want you to login directly to the Device Manager - Storage Navigator of your E1090 storage using admin credentials. I have attached a screen shot of my E1090 Storage Navigator after masking the sensitive information. Screenshot 2024-10-30 at 10 51 42 AM Also if you can provide your company name and your email address, we will ask support to help you and do the initial diagnosis.

amlucent commented 2 days ago

yes as you can verify - admin

Hitachi

@rahdey "Also if you can provide your company name and your email address, we will ask support to help you and do the initial diagnosis" I would greatly appreciate that, can I email or dm you this information? It is sensitive.

rahdey commented 1 day ago

Yeah, sure you can send those information directly to me.

amlucent commented 1 day ago

@rahdey How? Please list an email address. github offers no way to direct message a user. this project offers no team group email for support or questions, I recommend putting one in the author line of the read me:

Author This collection was created by Hitachi Vantara® Ansible Team in 2024.