extension_mapping and service_mapping

Bug #2002395 reported by Oskar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
skyline apiserver
New
Undecided
Boxiang Zhu

Bug Description

What is a syntax of extension_mapping and service_mapping ?

where i can find info how to map Mistral workflow for example or any diffeenr ?

i think in the 3 plases ?

/etc/skyline/skyline.yaml

service_mapping:
    baremetal: ironic
    compute: nova

/etc/nginx/conf.d/skyline.conf

     location /api/openstack/regionone/mistral/ {
134 proxy_pass https://pxxxx:8989/;
135 proxy_redirect https://xxxxh:8989/ /api/openstack/regionone/mistral/;
136 proxy_buffering off;
137 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
138 proxy_set_header X-Forwarded-Proto $scheme;
139 proxy_set_header X-Forwarded-Host $host;
140 proxy_set_header Host $http_host;
141 }

/etc/nginx/nginx.conf

7 }
138 server {
139 listen 10.0.0.51:8989 ssl;
140 proxy_pass gnocchi-api;
141 }

plase help me

but if i good undesand here shoud be some files

/usr/local/lib/python3.10/dist-packages/skyline_console/static/

?

Revision history for this message
Boxiang Zhu (bxzhu-5355) wrote :

you can add mistral into service_mapping, <mistral_endpoint_name>: <mistral_endpoint_type>

So the generate_nginx.py will generate the mistral related info into /etc/nginx/conf.d/skyline.conf

Revision history for this message
Oskar (oxyash) wrote :
Download full text (3.8 KiB)

ok generate_nginx.py - this one works fine

but there is no mistral file in

/usr/local/lib/python3.10/dist-packages/skyline_console/static/

what file skyline will load to get mistral page ?
or its all integrated already ?

or is not available nothing more then defaoult endpotint maping ?

on the video prestaiation there is much more then

root@portal osky(keystone)# ls -la /usr/local/lib/python3.10/dist-packages/skyline_console/static/ |grep js
-rw-r--r-- 1 root root 54544 Jan 6 17:05 Container.bundle.1673020987.js
-rw-r--r-- 1 root root 12184 Jan 6 17:05 Container.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 24600 Jan 6 17:05 auth.bundle.1673020987.js
-rw-r--r-- 1 root root 6905 Jan 6 17:05 auth.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 75501 Jan 6 17:05 base.bundle.1673020987.js
-rw-r--r-- 1 root root 25777 Jan 6 17:05 base.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 324277 Jan 6 17:05 basic.bundle.1673020987.js
-rw-r--r-- 1 root root 76840 Jan 6 17:05 basic.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 377107 Jan 6 17:05 common.bundle.1673020987.js
-rw-r--r-- 1 root root 94364 Jan 6 17:05 common.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 294595 Jan 6 17:05 compute.bundle.1673020987.js
-rw-r--r-- 1 root root 68077 Jan 6 17:05 compute.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 46246 Jan 6 17:05 configuration.bundle.1673020987.js
-rw-r--r-- 1 root root 8603 Jan 6 17:05 configuration.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 53899 Jan 6 17:05 container-infra.bundle.1673020987.js
-rw-r--r-- 1 root root 11873 Jan 6 17:05 container-infra.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 22364 Jan 6 17:05 f7186078e00d958aa2b316483dfc7e1c.js
-rw-r--r-- 1 root root 6741 Jan 6 17:05 f7186078e00d958aa2b316483dfc7e1c.js.gz
-rw-r--r-- 1 root root 18712 Jan 6 17:05 heat.bundle.1673020987.js
-rw-r--r-- 1 root root 5107 Jan 6 17:05 heat.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 84537 Jan 6 17:05 identity.bundle.1673020987.js
-rw-r--r-- 1 root root 16158 Jan 6 17:05 identity.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 3576100 Jan 6 17:05 main.bundle.1673020987.js
-rw-r--r-- 1 root root 928925 Jan 6 17:05 main.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 462 Jan 6 17:05 management.bundle.1673020987.js
-rw-r--r-- 1 root root 140761 Jan 6 17:05 monitor-center.bundle.1673020987.js
-rw-r--r-- 1 root root 29548 Jan 6 17:05 monitor-center.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 298788 Jan 6 17:05 network.bundle.1673020987.js
-rw-r--r-- 1 root root 65299 Jan 6 17:05 network.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 2484 Jan 6 17:05 runtime.1673020987.js
-rw-r--r-- 1 root root 118002 Jan 6 17:05 share.bundle.1673020987.js
-rw-r--r-- 1 root root 19400 Jan 6 17:05 share.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 102031 Jan 6 17:05 storage.bundle.1673020987.js
-rw-r--r-- 1 root root 18879 Jan 6 17:05 storage.bundle.1673020987.js.gz
-rw-r--r-- 1 root root 155429 Jan 14 21:15 swagger.json
-rw-r--r-- 1 root root 16119 Jan 6 17:05 user-center.bundle.1673020987.js
-rw-r--r-- 1 root root 7450 Jan 6 17:05 user-center.bund...

Read more...

Revision history for this message
Boxiang Zhu (bxzhu-5355) wrote :

yes. Now skyline is not integrated with mistral now. If you are interested in mistral, welcome to contrib your codes :) . Now we have no plans(more engineers to handle this) to integrate the mistral into skyline now.

Changed in skyline-apiserver:
assignee: nobody → Boxiang Zhu (bxzhu-5355)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.