How to Discover Openstack

Gary Zawilinski
Mega Contributor

These directions are not sufficient:  https://docs.servicenow.com/bundle/orlando-it-operations-management/page/product/service-mapping/reference/openstack-discovery.html

I create an "Openstack credential" with an Openstack "Project Name"

I then create a "CMDB CI Cloud Service Account" using the above credentials and:

http://xx.xxxx.com:5000/v3
DataCenter Type:  Openstack Datacenter [cmdb_ci_openstack_datacenter]
 
The problem comes when creating a "Cloud Discovery Schedule"  The only "Providers" available are AWS, Azure & VMWare.  This is where I am stuck and do not know how to proceed.  Thank you.
8 REPLIES 8

Hi,

I need to check how i did this. Because i remember that i created schedule via new button and not via this form.

Thanks,
Ashutosh

jdiegeliv
Mega Expert

I'm not familiar with Openstack specifically but our service accounts are created when we discover the subscriptions from the credential.  I've yet to run across a need to create a Service Account manually.

 

find_real_file.png

Hardik Benani
Mega Sage
Mega Sage

Hi Gary,

You are right, there seems to be steps missing in the official documentation. I would suggest creating a HI ticket for that.

However to resolve you issue, you will need to create few things - 

Pre-req - Discovery and Service Mapping Patterns application is installed from the store.

1. Create a Resource Block for OpenStack using below steps.

find_real_file.png

2. Once you have the resource block created, use the below steps to create a mappings for cred provider.

find_real_file.png

3. This should now allow you to create a discovery schedule and show OpenStack in the drop down option.

find_real_file.png 

4. Use the steps listed below to define a service account.

find_real_file.png

5. Once the Service Account is defined - Run the "discover datacenter" related list.

find_real_file.png

6. Once the discovery of datacenter is successful. click on "Create Discovery Schedule" link.

 

Or directly try and run the discovery using below and follow the steps.

find_real_file.png

 

Above should work, if not doesn't work, create a HI case and patterns teams should be able to able.

Alternatively you can try creating a discovery schedule going using below steps, I have not tested it.

Serverless Discovery (servicenow.com)  

And last but not least if you are interested and looking for using openstack with CPG, there is also a store application we have developed on store that does extend ServiceNow CPG provisioning and discovery. 

ServiceNow Store 

PS: Please mark helpful or accept solution so that it helps others with a similar question

 

 

 

 

 

@Gary Zawilinski : Just checking if the above helped?