Skip to content

[BUG] Scenario Parsing Error in Nodeagent(reciever.rs)#114

Merged
youngtaekiim merged 2 commits intoeclipse-pullpiri:refactoringfrom
seunghwan-bang:refactoring
Jul 10, 2025
Merged

[BUG] Scenario Parsing Error in Nodeagent(reciever.rs)#114
youngtaekiim merged 2 commits intoeclipse-pullpiri:refactoringfrom
seunghwan-bang:refactoring

Conversation

@seunghwan-bang
Copy link
Contributor

url: #110
desc : Scenario Parsing Error in Nodeagent(reciever.rs) Due to wrong workload_name(package) passed from apiserver(manager.rs) and etc.

desc : Scenario Parsing Error in Nodeagent(reciever.rs) Due to wrong workload_name(package) passed from apiserver(manager.rs) and etc.
@@ -27,6 +27,11 @@ spec:
resources:
volume:
network:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discard change of this file (helloworld.yaml)

format!("{}:{}", crate::setting::get_config().host.ip, port)
}

fn open_guest_server(port: u16) -> String {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is not enough preparation for multi guest nodes. Now, keep going and modify later.


assert!(result.is_err());
}
Ok(1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why return Ok(1)?


println!("Error: {}", response_inner.desc);
Ok(response_inner.status)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not remove test codes. it will have to be modified.

yaml: body.to_string(),
};
crate::grpc::sender::nodeagent::send(workload_request).await?;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move this block to first line of function apply_artifact.
And send_guest should not be called if there are no guest nodes.

let storage_dir = "/etc/piccolo/yaml";
tokio::time::sleep(std::time::Duration::from_millis(1000)).await;
let result = make_files_from_pod(vec![pod.clone()]).await;
let result = make_files_from_pod(vec![pod.clone()], "HPC".to_string()).await;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discard change in test code


Ok(())
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not remove test codes


Ok(models)
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not remove test codes

Copy link
Contributor

@youngtaekiim youngtaekiim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to fix according to comments

@youngtaekiim youngtaekiim merged commit 033117d into eclipse-pullpiri:refactoring Jul 10, 2025
5 of 6 checks passed
@youngtaekiim youngtaekiim self-assigned this Jul 18, 2025
@youngtaekiim youngtaekiim linked an issue Jul 24, 2025 that may be closed by this pull request
6 tasks
chaehee-lim pushed a commit to chaehee-lim/pullpiri that referenced this pull request Sep 3, 2025
[BUG] Scenario Parsing Error in Nodeagent(reciever.rs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Refactoring NodeAgent

2 participants