-
Notifications
You must be signed in to change notification settings - Fork 455
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
Acceptance test simplification and related changes #1381
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
93420a3
Test lab adjustments
fbc613a
[vnic] fix ipv6 addressing issue and simplify tests
3fd56c5
[nas_datastore] handle empty hosts list gracefully
1f047e1
Handle maintenance mode properly when adding them to a cluster
44939f3
Simplify tests
7c4b008
Update .gitignore
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ website/node_modules | |
*~ | ||
.*.swp | ||
.idea | ||
.vscode | ||
*.iml | ||
*.test | ||
*.iml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
export TF_VAR_VCSA_DEPLOY_PATH="/tmp/vcsa/vcsa-cli-installer/mac/vcsa-deploy" | ||
export TF_VAR_PRIV_KEY='<your ssh key>' | ||
export TF_VAR_VSPHERE_REST_SESSION_PATH=$HOME/.govmomi/rest_sessions | ||
export TF_VAR_VSPHERE_VIM_SESSION_PATH=$HOME/.govmomi/sessions | ||
export TF_VAR_VSPHERE_LICENSE=00000-00000-00000-00000-00000 | ||
export TF_VAR_PACKET_PROJECT=00000000-0000-0000-0000-000000000000 | ||
export TF_VAR_PACKET_AUTH=00000000000000000000000000000000 | ||
#export TF_VAR_ESXI_VERSION="vmware_esxi_7_0" | ||
export TF_VAR_ESXI_VERSION="vmware_esxi_6_7" | ||
|
||
export TF_VAR_VSPHERE_NAS_HOST=${nas_host} | ||
export TF_VAR_VSPHERE_ESXI1=${esxi_host_1} | ||
export TF_VAR_VSPHERE_ESXI2=${esxi_host_2} | ||
export VSPHERE_SERVER=${vsphere_host} | ||
|
||
export TF_VAR_VSPHERE_VMFS_REGEXP='naa.6000c29[2b]' | ||
export TF_VAR_VSPHERE_DS_VMFS_ESXI1_DISK0="naa.6000c29b4b217432a854822b1bc40502" | ||
export TF_VAR_VSPHERE_DS_VMFS_ESXI1_DISK1="naa.6000c29f3dbf773c6c25cb830dfc201b" | ||
|
||
export VSPHERE_USER="administrator@vcenter.vspheretest.internal" | ||
export VSPHERE_PASSWORD="Password123!" | ||
export VSPHERE_ALLOW_UNVERIFIED_SSL=true | ||
|
||
export TF_VAR_VSPHERE_SERVER=$VSPHERE_SERVER | ||
export TF_VAR_VSPHERE_USER=$VSPHERE_USER | ||
export TF_VAR_VSPHERE_PASSWORD=$VSPHERE_PASSWORD | ||
export TF_VAR_VSPHERE_ALLOW_UNVERIFIED_SSL=$VSPHERE_ALLOW_UNVERIFIED_SSL | ||
export TF_VAR_VSPHERE_ESXI_TRUNK_NIC=vmnic1 | ||
export TF_VAR_VSPHERE_DATACENTER=hashidc | ||
export TF_VAR_VSPHERE_CLUSTER=c1 | ||
export TF_VAR_VSPHERE_NFS_DS_NAME=nfs | ||
export TF_VAR_VSPHERE_NFS_DS_NAME1=nfs-vol1 | ||
export TF_VAR_VSPHERE_NFS_DS_NAME2=nfs-vol2 | ||
export TF_VAR_VSPHERE_DVS_NAME=terraform-test-dvs | ||
export TF_VAR_VSPHERE_PG_NAME='vmnet' | ||
export TF_VAR_VSPHERE_RESOURCE_POOL=hashi-resource-pool | ||
export TF_VAR_VSPHERE_NFS_PATH=/nfs | ||
export TF_VAR_VSPHERE_NFS_PATH1=/nfs/ds1 | ||
export TF_VAR_VSPHERE_NFS_PATH2=/nfs/ds2 | ||
export TF_VAR_VSPHERE_ISO_DATASTORE=nfs | ||
export TF_VAR_VSPHERE_ISO_FILE=fake.iso | ||
export TF_VAR_REMOTE_OVA_URL="https://storage.googleapis.com/acctest-images/tfvsphere_template.ova" | ||
export TF_VAR_VSPHERE_TEMPLATE=tfvsphere_template | ||
export TF_VAR_VSPHERE_INIT_TYPE=thin | ||
export TF_VAR_VSPHERE_ADAPTER_TYPE=lsiLogic | ||
export TF_VAR_VSPHERE_DC_FOLDER=dc-folder | ||
export TF_VAR_VSPHERE_DS_FOLDER=ds | ||
export TF_VAR_VSPHERE_USE_LINKED_CLONE=true | ||
export TF_VAR_VSPHERE_PERSIST_SESSION=true | ||
export TF_VAR_VSPHERE_CLONED_VM_DISK_SIZE=20 | ||
export TF_VAR_VSPHERE_TEST_OVA="https://storage.googleapis.com/acctest-images/yVM.ova" | ||
export TF_VAR_VSPHERE_TEST_OVF="https://storage.googleapis.com/acctest-images/yVM.ovf" | ||
export TF_VAR_VSPHERE_CONTENT_LIBRARY_FILES="https://storage.googleapis.com/acctest-images/yVM.ovf" | ||
export TF_VAR_REMOTE_OVF_URL=https://acctest-images.storage.googleapis.com/tfvsphere_template.ovf | ||
|
||
export TF_VAR_VSPHERE_HOST_NIC0=vmnic0 | ||
export TF_VAR_VSPHERE_HOST_NIC1=vmnic1 | ||
|
||
|
||
export TF_VAR_VSPHERE_VSWITCH_UPPER_VERSION="7.0.0" | ||
export TF_VAR_VSPHERE_VSWITCH_LOWER_VERSION="6.5.0" | ||
export TF_VAR_VSPHERE_DS_VMFS_NAME='ds-001' | ||
export TF_VAR_VSPHERE_VM_V1_PATH='pxe-server' | ||
export TF_VAR_VSPHERE_FOLDER_V0_PATH='Discovered virtual machine' | ||
export TF_VAR_VSPHERE_ENTITY_PERMISSION_USER_GROUP="root" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recall the sleep 290; echo five more as unnecessary when i set things up... but my memory is hazy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sometimes the server is not immediately available, which is why this long sleep was added.