Skip to content

Add contents of install/ansible to release script#4623

Closed
geoand wants to merge 2 commits intoistio:masterfrom
geoand:ansible-in-release-script
Closed

Add contents of install/ansible to release script#4623
geoand wants to merge 2 commits intoistio:masterfrom
geoand:ansible-in-release-script

Conversation

@geoand
Copy link
Copy Markdown
Contributor

@geoand geoand commented Mar 29, 2018

Since I am not particularly knowledgeable with Istio release scripts, this might be wrong.
However it did work for me locally and seems to be in line with the way the rest of assets are packaged

@geoand geoand force-pushed the ansible-in-release-script branch 2 times, most recently from bc7d203 to 7183698 Compare March 29, 2018 13:08
@sdake sdake self-requested a review March 29, 2018 15:53
sdake
sdake previously requested changes Mar 29, 2018
Copy link
Copy Markdown
Member

@sdake sdake left a comment

Choose a reason for hiding this comment

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

The playbook files should go here:
https://github.com/istio/istio/blob/master/release/create_release_archives.sh#L110-L126

I suspect if you test master, all should be well.

I htink your parent patch is old and may need a rebase. I can't find matching code that is in your patch around lines 124/125.

@geoand geoand force-pushed the ansible-in-release-script branch from 7183698 to e32bd82 Compare March 29, 2018 16:01
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 29, 2018

Codecov Report

Merging #4623 into master will decrease coverage by 2%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #4623     +/-   ##
========================================
- Coverage      73%     72%     -1%     
========================================
  Files         322     295     -27     
  Lines       28085   25247   -2838     
========================================
- Hits        20464   18006   -2458     
+ Misses       6815    6488    -327     
+ Partials      806     753     -53
Impacted Files Coverage Δ
pkg/probe/option.go 0% <0%> (-100%) ⬇️
pkg/probe/client.go 0% <0%> (-81%) ⬇️
pkg/probe/controller.go 44% <0%> (-44%) ⬇️
pilot/pkg/proxy/envoy/v2/cds.go 59% <0%> (-26%) ⬇️
security/pkg/platform/aws.go 40% <0%> (-25%) ⬇️
pkg/probe/probe.go 63% <0%> (-25%) ⬇️
pilot/pkg/proxy/envoy/v1/header.go 88% <0%> (-12%) ⬇️
security/pkg/pki/util/keycertbundle.go 85% <0%> (-12%) ⬇️
pilot/pkg/proxy/envoy/v2/discovery.go 65% <0%> (-11%) ⬇️
security/pkg/caclient/keycertbundlerotator.go 79% <0%> (-10%) ⬇️
... and 191 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b6fa713...81065d6. Read the comment docs.

@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented Mar 29, 2018

