Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Add etcd system container test to I-S-T#196

Merged
miabbott merged 1 commit intoprojectatomic:masterfrom
mike-nguyen:add_sys_container
Jul 11, 2017
Merged

Add etcd system container test to I-S-T#196
miabbott merged 1 commit intoprojectatomic:masterfrom
mike-nguyen:add_sys_container

Conversation

@mike-nguyen
Copy link
Copy Markdown
Collaborator

etcd_sys_container_install role:
This check-in is a simple system container test for the improved sanity test (IST)
Because the IST is comprised of only roles (and cannot be mixed with tasks), the
etcd_sys_container_install role was made specifically to validate the install
and configuration of etcd for IST.

improved sanity test:
In the IST, the etcd system container is installed and configured pre-upgrade
and checked post upgrade for its existence. Then it is removed and re-installed
to test the system container installation on HEAD. On a cloud_image test, the
installation, configuration, and uninstallation is only checked once in the post
upgrade section. This was done to ensure we have some coverage on the upgrade
scenario and when running the test on a cloud_image with no upgrade.

command / shell role:
I added these two simple roles because sometimes you just want to run a command
and check the output when you are in a role block. The command role was used
to quickly validate the etcd service is running.

etcd_sys_container_install role:
This check-in is a simple system container test for the improved sanity test (IST)
Because the IST is comprised of only roles (and cannot be mixed with tasks), the
etcd_sys_container_install role was made specifically to validate the install
and configuration of etcd for IST.

improved sanity test:
In the IST, the etcd system container is installed and configured pre-upgrade
and checked post upgrade for its existence.  Then it is removed and re-installed
to test the system container installation on HEAD.  On a cloud_image test, the
installation, configuration, and uninstallation is only checked once in the post
upgrade section. This was done to ensure we have some coverage on the upgrade
scenario and when running the test on a cloud_image with no upgrade.

command / shell role:
I added these two simple roles because sometimes you just want to run a command
and check the output when you are in a role block.  The command role was used
to quickly validate the etcd service is running.
@mike-nguyen
Copy link
Copy Markdown
Collaborator Author

@mike-nguyen
Copy link
Copy Markdown
Collaborator Author

bot, retest this please

@miabbott
Copy link
Copy Markdown
Collaborator

The changes look sane to me. The smoketested branch is having some issues right now (CentOS/sig-atomic-buildscripts#282), so that failure is expected.

If the centos/7/atomic issue can get root-caused, this can get merged.

@mike-nguyen
Copy link
Copy Markdown
Collaborator Author

bot, retest this please

@mike-nguyen
Copy link
Copy Markdown
Collaborator Author

@miabbott I re-ran this manually on centos/7/atomic and it passed. While running manually he centos/7/atomic image was complaining about gpg-signatures. If I re-added the remote --no-gpg-verify and deployed HEAD^, i was able to run the test.

@mike-nguyen mike-nguyen removed the wip label Jul 11, 2017
@miabbott
Copy link
Copy Markdown
Collaborator

Yeah, something is up with the CentOS AH ostree. Thanks for the manual test.

@miabbott miabbott merged commit 0d800d7 into projectatomic:master Jul 11, 2017
@mike-nguyen mike-nguyen deleted the add_sys_container branch July 18, 2017 12:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants