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

Private subnets should only be created when rack is Private #3628

Closed
wants to merge 1 commit into from

Conversation

Twsouza
Copy link
Contributor

@Twsouza Twsouza commented Jan 10, 2023

What is the feature/fix?

When the VPC endpoints and the private subnets were removed here #3607, the Timer was still using the SubnetPrivateX in the VPC config, which was blocking any attempt on updating any rack with Timers.

image

Since the Timers don't use the private subnet anymore, is safe to remove them if the rack is not private.

Does it has a breaking change?

For old racks before 20221202145130 with Timers deployed, they will receive an error while updating the rack (due to the removal of the private subnet). The user must update to 20221202145130, deploy the Timer again, and then update the rack.

How to use/test it?

Update any rack to the RC, after the update is complete, check on VPC if the private subnet was deleted. For private racks, the private subnet should still exist.

Checklist

  • New coverage tests
  • Unit tests passing
  • E2E tests passing
  • E2E downgrade/update test passing
  • Documentation updated
  • No warnings or errors on Deepsource/Codecov

@codecov
Copy link

codecov bot commented Jan 10, 2023

Codecov Report

Base: 36.04% // Head: 36.01% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (8089e52) compared to base (b5050df).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3628      +/-   ##
==========================================
- Coverage   36.04%   36.01%   -0.04%     
==========================================
  Files         168      168              
  Lines       18536    18536              
==========================================
- Hits         6682     6675       -7     
- Misses      10717    10725       +8     
+ Partials     1137     1136       -1     
Impacted Files Coverage Δ
pkg/logstorage/logstorage.go 80.21% <0.00%> (-7.70%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Twsouza Twsouza added this to the 20230119 milestone Jan 19, 2023
Twsouza added a commit that referenced this pull request Jan 19, 2023
### What is the feature/fix?

When the VPC endpoints and the private subnets were removed here #3607, the Timer was still using the SubnetPrivateX in the VPC config, which was blocking any attempt on updating any rack with Timers.

![image](https://user-images.githubusercontent.com/8239709/211540945-4ed809cb-3c68-44d6-a1cc-51e2b39a60de.png)

Since the Timers don't use the private subnet anymore, is safe to remove them if the rack is not private.

### Does it has a breaking change?

For old racks before `20221202145130` with Timers deployed, they will receive an error while updating the rack (due to the removal of the private subnet). The user must update to `20221202145130`, deploy the Timer again, and then update the rack.

### How to use/test it?

Update any rack to the RC, after the update is complete, check on VPC if the private subnet was deleted. For private racks, the private subnet should still exist.

### Checklist
- [ ] New coverage tests
- [x] Unit tests passing
- [x] E2E tests passing
- [ ] E2E downgrade/update test passing
- [ ] Documentation updated
- [x] No warnings or errors on Deepsource/Codecov
@Twsouza Twsouza mentioned this pull request Jan 19, 2023
10 tasks
Twsouza added a commit that referenced this pull request Jan 26, 2023
### What is the feature/fix?

When the VPC endpoints and the private subnets were removed here #3607, the Timer was still using the SubnetPrivateX in the VPC config, which was blocking any attempt on updating any rack with Timers.

![image](https://user-images.githubusercontent.com/8239709/211540945-4ed809cb-3c68-44d6-a1cc-51e2b39a60de.png)

Since the Timers don't use the private subnet anymore, is safe to remove them if the rack is not private.

### Does it has a breaking change?

For old racks before `20221202145130` with Timers deployed, they will receive an error while updating the rack (due to the removal of the private subnet). The user must update to `20221202145130`, deploy the Timer again, and then update the rack.

### How to use/test it?

Update any rack to the RC, after the update is complete, check on VPC if the private subnet was deleted. For private racks, the private subnet should still exist.

### Checklist
- [ ] New coverage tests
- [x] Unit tests passing
- [x] E2E tests passing
- [ ] E2E downgrade/update test passing
- [ ] Documentation updated
- [x] No warnings or errors on Deepsource/Codecov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants