Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update OnRamp to use SD-Core Helm Charts v2.0.0 #68

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gab-arrobo
Copy link
Contributor

@gab-arrobo gab-arrobo commented Nov 20, 2024

This PR also includes the following:

  • Update gnbsim image tag to latest version (rel-1.6.0)
  • Update configuration file extension to yaml instead of conf
  • Depends on aether-5gc #28 and aether-gnbsim #13

@llpeterson
Copy link
Contributor

The QuickStart test completes with gnbsim reporting "PASS", but the "Retrieve Logs" stage fails:

14:43:45 + mkdir /home/ubuntu/w/workspace/Aether_OnRamp_QuickStart_Manual/logs
14:43:45 + cd /home/ubuntu/w/workspace/Aether_OnRamp_QuickStart_Manual/logs
14:43:45 ++ docker exec gnbsim-1 ls
14:43:45 ++ grep 'gnbsim1-.*.log'
14:43:45 + logfile=gnbsim1-20241120T214256.log
14:43:45 + echo gnbsim1-20241120T214256.log
14:43:45 gnbsim1-20241120T214256.log
14:43:45 + docker cp gnbsim-1:/gnbsim/bin/gnbsim1-20241120T214256.log gnbsim1-20241120T214256.log
14:43:45 Error response from daemon: Could not find the file /gnbsim/bin/gnbsim1-20241120T214256.log in container gnbsim-1

Maybe something changed in how log files are managed?

@gab-arrobo
Copy link
Contributor Author

The QuickStart test completes with gnbsim reporting "PASS", but the "Retrieve Logs" stage fails:

14:43:45 + mkdir /home/ubuntu/w/workspace/Aether_OnRamp_QuickStart_Manual/logs 14:43:45 + cd /home/ubuntu/w/workspace/Aether_OnRamp_QuickStart_Manual/logs 14:43:45 ++ docker exec gnbsim-1 ls 14:43:45 ++ grep 'gnbsim1-.*.log' 14:43:45 + logfile=gnbsim1-20241120T214256.log 14:43:45 + echo gnbsim1-20241120T214256.log 14:43:45 gnbsim1-20241120T214256.log 14:43:45 + docker cp gnbsim-1:/gnbsim/bin/gnbsim1-20241120T214256.log gnbsim1-20241120T214256.log 14:43:45 Error response from daemon: Could not find the file /gnbsim/bin/gnbsim1-20241120T214256.log in container gnbsim-1

Maybe something changed in how log files are managed?

Yes, it should fail because the path to the files is not correct/updated (/gnbsim/bin/xxxxxx.log). With the changes in the images and updates in SD-Core Helm Charts, the correct/new path is just /gnbsim/xxxxxx.log. Please see the changes here: https://github.com/opennetworkinglab/aether-gnbsim/pull/13/files

@gab-arrobo
Copy link
Contributor Author

The QuickStart test completes with gnbsim reporting "PASS", but the "Retrieve Logs" stage fails:

14:43:45 + mkdir /home/ubuntu/w/workspace/Aether_OnRamp_QuickStart_Manual/logs 14:43:45 + cd /home/ubuntu/w/workspace/Aether_OnRamp_QuickStart_Manual/logs 14:43:45 ++ docker exec gnbsim-1 ls 14:43:45 ++ grep 'gnbsim1-.*.log' 14:43:45 + logfile=gnbsim1-20241120T214256.log 14:43:45 + echo gnbsim1-20241120T214256.log 14:43:45 gnbsim1-20241120T214256.log 14:43:45 + docker cp gnbsim-1:/gnbsim/bin/gnbsim1-20241120T214256.log gnbsim1-20241120T214256.log 14:43:45 Error response from daemon: Could not find the file /gnbsim/bin/gnbsim1-20241120T214256.log in container gnbsim-1

Maybe something changed in how log files are managed?

BTW, this PR is still a Draft because the PRs in the 5gc and gnbsim need to be merged first:
opennetworkinglab/aether-5gc#28
opennetworkinglab/aether-gnbsim#13

@llpeterson
Copy link
Contributor

Well that's not terribly readable, here's the Jenkins link:

https://jenkins.aetherproject.org/job/Aether_OnRamp_QuickStart_Manual/63/execution/node/37/log/

It looks like I can't count on the *.log files being in /gnbsim/bin any more.

@gab-arrobo
Copy link
Contributor Author

Well that's not terribly readable, here's the Jenkins link:

https://jenkins.aetherproject.org/job/Aether_OnRamp_QuickStart_Manual/63/execution/node/37/log/

It looks like I can't count on the *.log files being in /gnbsim/bin any more.

Correct, now the logs are in the /gnbsim directory

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.

2 participants