Skip to content

Conversation

costinm
Copy link
Contributor

@costinm costinm commented Jan 25, 2018

First part matches the new distribution (single debian file).

The second is useful for cases where istio apps using older versions of pods (which were attempting to use port 8080). Also we will need to adjust 15003 to use mTLS, to allow gradual adoption of auth (i.e. a mix of auth and no-auth ), in which case we need to keep using 8080.

@costinm
Copy link
Contributor Author

costinm commented Jan 25, 2018

Note that the .deb in the latest daily I tried is out of sync with the makefile ( or something is really wrong in the build ) - I get only a subset of the files.
A build on my machine has files like

/usr/local/bin/istio-start.sh
/usr/local/bin/istio-iptables.sh

while the daily build

/usr/local/bin/istio-start.sh
/usr/local/bin/istio-iptables
/usr/local/bin/istio-iptables/sh

curl -f -L ${AUTH_DEBIAN_URL}/istio-auth-node-agent.deb > ${ISTIO_STAGING}/istio-auth-node-agent.deb
curl -f -L ${PROXY_DEBIAN_URL}/istio-proxy.deb > ${ISTIO_STAGING}/istio-proxy.deb
rm -f istio-sidecar.deb
echo curl -f -L ${PILOT_DEBIAN_URL}/istio-sidecar.deb > ${ISTIO_STAGING}/istio-sidecar.deb
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need the echo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, I needed it - since it was not clear what the curl was doing. I don't think it hurts, but it may help. The actual file it attempts to download doesn't actually work, I had to manually patch the version file.

@ldemailly
Copy link
Member

seems it can only get better from there (once the referenced url contains good stuff)
so this is good, thanks

/lgtm

@istio-merge-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ldemailly

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@hklai
Copy link
Contributor

hklai commented Jan 25, 2018

@costinm could you clarify the .deb build problem? Do you see that in the daily pre-release or some other daily build?

@mattdelco verified that the image built by the official release seemed to be fine (that ./usr/local/bin/istio-iptables.sh existed.)

@costinm
Copy link
Contributor Author

costinm commented Jan 25, 2018

I picked the last daily build - I'll double check I got the right URL, had to patch it.
Eventually I used a debian I built to continue the testing.

Where is the current pre-release ? Will try again in the morning.

@costinm
Copy link
Contributor Author

costinm commented Jan 25, 2018

/retest

@hklai
Copy link
Contributor

hklai commented Jan 25, 2018

@mattdelco
Copy link
Contributor

To be more explicit, I opened the deb using emacs and data.tar.gz showed (in part) the following (in particular the line for istio-iptables.sh):

 -rwxr-xr-x       0/0       34197578 ./usr/local/bin/node_agent
 -rwxr-xr-x       0/0       41340315 ./usr/local/bin/istioctl
 -rwxr-xr-x       0/0          3030 ./usr/local/bin/istio-start.sh
 -rwxr-xr-x       0/0       190920624 ./usr/local/bin/envoy
 -rwxr-xr-x       0/0       44399283 ./usr/local/bin/pilot-discovery
 -rwxr-xr-x       0/0          6639 ./usr/local/bin/istio-iptables.sh
 -rwxr-xr-x       0/0       50666783 ./usr/local/bin/mixs
 -rwxr-xr-x       0/0       18464855 ./usr/local/bin/pilot-agent
 -rwxr-xr-x       0/0       39491845 ./usr/local/bin/istio_ca

@istio-merge-robot
Copy link

/test all [submit-queue is verifying that this PR is safe to merge]

@istio-merge-robot
Copy link

Automatic merge from submit-queue.

@istio-merge-robot istio-merge-robot merged commit c456d6c into master Jan 25, 2018
curl -f -L ${AUTH_DEBIAN_URL}/istio-auth-node-agent.deb > ${ISTIO_STAGING}/istio-auth-node-agent.deb
curl -f -L ${PROXY_DEBIAN_URL}/istio-proxy.deb > ${ISTIO_STAGING}/istio-proxy.deb
rm -f istio-sidecar.deb
echo curl -f -L ${PILOT_DEBIAN_URL}/istio-sidecar.deb > ${ISTIO_STAGING}/istio-sidecar.deb
Copy link
Member

Choose a reason for hiding this comment

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

the "" are missing... the echo goes to istio-sidecar.deb !

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.

7 participants