Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

[BUG] Creation of services with BTP env - failure in status check #430

Closed
2 tasks done
lechnerc77 opened this issue Feb 20, 2023 · 2 comments
Closed
2 tasks done
Assignees
Labels
available in dev fix/enhancement is available in dev bug Something isn't working
Milestone

Comments

@lechnerc77
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Are you using the latest docker image for BTPSA?

  • I'm using the latest docker image for BTPSA.

Which area is mainly impacted

CLI in general

Current Behavior

Setup of services that take a longer setup fail when target is BTP environment.

[2023-02-16 16:17:07] INFO : Create instance >EasyFranchiseHANADB< for service >hana-cloud< and plan >hana-free< via BTP CLI

[2023-02-16 16:17:07] RUN COMMAND: btp --format json create services/instance --subaccount 4237d0a5-6560-41c4-926d-02098f95f7d4 --offering-name hana-cloud --plan-name hana-free --name EasyFranchiseHANADB --parameters '{"data": {"edition": "cloud", "memory": 30, "serviceStopped": false, "storage": 120, "systempassword": "mySAP123", "vcpu": 0, "versionIndicator": "", "whitelistIPs": ["0.0.0.0/0"]}}'

[2023-02-16 16:17:10] ERROR : Traceback (most recent call last):

NoneType: None

[2023-02-16 16:17:10] ERROR : File "/home/user/./btpsa", line 42, in

myBtpUseCase.create_configured_app_subscriptions_and_services()

NoneType: None

[2023-02-16 16:17:10] ERROR : File "/home/user/libs/python/btp_cli.py", line 1092, in create_configured_app_subscriptions_and_services

initiateCreationOfServiceInstances(self)

NoneType: None

[2023-02-16 16:17:10] ERROR : File "/home/user/libs/python/helperServiceInstances.py", line 343, in initiateCreationOfServiceInstances

service = createServiceInstance(

NoneType: None

[2023-02-16 16:17:10] ERROR : File "/home/user/libs/python/helperServiceInstances.py", line 373, in createServiceInstance

service = create_btp_service(btpUsecase, service)

NoneType: None

[2023-02-16 16:17:10] ERROR : File "/home/user/libs/python/helperEnvBTP.py", line 63, in create_btp_service

result = convertStringToJson(p.stdout.decode())

NoneType: None

[2023-02-16 16:17:10] ERROR : File "/home/user/libs/python/helperJson.py", line 115, in convertStringToJson

jsonObject = json.loads(string)

NoneType: None

[2023-02-16 16:17:10] ERROR : File "/usr/local/lib/python3.10/json/init.py", line 346, in loads

return _default_decoder.decode(s)

NoneType: None

[2023-02-16 16:17:10] ERROR : File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end())

NoneType: None

[2023-02-16 16:17:10] ERROR : File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode

raise JSONDecodeError("Expecting value", s, err.value) from None

NoneType: None

[2023-02-16 16:17:10] ERROR : json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

NoneType: None

[2023-02-16 16:17:10] ERROR : Expecting value: line 1 column 1 (char 0)

NoneType: None

Expected Behavior

Execution should work like for CF environment

Steps To Reproduce

No response

Logs and configuration files available?

No response

Anything else?

No response

@lechnerc77 lechnerc77 added the bug Something isn't working label Feb 20, 2023
@lechnerc77 lechnerc77 self-assigned this Feb 20, 2023
@lechnerc77 lechnerc77 added this to the to be planned milestone Feb 20, 2023
@lechnerc77 lechnerc77 moved this to Test/Review in btpsa planning Feb 20, 2023
@lechnerc77 lechnerc77 mentioned this issue Feb 20, 2023
@lechnerc77 lechnerc77 added the available in dev fix/enhancement is available in dev label Feb 20, 2023
@lechnerc77 lechnerc77 modified the milestones: to be planned, btpsa-v1.5.0 Feb 20, 2023
@lechnerc77
Copy link
Member Author

Fix confirmed - will be part of next release

@lechnerc77
Copy link
Member Author

Available in main

@github-project-automation github-project-automation bot moved this from Test/Review to Done in btpsa planning Feb 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
available in dev fix/enhancement is available in dev bug Something isn't working
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant