Comments (8)
Indeed. Using nvme is quite a bit more complicated:
- You have to detect if the system is using nvme using
lsblk
. - You then run
nvme list
to get the list of nvme volumes (note: this requires thenvme
utility to be installed). - You then have to find the device you want using
nvme id-ctrl
. - And then when mounting the volume, you have to mount it using its UUID, as that's the only thing consistent across reboots.
I don't think we're going to be able to get a fix in soon. Does anyone have some cycles to submit a PR for this in the meantime?
from terraform-aws-couchbase.
Keep in mind that your step 3 assumes you can reuse the terraform device name. This however throws an error when ASG tries to create the ebs volume. So your solution would have to create a second volume name and pass it forward thru the functions.
from terraform-aws-couchbase.
Keep in mind that your step 3 assumes you can reuse the terraform device name. This however throws an error when ASG tries to create the ebs volume.
What error?
from terraform-aws-couchbase.
The asg is unable to start the instances because the EBS volume fails creation. I donโt recall the words. Give it a try.
from terraform-aws-couchbase.
We use the approach described in #73 (comment) (which we have in a private script) with a number of ASGs, and it works OK, so I'm not sure how to repro...
from terraform-aws-couchbase.
What device name are you using? I tired nvme1
and nvme1n1
and the instances failed to start due to a failed ebs volume.
Well, hopefully the issue and this closed pr will help someone overcome the hurdles in making these scripts production ready.
from terraform-aws-couchbase.
As I wrote above, we use the UUID, which we look up using blkid
.
from terraform-aws-couchbase.
This repo is being archived, feel free to use a fork if necessary.
from terraform-aws-couchbase.
Related Issues (20)
- missing ami -- typo? coubase_ubuntu_example HOT 3
- Community Couchbase 6.0.0 and sync-gateway 2.5.0 are available. Are there any plans to update the installation scripts to use these new versions?
- Community Couchbase 6.0.0 and sync-gateway 2.5.0 are available. Are there any plans to update the installation scripts to use these new versions? HOT 1
- When a new node is added or deleted to/from the cluster, sync gateway configuration is not updated on the running nodes HOT 3
- Do not allow auto scaling group to terminate unhealthy instances HOT 2
- Not able to update load_balancer.https_listener_ports_and_certs HOT 3
- clean_ami_name function is no longer supported by packer HOT 1
- Volumes resizing and re-attachment HOT 2
- Unsupported argument HOT 2
- Unsupported argument at load-balancer-target-group HOT 2
- Unsupported argument in resource "aws_alb_listener_rule" "http_path" HOT 2
- Roll out upgrade HOT 2
- How to upgrade a Couchbase cluster HOT 1
- Security issue: User Data of instance contains secrets HOT 2
- error in run-sync-gateway/wait_for_couchbase_clusters when config file has backtics HOT 5
- Unable to build ubuntu-18-docker in ami config HOT 2
- calculate_memory_settings_automatically always gives all memory to data service HOT 8
- 404 on readme link - How to upgrade a Couchbase cluster HOT 1
- Rebalance failed. Auto scale trigger everytime HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-couchbase.