Closed ramonlee closed 3 years ago
As the error states, the deplorer can't resolve the ServiceName_1 endpoint. Have you created the user provided service for this endpoint? Are you deploying directly using the cds command line, via the Business Application Studio or via the Web IDE? If directly with the cds command line have you maintained your own default-env.json file with the additional configuration to the secondary service (the User Provided Service)?
Hi Thomas, What i did clone git and cds build then follow with cds deploy (to my cf space).
CREATE USER CUPS_SFLIGHT PASSWORD "Fiori@123" SET PARAMETER CLIENT = '001' SET USERGROUP DEFAULT;
ALTER USER CUPS_SFLIGHT DISABLE PASSWORD LIFETIME;
GRANT SELECT ON SCHEMA SFLIGHT TO CUPS_SFLIGHT WITH GRANT OPTION;
GRANT SELECT METADATA ON SCHEMA SFLIGHT TO CUPS_SFLIGHT WITH GRANT OPTION;
CREATE ROLE SFLIGHT_CONTAINER_ACCESS;
GRANT SELECT, SELECT METADATA ON SCHEMA SFLIGHT TO SFLIGHT_CONTAINER_ACCESS WITH GRANT OPTION;
GRANT SFLIGHT_CONTAINER_ACCESS TO CUPS_SFLIGHT WITH ADMIN OPTION; [image: image.png] [image: image.png] [image: image.png]
[cds] - building project [/home/user/projects/hana-opensap-cloud-2020], clean [true] [cds] - cds [4.5.1], compiler [1.49.2], home [/home/user/projects/hana-opensap-cloud-2020/node_modules/@sap/cds]
[WARNING] [hdbtabledata] - no entity 'sap.common.Languages' found for CSV file 'db/src/gen/csv/sap.common-Languages.csv' [WARNING] [hdbtabledata] - no entity 'sap.common.Languages_texts' found for CSV file 'db/src/gen/csv/sap.common-Languages_texts.csv'
[cds] - done > wrote output to: db/src/gen/.hdiconfig db/src/gen/.hdinamespace db/src/gen/Base.hdbtable db/src/gen/DRAFT.DraftAdministrativeData.hdbtable db/src/gen/FLIGHT.SflightExt.hdbview db/src/gen/FLIGHT.SflightView.hdbview db/src/gen/MasterDataService.Addresses.hdbview db/src/gen/MasterDataService.BusinessPartners.hdbview db/src/gen/MasterDataService.Buyer.hdbview db/src/gen/MasterDataService.Countries.hdbview db/src/gen/MasterDataService.Countries_texts.hdbview db/src/gen/MasterDataService.Currencies.hdbview db/src/gen/MasterDataService.Currencies_texts.hdbview db/src/gen/MasterDataService.Employees.hdbview db/src/gen/MasterDataService.ProductImages.hdbview db/src/gen/MasterDataService.Products.hdbview db/src/gen/MasterDataService.Products_texts.hdbview db/src/gen/MasterDataService.Regions.hdbview db/src/gen/MasterDataService.User.hdbview db/src/gen/MasterDataService.partnerRoles.hdbview db/src/gen/MasterDataService.productCategoryVH.hdbview db/src/gen/POService.Addresses.hdbview db/src/gen/POService.BusinessPartners.hdbview db/src/gen/POService.Buyer.hdbview db/src/gen/POService.Countries.hdbview db/src/gen/POService.Countries_texts.hdbview db/src/gen/POService.Currencies.hdbview db/src/gen/POService.Currencies_texts.hdbview db/src/gen/POService.DraftAdministrativeData.hdbview db/src/gen/POService.Employees.hdbview db/src/gen/POService.POItems.hdbview db/src/gen/POService.POItemsNoDraft.hdbview db/src/gen/POService.POItems_drafts.hdbtable db/src/gen/POService.PO_Worklist.hdbview db/src/gen/POService.POnoDraft.hdbview db/src/gen/POService.POs.hdbview db/src/gen/POService.POs_drafts.hdbtable db/src/gen/POService.ProductImages.hdbview db/src/gen/POService.Products.hdbview db/src/gen/POService.Products_texts.hdbview db/src/gen/POService.Regions.hdbview db/src/gen/POService.productCategoryVH.hdbview db/src/gen/T006.hdbtable db/src/gen/T006A.hdbtable db/src/gen/TCURC.hdbtable db/src/gen/TCURF.hdbtable db/src/gen/TCURN.hdbtable db/src/gen/TCURR.hdbtable db/src/gen/TCURT.hdbtable db/src/gen/TCURV.hdbtable db/src/gen/TCURW.hdbtable db/src/gen/TCURX.hdbtable db/src/gen/csv/T006.csv db/src/gen/csv/T006.hdbtabledata db/src/gen/csv/T006A.csv db/src/gen/csv/T006A.hdbtabledata db/src/gen/csv/TCURC.csv db/src/gen/csv/TCURC.hdbtabledata db/src/gen/csv/TCURF.csv db/src/gen/csv/TCURF.hdbtabledata db/src/gen/csv/TCURN.csv db/src/gen/csv/TCURN.hdbtabledata db/src/gen/csv/TCURR.csv db/src/gen/csv/TCURR.hdbtabledata db/src/gen/csv/TCURT.csv db/src/gen/csv/TCURT.hdbtabledata db/src/gen/csv/TCURV.csv db/src/gen/csv/TCURV.hdbtabledata db/src/gen/csv/TCURW.csv db/src/gen/csv/TCURW.hdbtabledata db/src/gen/csv/TCURX.csv db/src/gen/csv/TCURX.hdbtabledata db/src/gen/csv/opensap.MD-Addresses.csv db/src/gen/csv/opensap.MD-Addresses.hdbtabledata db/src/gen/csv/opensap.MD-BusinessPartners.csv db/src/gen/csv/opensap.MD-BusinessPartners.hdbtabledata db/src/gen/csv/opensap.MD-Employees.csv db/src/gen/csv/opensap.MD-Employees.hdbtabledata db/src/gen/csv/opensap.MD-Products.csv db/src/gen/csv/opensap.MD-Products.hdbtabledata db/src/gen/csv/opensap.MD-Products_texts.csv db/src/gen/csv/opensap.MD-Products_texts.hdbtabledata db/src/gen/csv/opensap.PurchaseOrder-Headers.csv db/src/gen/csv/opensap.PurchaseOrder-Headers.hdbtabledata db/src/gen/csv/opensap.PurchaseOrder-Items.csv db/src/gen/csv/opensap.PurchaseOrder-Items.hdbtabledata db/src/gen/csv/sap.common-Countries.csv db/src/gen/csv/sap.common-Countries.hdbtabledata db/src/gen/csv/sap.common-Currencies.csv db/src/gen/csv/sap.common-Currencies.hdbtabledata db/src/gen/csv/sap.common-Currencies_texts.csv db/src/gen/csv/sap.common-Currencies_texts.hdbtabledata db/src/gen/csv/sap.common-Languages.csv db/src/gen/csv/sap.common-Languages_texts.csv db/src/gen/csv/sap.common_countries-Regions.csv db/src/gen/csv/sap.common_countries-Regions.hdbtabledata db/src/gen/iso_countries_regions.hdbview db/src/gen/iso_us_states.hdbview db/src/gen/iso_us_states_and_territories.hdbview db/src/gen/localized.MasterDataService.Addresses.hdbview db/src/gen/localized.MasterDataService.BusinessPartners.hdbview db/src/gen/localized.MasterDataService.Buyer.hdbview db/src/gen/localized.MasterDataService.Countries.hdbview db/src/gen/localized.MasterDataService.Currencies.hdbview db/src/gen/localized.MasterDataService.Employees.hdbview db/src/gen/localized.MasterDataService.ProductImages.hdbview db/src/gen/localized.MasterDataService.Products.hdbview db/src/gen/localized.MasterDataService.Regions.hdbview db/src/gen/localized.POService.Addresses.hdbview db/src/gen/localized.POService.BusinessPartners.hdbview db/src/gen/localized.POService.Countries.hdbview db/src/gen/localized.POService.Currencies.hdbview db/src/gen/localized.POService.Employees.hdbview db/src/gen/localized.POService.POItems.hdbview db/src/gen/localized.POService.POItemsNoDraft.hdbview db/src/gen/localized.POService.PO_Worklist.hdbview db/src/gen/localized.POService.POnoDraft.hdbview db/src/gen/localized.POService.POs.hdbview db/src/gen/localized.POService.ProductImages.hdbview db/src/gen/localized.POService.Products.hdbview db/src/gen/localized.POService.Regions.hdbview db/src/gen/localized.iso_countries_regions.hdbview db/src/gen/localized.opensap.MD.Addresses.hdbview db/src/gen/localized.opensap.MD.BPView.hdbview db/src/gen/localized.opensap.MD.BusinessPartners.hdbview db/src/gen/localized.opensap.MD.BuyerView.hdbview db/src/gen/localized.opensap.MD.Employees.hdbview db/src/gen/localized.opensap.MD.ProductImages.hdbview db/src/gen/localized.opensap.MD.ProductView.hdbview db/src/gen/localized.opensap.MD.Products.hdbview db/src/gen/localized.opensap.MD.ProductsConsumption.hdbview db/src/gen/localized.opensap.MD.ProductsValueHelp.hdbview db/src/gen/localized.opensap.MD.SupplierView.hdbview db/src/gen/localized.opensap.PurchaseOrder.Headers.hdbview db/src/gen/localized.opensap.PurchaseOrder.ItemView.hdbview db/src/gen/localized.opensap.PurchaseOrder.Items.hdbview db/src/gen/localized.opensap.PurchaseOrder.POItemConsumption.hdbview db/src/gen/localized.opensap.PurchaseOrder.POWorklist.hdbview
db/src/gen/localized.opensap.PurchaseOrder.PURCHASE_ORDER_ITEM_VIEW.hdbview db/src/gen/localized.sap.common.Countries.hdbview db/src/gen/localized.sap.common.Currencies.hdbview db/src/gen/localized.sap.common_countries.Regions.hdbview db/src/gen/log.collectChangeCount.hdbtable db/src/gen/log.collectCreateCount.hdbtable db/src/gen/log.collectdata.hdbtable db/src/gen/log.errors.hdbtable db/src/gen/log.info.hdbtable db/src/gen/log.messages.hdbtable db/src/gen/opensap.MD.Addresses.hdbtable db/src/gen/opensap.MD.BPAddrExt.hdbview db/src/gen/opensap.MD.BPOrders2View.hdbview db/src/gen/opensap.MD.BPOrders3View.hdbview db/src/gen/opensap.MD.BPOrdersView.hdbview db/src/gen/opensap.MD.BPView.hdbview db/src/gen/opensap.MD.BPViewWithDesc.hdbview db/src/gen/opensap.MD.BusinessPartners.hdbtable db/src/gen/opensap.MD.BusinessPartnersView.hdbview db/src/gen/opensap.MD.BuyerView.hdbview db/src/gen/opensap.MD.Employees.hdbtable db/src/gen/opensap.MD.NewYorkEmployees.hdbview db/src/gen/opensap.MD.ProductImages.hdbtable db/src/gen/opensap.MD.ProductLog.hdbtable db/src/gen/opensap.MD.ProductValuesView.hdbview db/src/gen/opensap.MD.ProductView.hdbview db/src/gen/opensap.MD.ProductViewSub.hdbview db/src/gen/opensap.MD.Products.hdbtable db/src/gen/opensap.MD.ProductsConsumption.hdbview db/src/gen/opensap.MD.ProductsValueHelp.hdbview db/src/gen/opensap.MD.Products_texts.hdbtable db/src/gen/opensap.MD.SupplierView.hdbview db/src/gen/opensap.MD.SupplierViewVH.hdbview db/src/gen/opensap.MD.partnerRoles.hdbview db/src/gen/opensap.MD.productCategoryVH.hdbview db/src/gen/opensap.PurchaseOrder.HeaderView.hdbview db/src/gen/opensap.PurchaseOrder.Headers.hdbtable db/src/gen/opensap.PurchaseOrder.ItemView.hdbview db/src/gen/opensap.PurchaseOrder.Items.hdbtable db/src/gen/opensap.PurchaseOrder.POHeaderConsumption.hdbview db/src/gen/opensap.PurchaseOrder.POItemConsumption.hdbview db/src/gen/opensap.PurchaseOrder.POView.hdbview db/src/gen/opensap.PurchaseOrder.POWorklist.hdbview db/src/gen/opensap.PurchaseOrder.PURCHASE_ORDER_ITEM_VIEW.hdbview db/src/gen/sap.common.Countries.hdbtable db/src/gen/sap.common.Countries_texts.hdbtable db/src/gen/sap.common.Currencies.hdbtable db/src/gen/sap.common.Currencies_texts.hdbtable db/src/gen/sap.common_countries.Regions.hdbtable srv/gen/_i18n/i18n.json srv/gen/csn.json user_db/src/gen/.hdiconfig user_db/src/gen/.hdinamespace user_db/src/gen/UserData.User.hdbtable
[WARNING] ../db/schema/masterData.cds:392:8: Target "opensap.MD.Products" is exposed in service "POService" by multiple projections "POService.Products", "POService.productCategoryVH" - no implicit redirection (in entity:"POService.ProductImages"/element:"product") [WARNING] ../db/schema/masterData.cds:392:8: Target "opensap.MD.Products" is exposed in service "POService" by multiple projections "POService.Products", "POService.productCategoryVH" - no implicit redirection (in entity:"localized.POService.ProductImages"/element:"product")
[cds] - build completed in: 1827.613ms
user: hana-opensap-cloud-2020 $ 3. CDS Deploy user: hana-opensap-cloud-2020 $ cds deploy [cds.deploy] - Starting deploy to SAP HANA ...
[cds.deploy] - Creating build tasks [cds.deploy] - Running build [WARNING] [hdbtabledata] - no entity 'sap.common.Languages' found for CSV file 'db/src/gen/csv/sap.common-Languages.csv' [WARNING] [hdbtabledata] - no entity 'sap.common.Languages_texts' found for CSV file 'db/src/gen/csv/sap.common-Languages_texts.csv'
[cds.deploy] - Using container hana-opensap-cloud-2020-db
[cds.deploy] - Running 'cf create-service hana hdi-shared hana-opensap-cloud-2020-db' with options {} Creating service instance hana-opensap-cloud-2020-db in org 1652bd0ctrial_ventia / space dev as ramon.lee@epiuse.com.au... OK
Service hana-opensap-cloud-2020-db already exists [cds.deploy] - Writing /home/user/projects/hana-opensap-cloud-2020/db/default-env.json [cds.deploy] - Writing /home/user/projects/hana-opensap-cloud-2020/default-env.json [cds.deploy] - Writing /home/user/projects/hana-opensap-cloud-2020/package.json
[cds.deploy] - Deploying to HANA from /home/user/projects/hana-opensap-cloud-2020/db [cds.deploy] - Using HDI deployer from /home/user/projects/hana-opensap-cloud-2020/db/node_modules/@sap/hdi-deploy/library.js @sap/hdi-deploy, version 3.11.15 (mode default), server version unknown (0.0.0.0), node version 10.23.1, HDI version -1, container API version -1
Detection of server version failed; root cause: Connection failed (RTE:[300015] SSL certificate validation failed: error code: 337047686, file:../ssl/statem/statem_clnt.c, line:1915 - error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed ( e2ef1f42-32d8-4a8b-ab90-7e6e6c523d7b.hana.trial-eu10.hanacloud.ondemand.com:443 ))
Detection of container API version failed; root cause: Connection failed (RTE:[300015] SSL certificate validation failed: error code: 337047686, file:../ssl/statem/statem_clnt.c, line:1915 - error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed ( e2ef1f42-32d8-4a8b-ab90-7e6e6c523d7b.hana.trial-eu10.hanacloud.ondemand.com:443 )) Detection of HDI version failed; root cause: Connection failed (RTE:[300015] SSL certificate validation failed: error code: 337047686, file:../ssl/statem/statem_clnt.c, line:1915 - error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed ( e2ef1f42-32d8-4a8b-ab90-7e6e6c523d7b.hana.trial-eu10.hanacloud.ondemand.com:443 )) Using default environment variables from file "default-env.json"
The server does not support live updating of make messages. The messages will be displayed, when the make is done.
No ignore file at /home/user/projects/hana-opensap-cloud-2020/db/.hdiignore.
Collecting files...
Collecting files... ok (0s 35ms)
21 directories collected 257 files collected 0 reusable modules collected Target service: hana-opensap-cloud-2020-db
Could not check if session variable APPLICATION is set correctly: Connection failed (RTE:[300015] SSL certificate validation failed: error code: 337047686, file:../ssl/statem/statem_clnt.c, line:1915 - error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed ( e2ef1f42-32d8-4a8b-ab90-7e6e6c523d7b.hana.trial-eu10.hanacloud.ondemand.com:443 ))
Could not determine status of last build: Connection failed (RTE:[300015] SSL certificate validation failed: error code: 337047686, file:../ssl/statem/statem_clnt.c, line:1915 - error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed ( e2ef1f42-32d8-4a8b-ab90-7e6e6c523d7b.hana.trial-eu10.hanacloud.ondemand.com:443 ))
Processing revoke files...
Processing revoke files... ok (0s 0ms)
Processing grants files...
Processing "cfg/SFLIGHT.hdbgrants"...
Error: service ServiceName_1 not found; the service definition does not exist.
(0s 138ms)
[ERROR] [cds.deploy] - HDI deployment failed with exit code 1
at hdiDeployLib.deploy
(/home/user/projects/hana-opensap-cloud-2020/node_modules/@sap/cds/bin/deploy/to-hana/hdiDeployUtil.js:92:35)
at ChildProcess.
user: hana-opensap-cloud-2020 $
Regards, RL
It seems like your default-env.json isn't complete. I'd suggest having a look at this video. https://www.youtube.com/watch?v=9MKZhHg-y7s&list=PL6RpkC85SLQAHZ_V3cZsTok0T6BvI4HT1&index=7
Particularly this chapter where we edit the default-env.json 14:51 Add User Provided Service to default-env.json https://www.youtube.com/watch?v=9MKZhHg-y7s&list=PL6RpkC85SLQAHZ_V3cZsTok0T6BvI4HT1&index=7&t=891s
thanks Thomas.
I found the mistake.
CDS deploy does not work on root project folder. I had to remove the 'gen' folder from the root project and navigate to 'db' folder and run 'hana-cli createModule' to create the '.build.js' script and run a npm start from here. Sounds like a trade-off that we have to perform this manual step. Now the above problems is resolved, i spotted 2 more challenges, would appreciate if you could set me to the right direction:
user: hana-opensap-cloud-2020 $ mbt build [2021-02-19 00:09:44] INFO Cloud MTA Build Tool version 1.1.0 [2021-02-19 00:09:44] INFO generating the "Makefile_20210219000944.mta" file... [2021-02-19 00:09:44] INFO done [2021-02-19 00:09:44] INFO executing the "make -f Makefile_20210219000944.mta p=cf mtar= strict=true mode=" command... [2021-02-19 00:09:44] INFO validating the MTA project [2021-02-19 00:09:44] INFO running the "before-all" build... [2021-02-19 00:09:44] INFO executing the "npm install" command... ..npm WARN @apidevtools/swagger-parser@10.0.2 requires a peer of openapi-types@>=7 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: nan@2.14.2 (node_modules/nan): npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, mkdir '/home/user/projects/hana-opensap-cloud-2020/node_modules/.staging' npm WARN optional SKIPPING OPTIONAL DEPENDENCY: event-loop-stats@1.2.0 (node_modules/event-loop-stats): npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, mkdir '/home/user/projects/hana-opensap-cloud-2020/node_modules/.staging'
audited 675 packages in 2.539s
.
17 packages are looking for funding
run npm fund
for details
found 1 high severity vulnerability
run npm audit fix
to fix them, or npm audit
for details
┌────────────────────────────────────────────────────────┐ │ npm update check failed │ │ Try running with sudo or get access │ │ to the local update config store via │ │ sudo chown -R $USER:$(id -gn $USER) /home/user/.config │ └────────────────────────────────────────────────────────┘ [2021-02-19 00:09:48] INFO executing the "npx cds build" command... [cds] - determining build tasks for project [/home/user/projects/hana-opensap-cloud-2020]. { "build": { "target": ".", "tasks": [ {"for":"hana", "src":"db", "options":{"model":["db","srv"]}}, {"for":"hana", "src":"user_db", "options":{"model":["user_db"]}}, {"for":"node-cf", "src":"srv", "options":{"model":["db","srv"]}} ] } }
[cds] - building project [/home/user/projects/hana-opensap-cloud-2020], clean [true] [cds] - cds [4.5.2], compiler [1.49.2], home [/home/user/projects/hana-opensap-cloud-2020/node_modules/@sap/cds]
...[WARNING] [hdbtabledata] - no entity 'sap.common.Languages' found for CSV file 'db/src/gen/csv/sap.common-Languages.csv' [WARNING] [hdbtabledata] - no entity 'sap.common.Languages_texts' found for CSV file 'db/src/gen/csv/sap.common-Languages_texts.csv'
[cds] - done > wrote output to: db/src/gen/.hdiconfig db/src/gen/.hdinamespace db/src/gen/Base.hdbtable db/src/gen/DRAFT.DraftAdministrativeData.hdbtable db/src/gen/FLIGHT.SflightExt.hdbview db/src/gen/FLIGHT.SflightView.hdbview db/src/gen/MasterDataService.Addresses.hdbview db/src/gen/MasterDataService.BusinessPartners.hdbview db/src/gen/MasterDataService.Buyer.hdbview db/src/gen/MasterDataService.Countries.hdbview db/src/gen/MasterDataService.Countries_texts.hdbview db/src/gen/MasterDataService.Currencies.hdbview db/src/gen/MasterDataService.Currencies_texts.hdbview db/src/gen/MasterDataService.Employees.hdbview db/src/gen/MasterDataService.ProductImages.hdbview db/src/gen/MasterDataService.Products.hdbview db/src/gen/MasterDataService.Products_texts.hdbview db/src/gen/MasterDataService.Regions.hdbview db/src/gen/MasterDataService.User.hdbview db/src/gen/MasterDataService.partnerRoles.hdbview db/src/gen/MasterDataService.productCategoryVH.hdbview db/src/gen/POService.Addresses.hdbview db/src/gen/POService.BusinessPartners.hdbview db/src/gen/POService.Buyer.hdbview db/src/gen/POService.Countries.hdbview db/src/gen/POService.Countries_texts.hdbview db/src/gen/POService.Currencies.hdbview db/src/gen/POService.Currencies_texts.hdbview db/src/gen/POService.DraftAdministrativeData.hdbview db/src/gen/POService.Employees.hdbview db/src/gen/POService.POItems.hdbview db/src/gen/POService.POItemsNoDraft.hdbview db/src/gen/POService.POItems_drafts.hdbtable db/src/gen/POService.PO_Worklist.hdbview db/src/gen/POService.POnoDraft.hdbview db/src/gen/POService.POs.hdbview db/src/gen/POService.POs_drafts.hdbtable db/src/gen/POService.ProductImages.hdbview db/src/gen/POService.Products.hdbview db/src/gen/POService.Products_texts.hdbview db/src/gen/POService.Regions.hdbview db/src/gen/POService.productCategoryVH.hdbview db/src/gen/T006.hdbtable db/src/gen/T006A.hdbtable db/src/gen/TCURC.hdbtable db/src/gen/TCURF.hdbtable db/src/gen/TCURN.hdbtable db/src/gen/TCURR.hdbtable db/src/gen/TCURT.hdbtable db/src/gen/TCURV.hdbtable db/src/gen/TCURW.hdbtable db/src/gen/TCURX.hdbtable db/src/gen/csv/T006.csv db/src/gen/csv/T006.hdbtabledata db/src/gen/csv/T006A.csv db/src/gen/csv/T006A.hdbtabledata db/src/gen/csv/TCURC.csv db/src/gen/csv/TCURC.hdbtabledata db/src/gen/csv/TCURF.csv db/src/gen/csv/TCURF.hdbtabledata db/src/gen/csv/TCURN.csv db/src/gen/csv/TCURN.hdbtabledata db/src/gen/csv/TCURR.csv db/src/gen/csv/TCURR.hdbtabledata db/src/gen/csv/TCURT.csv db/src/gen/csv/TCURT.hdbtabledata db/src/gen/csv/TCURV.csv db/src/gen/csv/TCURV.hdbtabledata db/src/gen/csv/TCURW.csv db/src/gen/csv/TCURW.hdbtabledata db/src/gen/csv/TCURX.csv db/src/gen/csv/TCURX.hdbtabledata db/src/gen/csv/opensap.MD-Addresses.csv db/src/gen/csv/opensap.MD-Addresses.hdbtabledata db/src/gen/csv/opensap.MD-BusinessPartners.csv db/src/gen/csv/opensap.MD-BusinessPartners.hdbtabledata db/src/gen/csv/opensap.MD-Employees.csv db/src/gen/csv/opensap.MD-Employees.hdbtabledata db/src/gen/csv/opensap.MD-Products.csv db/src/gen/csv/opensap.MD-Products.hdbtabledata db/src/gen/csv/opensap.MD-Products_texts.csv db/src/gen/csv/opensap.MD-Products_texts.hdbtabledata db/src/gen/csv/opensap.PurchaseOrder-Headers.csv db/src/gen/csv/opensap.PurchaseOrder-Headers.hdbtabledata db/src/gen/csv/opensap.PurchaseOrder-Items.csv db/src/gen/csv/opensap.PurchaseOrder-Items.hdbtabledata db/src/gen/csv/sap.common-Countries.csv db/src/gen/csv/sap.common-Countries.hdbtabledata db/src/gen/csv/sap.common-Currencies.csv db/src/gen/csv/sap.common-Currencies.hdbtabledata db/src/gen/csv/sap.common-Currencies_texts.csv db/src/gen/csv/sap.common-Currencies_texts.hdbtabledata db/src/gen/csv/sap.common-Languages.csv db/src/gen/csv/sap.common-Languages_texts.csv db/src/gen/csv/sap.common_countries-Regions.csv db/src/gen/csv/sap.common_countries-Regions.hdbtabledata db/src/gen/iso_countries_regions.hdbview db/src/gen/iso_us_states.hdbview db/src/gen/iso_us_states_and_territories.hdbview db/src/gen/localized.MasterDataService.Addresses.hdbview db/src/gen/localized.MasterDataService.BusinessPartners.hdbview db/src/gen/localized.MasterDataService.Buyer.hdbview db/src/gen/localized.MasterDataService.Countries.hdbview db/src/gen/localized.MasterDataService.Currencies.hdbview db/src/gen/localized.MasterDataService.Employees.hdbview db/src/gen/localized.MasterDataService.ProductImages.hdbview db/src/gen/localized.MasterDataService.Products.hdbview db/src/gen/localized.MasterDataService.Regions.hdbview db/src/gen/localized.POService.Addresses.hdbview db/src/gen/localized.POService.BusinessPartners.hdbview db/src/gen/localized.POService.Countries.hdbview db/src/gen/localized.POService.Currencies.hdbview db/src/gen/localized.POService.Employees.hdbview db/src/gen/localized.POService.POItems.hdbview db/src/gen/localized.POService.POItemsNoDraft.hdbview db/src/gen/localized.POService.PO_Worklist.hdbview db/src/gen/localized.POService.POnoDraft.hdbview db/src/gen/localized.POService.POs.hdbview db/src/gen/localized.POService.ProductImages.hdbview db/src/gen/localized.POService.Products.hdbview db/src/gen/localized.POService.Regions.hdbview db/src/gen/localized.iso_countries_regions.hdbview db/src/gen/localized.opensap.MD.Addresses.hdbview db/src/gen/localized.opensap.MD.BPView.hdbview db/src/gen/localized.opensap.MD.BusinessPartners.hdbview db/src/gen/localized.opensap.MD.BuyerView.hdbview db/src/gen/localized.opensap.MD.Employees.hdbview db/src/gen/localized.opensap.MD.ProductImages.hdbview db/src/gen/localized.opensap.MD.ProductView.hdbview db/src/gen/localized.opensap.MD.Products.hdbview db/src/gen/localized.opensap.MD.ProductsConsumption.hdbview db/src/gen/localized.opensap.MD.ProductsValueHelp.hdbview db/src/gen/localized.opensap.MD.SupplierView.hdbview db/src/gen/localized.opensap.PurchaseOrder.Headers.hdbview db/src/gen/localized.opensap.PurchaseOrder.ItemView.hdbview db/src/gen/localized.opensap.PurchaseOrder.Items.hdbview db/src/gen/localized.opensap.PurchaseOrder.POItemConsumption.hdbview db/src/gen/localized.opensap.PurchaseOrder.POWorklist.hdbview
db/src/gen/localized.opensap.PurchaseOrder.PURCHASE_ORDER_ITEM_VIEW.hdbview db/src/gen/localized.sap.common.Countries.hdbview db/src/gen/localized.sap.common.Currencies.hdbview db/src/gen/localized.sap.common_countries.Regions.hdbview db/src/gen/log.collectChangeCount.hdbtable db/src/gen/log.collectCreateCount.hdbtable db/src/gen/log.collectdata.hdbtable db/src/gen/log.errors.hdbtable db/src/gen/log.info.hdbtable db/src/gen/log.messages.hdbtable db/src/gen/opensap.MD.Addresses.hdbtable db/src/gen/opensap.MD.BPAddrExt.hdbview db/src/gen/opensap.MD.BPOrders2View.hdbview db/src/gen/opensap.MD.BPOrders3View.hdbview db/src/gen/opensap.MD.BPOrdersView.hdbview db/src/gen/opensap.MD.BPView.hdbview db/src/gen/opensap.MD.BPViewWithDesc.hdbview db/src/gen/opensap.MD.BusinessPartners.hdbtable db/src/gen/opensap.MD.BusinessPartnersView.hdbview db/src/gen/opensap.MD.BuyerView.hdbview db/src/gen/opensap.MD.Employees.hdbtable db/src/gen/opensap.MD.NewYorkEmployees.hdbview db/src/gen/opensap.MD.ProductImages.hdbtable db/src/gen/opensap.MD.ProductLog.hdbtable db/src/gen/opensap.MD.ProductValuesView.hdbview db/src/gen/opensap.MD.ProductView.hdbview db/src/gen/opensap.MD.ProductViewSub.hdbview db/src/gen/opensap.MD.Products.hdbtable db/src/gen/opensap.MD.ProductsConsumption.hdbview db/src/gen/opensap.MD.ProductsValueHelp.hdbview db/src/gen/opensap.MD.Products_texts.hdbtable db/src/gen/opensap.MD.SupplierView.hdbview db/src/gen/opensap.MD.SupplierViewVH.hdbview db/src/gen/opensap.MD.partnerRoles.hdbview db/src/gen/opensap.MD.productCategoryVH.hdbview db/src/gen/opensap.PurchaseOrder.HeaderView.hdbview db/src/gen/opensap.PurchaseOrder.Headers.hdbtable db/src/gen/opensap.PurchaseOrder.ItemView.hdbview db/src/gen/opensap.PurchaseOrder.Items.hdbtable db/src/gen/opensap.PurchaseOrder.POHeaderConsumption.hdbview db/src/gen/opensap.PurchaseOrder.POItemConsumption.hdbview db/src/gen/opensap.PurchaseOrder.POView.hdbview db/src/gen/opensap.PurchaseOrder.POWorklist.hdbview db/src/gen/opensap.PurchaseOrder.PURCHASE_ORDER_ITEM_VIEW.hdbview db/src/gen/sap.common.Countries.hdbtable db/src/gen/sap.common.Countries_texts.hdbtable db/src/gen/sap.common.Currencies.hdbtable db/src/gen/sap.common.Currencies_texts.hdbtable db/src/gen/sap.common_countries.Regions.hdbtable srv/gen/_i18n/i18n.json srv/gen/csn.json user_db/src/gen/.hdiconfig user_db/src/gen/.hdinamespace user_db/src/gen/UserData.User.hdbtable
[WARNING] ../db/schema/masterData.cds:392:8: Target "opensap.MD.Products" is exposed in service "POService" by multiple projections "POService.Products", "POService.productCategoryVH" - no implicit redirection (in entity:"POService.ProductImages"/element:"product") [WARNING] ../db/schema/masterData.cds:392:8: Target "opensap.MD.Products" is exposed in service "POService" by multiple projections "POService.Products", "POService.productCategoryVH" - no implicit redirection (in entity:"localized.POService.ProductImages"/element:"product")
[cds] - build completed in: 2567.626ms
[2021-02-19 00:09:51] INFO validating the MTA project [2021-02-19 00:09:51] INFO building the "hana-opensap-cloud-2020-srv" module... [2021-02-19 00:09:51] INFO executing the "npm install --production" command... ...npm WARN @apidevtools/swagger-parser@10.0.2 requires a peer of openapi-types@>=7 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: nan@2.14.2 (node_modules/nan): npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, mkdir '/home/user/projects/hana-opensap-cloud-2020/node_modules/.staging' npm WARN optional SKIPPING OPTIONAL DEPENDENCY: event-loop-stats@1.2.0 (node_modules/event-loop-stats): npm WARN nospc SKIPPING OPTIONAL DEPENDENCY: ENOSPC: no space left on device, mkdir '/home/user/projects/hana-opensap-cloud-2020/node_modules/.staging'
audited 675 packages in 3.392s
.
17 packages are looking for funding
run npm fund
for details
found 1 high severity vulnerability
run npm audit fix
to fix them, or npm audit
for details
┌────────────────────────────────────────────────────────┐ │ npm update check failed │ │ Try running with sudo or get access │ │ to the local update config store via │ │ sudo chown -R $USER:$(id -gn $USER) /home/user/.config │ └────────────────────────────────────────────────────────┘ [2021-02-19 00:09:55] INFO the build results of the "hana-opensap-cloud-2020-srv" module will be packaged and saved in the "/home/user/projects/hana-opensap-cloud-2020/.hana-opensap-cloud-2020_mta_build_tmp/hana-opensap-cloud-2020-srv" folder [2021-02-19 00:12:03] ERROR could not package the "hana-opensap-cloud-2020-srv" module when archiving: write /home/user/projects/hana-opensap-cloud-2020/.hana-opensap-cloud-2020_mta_build_tmp/hana-opensap-cloud-2020-srv/data.zip: no space left on device make: *** [Makefile_20210219000944.mta:37: hana-opensap-cloud-2020-srv] Error 1 Error: could not build the MTA project: could not execute the "make -f Makefile_20210219000944.mta p=cf mtar= strict=true mode=" command: exit status 2 user: hana-opensap-cloud-2020 $
On Fri, 19 Feb 2021 at 03:01, Thomas Jung notifications@github.com wrote:
It seems like your default-env.json isn't complete. I'd suggest having a look at this video. https://www.youtube.com/watch?v=9MKZhHg-y7s&list=PL6RpkC85SLQAHZ_V3cZsTok0T6BvI4HT1&index=7
Particularly this chapter where we edit the default-env.json 14:51 Add User Provided Service to default-env.json https://www.youtube.com/watch?v=9MKZhHg-y7s&list=PL6RpkC85SLQAHZ_V3cZsTok0T6BvI4HT1&index=7&t=891s
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SAP-samples/hana-opensap-cloud-2020/issues/30#issuecomment-781447916, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHJACMBZ24NKTJFB7SJM3TS7U2VBANCNFSM4XZGNBLA .
-- Thanks & Regards, Y.H. Lee (Ramon) SAP Technical Architect Mobile: +61 (0)403787683 Mobile: +44(0)7733267338
The build seems to be failing for this reason:
write /home/user/projects/hana-opensap-cloud-2020/.hana-opensap-cloud-2020_mta_build_tmp/hana-opensap-cloud-2020-srv/data.zip: no space left on device
You are running out of disk space where ever you are preforming this build.
Processing "cfg/SFLIGHT.hdbgrants"...
Error: service ServiceName_1 not found; the service definition does not exist.
(0s 615ms)
[ERROR] [cds.deploy] - HDI deployment failed with exit code 1 at hdiDeployLib.deploy (/home/user/projects/hana-opensap-cloud-2020/node_modules/@sap/cds/bin/deploy/to-hana/hdiDeployUtil.js:92:35) at ChildProcess. (/home/user/projects/hana-opensap-cloud-2020/db/node_modules/@sap/hdi-deploy/library.js:101:14)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Socket.stream.socket.on (internal/child_process.js:389:11)
at Socket.emit (events.js:198:13)
at Pipe._handle.close (net.js:607:12)