@sdake You were right, I had an old master :(. I rebased the PR on to the latest master. Can you please check?

@sdake
Copy link
Copy Markdown
Member

sdake commented Mar 29, 2018

I would recommend just integrating here: https://github.com/istio/istio/blob/master/release/create_release_archives.sh#L113

add *.cfg, *.yml, and *.j2. That should get things going.

@sebastienvas may want a different approach, but I think this makes the most sense.

@sdake sdake requested a review from sebastienvas March 29, 2018 16:14
@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented Mar 29, 2018

@sdake I was pondering that, but I was afraid it might add files we don't want.

Do you think it's safe? Isn't it better to explicitly state that we want everything in the ansible directory?

@sdake sdake dismissed their stale review March 29, 2018 16:16

stale eview

@sdake
Copy link
Copy Markdown
Member

sdake commented Mar 30, 2018

@geoand I am not well-versed in the release process, however, reading that find command, it finds all files in istio/install that should go in the release tarball. I believe is it safe to say .yml files, .cfg files, and .j2 files are always related to install and should be specified individually rather than calling out a specific directory.

Also as a further followup work, it may make sense to move the ansible dir into the install/kube directory (since the Ansible code is kubernetes specific and doesn't handle other aspects of installation on different platforms.

Cheers
-steve

@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented Mar 30, 2018

Thanks for the comments @sdake!

I updated the script to not use the install/ansible directory and instead use the specific file types.
Would you like me to also move the content of the ansible directory into install/kubernetes like you mentioned?

@sdake
Copy link
Copy Markdown
Member

sdake commented Apr 3, 2018

@geoand yes I was thinking about the fact that the Ansible directory is in the wrong parent and why that was the case this weekend as I was reworking your Ansible documentation. I hadn't picked up the incorrect parenting for your Istio specific deployment playbook.

@andraxylia had requested in the past an Ansible implementation that automates mesh expansion. After seeing mesh expansion executed, I agree that needs to be done.

I'll leave the question to her to answer as the choice impacts mesh expansion.

Cheers
-steve

@sdake
Copy link
Copy Markdown
Member

sdake commented Apr 5, 2018

/assign @andraxylia

@sdake
Copy link
Copy Markdown
Member

sdake commented Apr 5, 2018

@andraxylia please weigh in on comment #4623 (comment).

Cheers
-steve

@sdake
Copy link
Copy Markdown
Member

sdake commented Apr 5, 2018

@geoand please ping on this PR Monday if no action has been taken. I would like to see this merge prior to 0.8 (~5-10 days before branching) so the Ansible playbooks are not DOA.

@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented Apr 5, 2018 via email

@andraxylia
Copy link
Copy Markdown
Contributor

I will let @sebastienvas review, he has knowledge of the release script.

@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented Apr 10, 2018

@sdake Do we have any update on this?

Thank you very much

@sdake
Copy link
Copy Markdown
Member

sdake commented Apr 17, 2018

/assign @sebastienvas

@geoand I don't have an update - I don't have ACLs to merge files in this directory. (Check OWNERS file).

@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented Apr 17, 2018

Thanks for the update @sdake !

@sebastienvas
Copy link
Copy Markdown
Contributor

/lgtm

@sdake
Copy link
Copy Markdown
Member

sdake commented May 24, 2018

/test istio-pilot-e2e

@sdake
Copy link
Copy Markdown
Member

sdake commented May 24, 2018

/test e2e-bookInfo-envoyv2-v1alpha3

@andraxylia
Copy link
Copy Markdown
Contributor

@sdake @geoand I would really like to see ansible for mesh expansion, and I bet I am not the only one.

@andraxylia
Copy link
Copy Markdown
Contributor

I agree the current /install directory where ansible for k8s is not under kubernetes does not make sense, and I forgot the reason why it was added there.
We still have to decide where ansible for mesh expansion will leave, right now mesh expansion is also under kubernetes. We will need to separate it and possible re-organize the directory layout, but it does not have to be part of this PR.

@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented May 25, 2018

I am not familiar with mesh expansion, but I'll have a look soon and see if I can use Ansible for it

@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented Jun 5, 2018

@andraxylia @sdake Do this PR needs to be updated or can we merge it so the contents of the ansible playbook will be available in the next release?

@sdake
Copy link
Copy Markdown
Member

sdake commented Jun 5, 2018

/retest

@sdake
Copy link
Copy Markdown
Member

sdake commented Jun 5, 2018

I asked the question here: https://groups.google.com/forum/#!topic/istio-dev/grGYrymC-xc

@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented Jun 5, 2018

Thanks @sdake

@andraxylia
Copy link
Copy Markdown
Contributor

pending required test ci/circleci: e2e-pilot-auth-v1alpha3-v2

@stale
Copy link
Copy Markdown

stale bot commented Jun 22, 2018

This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale label Jun 22, 2018
@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented Jun 22, 2018

/retest

@stale stale bot removed the stale label Jun 22, 2018
@istio-testing
Copy link
Copy Markdown
Collaborator

istio-testing commented Jun 22, 2018

@geoand: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
prow/istio-pilot-e2e.sh 81065d6 link /test istio-pilot-e2e
Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stale
Copy link
Copy Markdown

stale bot commented Jul 6, 2018

This pull request has been automatically marked as stale because it has not had activity in the last 2 weeks. It will be closed in 2 weeks if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale label Jul 6, 2018
@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented Jul 6, 2018

/retest

@stale stale bot removed the stale label Jul 6, 2018
@tvieira
Copy link
Copy Markdown
Member

tvieira commented Jul 17, 2018

I have tested this PR and it includes the additional 25 files from the install/ansible directory. It would be great to have the Ansible installer in the 1.0 release.

@geoand
Copy link
Copy Markdown
Contributor Author

geoand commented Jul 17, 2018

Closing in favor of #7194

@geoand geoand closed this Jul 17, 2018
@geoand geoand deleted the ansible-in-release-script branch July 18, 2018 08:11
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.

8 participants