elegant-petabyte-32634
05/24/2022, 9:15 AMrpc error: code = InvalidArgument desc = missing key in inputs
. Any ideas what could be wrong? More code in the thread.elegant-petabyte-32634
05/24/2022, 9:15 AM@workflow
def wf(
transactions_dump_base_path: str = "s3://...",
created_date: str = "",
out_remote_base_path: str = "s3://...",
) -> typing.List[FlyteFile]:
...
...
remote = FlyteRemote(config=Config.auto())
# also tried this with fixed_inputs and without any inputs, same error
launch_plan = LaunchPlan.get_or_create(
name="lp_name",
workflow=wf,
schedule=CronSchedule(schedule="@hourly"),
default_inputs={
"transactions_dump_base_path": "s3://...",
"created_date": "",
"out_remote_base_path": "s3://...",
},
)
remote.register_launch_plan(
launch_plan,
project="flytesnacks",
domain="development",
version="BxKlPRTnz1-RaW3r0XHoGQ==",
)
# CLI: flytectl update launchplan -p flytesnacks -d development --version BxKlPRTnz1-RaW3r0XHoGQ== lp_name --activate
elegant-petabyte-32634
05/24/2022, 9:18 AM{"json":{"routine":"jobfunc-6675663219511107547"},"level":"error","msg":"unable to fire the schedule {BaseModel:{ID:69 CreatedAt:2022-05-23 16:58:44.966854 +0000 UTC UpdatedAt:2022-05-23 16:58:44.966854 +0000 UTC DeletedAt:\u003cnil\u003e} SchedulableEntityKey:{Project:flytesnacks Domain:development Name:lp_name Version:BxKlPRTnz1-RaW3r0XHoGQ==} CronExpression:@hourly FixedRateValue:0 Unit:MINUTE KickoffTimeInputArg: Active:0xc0007bf2a0} at 2022-05-24 08:00:00 +0000 UTC time due to rpc error: code = InvalidArgument desc = missing key in inputs","ts":"2022-05-24T08:26:50Z"}
{"json":{"routine":"jobfunc-6675663219511107547"},"level":"error","msg":"failed to create execution create request %+v due to %vproject:\"flytesnacks\" domain:\"development\" name:\"f59ebe1b8b5084062000\" spec:\u003claunch_plan:\u003cresource_type:LAUNCH_PLAN project:\"flytesnacks\" domain:\"development\" name:\"ner_data_analysis_schedule_hourly2\" version:\"BxKlPRTnz1-RaW3r0XHoGQ==\" \u003e metadata:\u003cmode:SCHEDULED scheduled_at:\u003cseconds:1653382800 \u003e \u003e \u003e inputs:\u003cliterals:\u003ckey:\"\" value:\u003cscalar:\u003cprimitive:\u003cdatetime:\u003cseconds:1653382800 \u003e \u003e \u003e \u003e \u003e \u003e rpc error: code = InvalidArgument desc = missing key in inputs","ts":"2022-05-24T09:06:42Z"}
elegant-petabyte-32634
05/24/2022, 10:49 AMicy-agent-73298
05/24/2022, 3:51 PMelegant-petabyte-32634
05/24/2022, 3:53 PMicy-agent-73298
05/24/2022, 4:04 PMicy-agent-73298
05/27/2022, 7:35 AMicy-agent-73298
05/28/2022, 8:39 AMelegant-petabyte-32634
05/30/2022, 9:58 AM