VMware Cloud Community
bdamian
Expert
Expert
Jump to solution

vRA 7.3 - bulk import - bad icons

Hi all, I'm having a hard time with the bulk import tool of vRealize Automation 7.3

After I've done all the steps described here:

Import a Virtual Machine to a vRealize Automation Environment

Everything seems to be OK but the Virtual Machine icon is wrong. It shows a "generic component" icon instead the vSphere icon:

pastedImage_1.png

The first (and second) machine where imported with the CSV file. The last one was deployed using the vRA console. The first and last VM are associated to the same blueprint.

Any ideas how to fix this?

Thanks a lot.

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
Tags (1)
0 Kudos
1 Solution

Accepted Solutions
bdamian
Expert
Expert
Jump to solution

Ok, this is an issue of vRA and the only way I found to fix it is to change it directly in the postgres database (if you are fan of extreme sports!!!).

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian

View solution in original post

0 Kudos
5 Replies
bdamian
Expert
Expert
Jump to solution

Is there anybody out there who has the same issue?

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos
qc4vmware
Virtuoso
Virtuoso
Jump to solution

Yes we had the same issue and VMware just shrugged their shoulders.  It wasn't a high priority for us to get it corrected so we kind of just dropped the ball with support.  Obviously a bug in the import process.

0 Kudos
bdamian
Expert
Expert
Jump to solution

Ok, this is an issue of vRA and the only way I found to fix it is to change it directly in the postgres database (if you are fan of extreme sports!!!).

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos
ProsKong
Contributor
Contributor
Jump to solution

Do you have the steps to change the icons?

0 Kudos
bdamian
Expert
Expert
Jump to solution

Yes, is something like this:

1) Connect vRA appliance on ssh as root

2) start postgress client (psql -U postgres vcac)

3) Select your VM with bad icon (or ignore de name part to get all VMs without icon):

select name, resourcetype_id, icon_id, status from cat_resource where status='ACTIVE' and resourcetype_id ='Infrastructure.Virtual' and icon_id is null and name = 'vm-name';

4) Update the icons:

update cat_resource set icon_id = 'Infrastructure.CatalogItem.Machine.Virtual.vSphere' where status='ACTIVE' and resourcetype_id ='Infrastructure.Virtual' and icon_id is null and name = 'vm-name';

Hope this helps you

---
Damián Bacalov
vExpert 2017-2023 (7 years)
https://www.linkedin.com/in/damianbacalov/
https://tecnologiaimasd.blogspot.com/
twitter @bdamian
0 Kudos