southampton / cortex

A VM orchestration system for VMware, Infoblox, ServiceNow, Puppet, TSM, Rubrik, Red Hat Satellite 5 / 6. Under heavy development, and somewhat still heavily tailored to University of Southampton.
https://www.southampton.ac.uk
GNU General Public License v3.0
22 stars 6 forks source link

Sync Cortex comment with ServiceNow. #254

Open jakemalley opened 5 years ago

jakemalley commented 5 years ago

When creating a VM Cortex stores the purpose as a comment but also pushes this to ServiceNow's description field for the VM. On Linux VMs the ServiceNow comment is used to create the MOTD.

Currently there is nothing that updates ServiceNow if someone changes the comment in Cortex. (And thus MOTD doesn't update).

This has lead to a lot of VMs where the comment in Cortex is out of sync with ServiceNow.

I suggest we may want an API call to change the ServiceNow comment when updating in Cortex - or a task that routinely syncs them etc.

jakemalley commented 5 years ago

I've edited the edit (Settings) and view page to display a read only copy of the CMDB comment / desc so it is clear what each is set to. Currently it might be a bad idea to sync these back up to Service Now as there are a fair few mismatches.