Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Task Restart Issue #4199

Closed
umutcann opened this issue Oct 15, 2020 · 1 comment
Closed

Task Restart Issue #4199

umutcann opened this issue Oct 15, 2020 · 1 comment

Comments

@umutcann
Copy link

umutcann commented Oct 15, 2020

Hi,

I tried new version which fix issue related with #4119 issue.

I couldn't get IllegalStateException anymore. But now I faced error like below.

Do you have any comment?

image

{"embedded":{"errors":[{"message":"Failure executing: POST at: https://172.30.0.1/api/v1/namespaces/backend-architecture-dev/pods. Message: Pod "ark-batch-template-filetofile-tnox0018-05r8op16jj" is invalid: [spec.containers[0].env[0].name: Invalid value: "ECUTION_ID(LONG)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), spec.containers[0].env[6].name: Invalid value: "S_JOB_NAME(STRING)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), spec.containers[0].env[9].name: Invalid value: "N_ID(LONG)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), spec.containers[0].env[15].name: Invalid value: "ECUTION_TIME(STRING)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), spec.containers[0].env[16].name: Invalid value: "ECUTION_DATE(STRING)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*')]. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.containers[0].env[0].name, message=Invalid value: "ECUTION_ID(LONG)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), reason=FieldValueInvalid, additionalProperties={}), StatusCause(field=spec.containers[0].env[6].name, message=Invalid value: "S_JOB_NAME(STRING)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), reason=FieldValueInvalid, additionalProperties={}), StatusCause(field=spec.containers[0].env[9].name, message=Invalid value: "N_ID(LONG)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), reason=FieldValueInvalid, additionalProperties={}), StatusCause(field=spec.containers[0].env[15].name, message=Invalid value: "ECUTION_TIME(STRING)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), reason=FieldValueInvalid, additionalProperties={}), StatusCause(field=spec.containers[0].env[16].name, message=Invalid value: "ECUTION_DATE(STRING)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), reason=FieldValueInvalid, additionalProperties={})], group=null, kind=Pod, name=ark-batch-template-filetofile-tnox0018-05r8op16jj, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Pod "ark-batch-template-filetofile-tnox0018-05r8op16jj" is invalid: [spec.containers[0].env[0].name: Invalid value: "ECUTION_ID(LONG)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), spec.containers[0].env[6].name: Invalid value: "S_JOB_NAME(STRING)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), spec.containers[0].env[9].name: Invalid value: "N_ID(LONG)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), spec.containers[0].env[15].name: Invalid value: "ECUTION_TIME(STRING)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-.a-zA-Z0-9]*'), spec.containers[0].env[16].name: Invalid value: "ECUTION_DATE(STRING)": a valid environment variable name must consist of alphabetic characters, digits, '', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*')], metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}).","logref":"KubernetesClientException","_links":{"self":{"href":"/"}}}]}} : org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 Internal Server Error

@cppwfs
Copy link
Contributor

cppwfs commented Oct 15, 2020

Hello @umutcann
We identified this issue and reported it to the Spring Boot Team. The issue to follow is: spring-projects/spring-boot#23411
Thanks for the feedback!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants