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

allows private addresses if not public network #19130

Merged
merged 1 commit into from Aug 11, 2021

Conversation

behzadnouri
Copy link
Contributor

@behzadnouri behzadnouri commented Aug 9, 2021

Problem

./net.sh needs --allow-private-addr if gce.sh create was invoked without -P.

Summary of Changes

When loading config file, if not a public network add --allow-private-addr.

@behzadnouri behzadnouri requested a review from mvines August 9, 2021 23:21
@behzadnouri
Copy link
Contributor Author

@mvines any objection to merging this?

@behzadnouri behzadnouri merged commit c4f2e5f into solana-labs:master Aug 11, 2021
@behzadnouri behzadnouri deleted the allow-private-addr branch August 11, 2021 00:33
behzadnouri added a commit to behzadnouri/solana that referenced this pull request Aug 11, 2021
Following solana-labs#19130
if gce.sh creat is invoked without -P then --allow-private-addr is
implied:
https://github.com/solana-labs/solana/blob/4cc1b1504/net/common.sh#L68-L73

Therefore tests only need to specify:
  USE_PUBLIC_IP_ADDRESSES: "false"
behzadnouri added a commit to behzadnouri/solana that referenced this pull request Aug 11, 2021
Following solana-labs#19130
if gce.sh creat is invoked without -P then --allow-private-addr is
implied:
https://github.com/solana-labs/solana/blob/4cc1b1504/net/common.sh#L68-L73

Therefore tests only need to specify:
  USE_PUBLIC_IP_ADDRESSES: "false"
behzadnouri added a commit to behzadnouri/solana that referenced this pull request Aug 11, 2021
Following solana-labs#19130
if gce.sh creat is invoked without -P then --allow-private-addr is
implied:
https://github.com/solana-labs/solana/blob/4cc1b1504/net/common.sh#L68-L73

Therefore tests only need to specify:
  USE_PUBLIC_IP_ADDRESSES: "false"
behzadnouri added a commit that referenced this pull request Aug 13, 2021
Following #19130
if gce.sh creat is invoked without -P then --allow-private-addr is
implied:
https://github.com/solana-labs/solana/blob/4cc1b1504/net/common.sh#L68-L73

Therefore tests only need to specify:
  USE_PUBLIC_IP_ADDRESSES: "false"
mergify bot pushed a commit that referenced this pull request Sep 26, 2021
Following #19130
if gce.sh creat is invoked without -P then --allow-private-addr is
implied:
https://github.com/solana-labs/solana/blob/4cc1b1504/net/common.sh#L68-L73

Therefore tests only need to specify:
  USE_PUBLIC_IP_ADDRESSES: "false"

(cherry picked from commit 18463aa)

# Conflicts:
#	system-test/partition-testcases/gce-5-node-3-partition.yml
#	system-test/partition-testcases/gce-partition-once-then-stabilize.yml
#	system-test/partition-testcases/gce-partition-with-offline.yml
mergify bot added a commit that referenced this pull request Sep 27, 2021
…20238)

* removes use of public ip addresses from system tests

Using global IPs causes outbound traffic which costs money:
#18728 (comment)

(cherry picked from commit bd8f793)

* removes redundant allow-private-addr from system tests

Following #19130
if gce.sh creat is invoked without -P then --allow-private-addr is
implied:
https://github.com/solana-labs/solana/blob/4cc1b1504/net/common.sh#L68-L73

Therefore tests only need to specify:
  USE_PUBLIC_IP_ADDRESSES: "false"

(cherry picked from commit 18463aa)

# Conflicts:
#	system-test/partition-testcases/gce-5-node-3-partition.yml
#	system-test/partition-testcases/gce-partition-once-then-stabilize.yml
#	system-test/partition-testcases/gce-partition-with-offline.yml

* removes backport merge conflicts

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
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.

None yet

2 participants