shiftstack / dev-install

13 stars 16 forks source link

OSASINFRA-3495: Adding a StrageNFS Network to work with Manila/Ganesha and Ceph #228

Open MiguelCarpio opened 4 months ago

MiguelCarpio commented 4 months ago

Adding a StrageNFS Network to work with Manila/Ganesha and Ceph

MiguelCarpio commented 4 months ago

/hold

EmilienM commented 4 months ago

from a very quick look, this sounds fine. have you tested it?

MiguelCarpio commented 4 months ago

from a very quick look, this sounds fine. have you tested it?

@EmilienM. Yes, I've tested it but I always get this error at TASK | Render hieradata from template:

2024-06-26 18:06:53.030809 | 78ac448c-2b24-54fe-e7f7-000000000490 | FATAL | Render hieradata from template | dell-r640-100 | item=vip_data | error={"ansible_loop_var": "item", "changed": false, "item": "vip_data", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'storage_nfs'. 'dict object' has no attribute 'storage_nfs'"}

EmilienM commented 4 months ago

I think during the tripleo deploy (after ceph itself), because you need to load a network file that has the StorageNFS definition. You have it for Ceph, but not for the tripleo deployment after. Grep for /usr/share/openstack-tripleo-heat-templates/network_data_undercloud.yaml, we load that file when doing tripleo deploy. We could template this file and optionally add the StorageNFS if manila is enabled.