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

Remove UpdateGraphService feature #18330

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

ganglyu
Copy link
Contributor

@ganglyu ganglyu commented Mar 12, 2024

Why I did it

Remove UpdateGraphService feature from sonic image. The goal is to simplify the bootup process.

Related PRs:

PR title state context
[Modify all the services in sonic-buildimage repo](#18330) GitHub issue/pull request detail GitHub pull request check contexts
[Modify sonic-host-services related services](sonic-net/sonic-host-services#105) GitHub issue/pull request detail GitHub pull request check contexts
[Update sonic-mgmt test](sonic-net/sonic-mgmt#11953) GitHub issue/pull request detail GitHub pull request check contexts
Work item tracking
  • Microsoft ADO (number only): 24868353

How I did it

Remove updategraph service and updategraph script.
Update all related services, replace updategraph.service with config-setup.service.

How to verify it

Build and install new image, load minigraph and check all the services.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@qiluo-msft
Copy link
Collaborator

qiluo-msft commented Mar 12, 2024

@simone-dell @MichelMoriniaux Could you also help review? #Closed

@@ -21,9 +21,6 @@ $(DOCKER_EVENTD)_INSTALL_DEBS = $(PYTHON3_SWSSCOMMON)
$(DOCKER_EVENTD)_VERSION = 1.0.0
$(DOCKER_EVENTD)_PACKAGE_NAME = eventd

$(DOCKER_DHCP)_SERVICE_REQUIRES = updategraph
Copy link
Collaborator

@qiluo-msft qiluo-msft Mar 12, 2024

Choose a reason for hiding this comment

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

updategraph

require config-setup? #Closed

Copy link
Contributor Author

@ganglyu ganglyu Mar 13, 2024

Choose a reason for hiding this comment

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

(DOCKER_DHCP)_SERVICE_REQUIRES in this makefile does not make any sense, and it should be (DOCKER_EVENTD)_xxx.
I guess this is a copy-and-paste error.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@zbud-msft Could you review here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed this should not be in docker-eventd.mk, thanks for fix

@@ -21,9 +21,6 @@ $(DOCKER_EVENTD)_INSTALL_DEBS = $(PYTHON3_SWSSCOMMON)
$(DOCKER_EVENTD)_VERSION = 1.0.0
$(DOCKER_EVENTD)_PACKAGE_NAME = eventd

$(DOCKER_DHCP)_SERVICE_REQUIRES = updategraph
$(DOCKER_DHCP)_SERVICE_AFTER = database
Copy link
Collaborator

@qiluo-msft qiluo-msft Mar 12, 2024

Choose a reason for hiding this comment

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

database

Why remove database? #Closed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same issue, we should not modify $(DOCKER_DHCP)_SERVICE_AFTER in this makefile

@qiluo-msft
Copy link
Collaborator

qiluo-msft commented Mar 12, 2024

In this PR description, could you add a table of all the code PRs related? I see 3 already. #Closed

@ganglyu
Copy link
Contributor Author

ganglyu commented Mar 13, 2024

In this PR description, could you add a table of all the code PRs related? I see 3 already.

Updated.

@ganglyu
Copy link
Contributor Author

ganglyu commented Mar 13, 2024

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@qiluo-msft qiluo-msft merged commit 9a6d613 into sonic-net:master Mar 14, 2024
19 checks passed
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.

4 participants