Page MenuHomeSoftware Heritage

D4419.id.diff
No OneTemporary

D4419.id.diff

diff --git a/proxmox/terraform/staging/staging.tf b/proxmox/terraform/staging/staging.tf
--- a/proxmox/terraform/staging/staging.tf
+++ b/proxmox/terraform/staging/staging.tf
@@ -271,3 +271,29 @@
output "journal0_summary" {
value = module.journal0.summary
}
+
+module "rp0" {
+ source = "../modules/node"
+ config = local.config
+ hypervisor = "branly"
+
+ vmid = 129
+ hostname = "rp0"
+ description = "Node to host the reverse proxy"
+ cores = "2"
+ memory = "2048"
+ balloon = 1024
+ networks = [{
+ id = 0
+ ip = "192.168.130.20"
+ gateway = local.config["gateway_ip"]
+ macaddr = "4A:80:47:5D:DF:73"
+ bridge = "vmbr443"
+ }]
+ # facter_subnet = "sesi_rocquencourt_staging"
+ # factor_deployment = "staging"
+}
+
+output "rp0_summary" {
+ value = module.rp0.summary
+}
diff --git a/proxmox/terraform/staging/terraform.tfstate b/proxmox/terraform/staging/terraform.tfstate
--- a/proxmox/terraform/staging/terraform.tfstate
+++ b/proxmox/terraform/staging/terraform.tfstate
@@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "0.13.5",
- "serial": 119,
+ "serial": 121,
"lineage": "e2912de8-415d-4c35-8ee5-757008306227",
"outputs": {
"db0_summary": {
@@ -16,6 +16,10 @@
"value": "\nhostname: journal0\nfqdn: journal0.internal.staging.swh.network\nnetwork: ip=192.168.130.70/24,gw=192.168.130.1 macaddrs=1E:98:C2:66:BF:33\n",
"type": "string"
},
+ "rp0_summary": {
+ "value": "\nhostname: rp0\nfqdn: rp0.internal.staging.swh.network\nnetwork: ip=192.168.130.20/24,gw=192.168.130.1 macaddrs=4A:80:47:5D:DF:73\n",
+ "type": "string"
+ },
"scheduler0_summary": {
"value": "\nhostname: scheduler0\nfqdn: scheduler0.internal.staging.swh.network\nnetwork: ip=192.168.130.50/24,gw=192.168.130.1 macaddrs=92:02:7E:D0:B9:36\n",
"type": "string"
@@ -354,6 +358,110 @@
}
]
},
+ {
+ "module": "module.rp0",
+ "mode": "managed",
+ "type": "proxmox_vm_qemu",
+ "name": "node",
+ "provider": "module.rp0.provider[\"local/telmate/proxmox\"]",
+ "instances": [
+ {
+ "schema_version": 0,
+ "attributes": {
+ "agent": 0,
+ "balloon": 1024,
+ "bios": "seabios",
+ "boot": "c",
+ "bootdisk": null,
+ "bridge": null,
+ "ci_wait": null,
+ "cicustom": null,
+ "cipassword": null,
+ "ciuser": "root",
+ "clone": "debian-buster-2020-11-06",
+ "clone_wait": 15,
+ "cores": 2,
+ "cpu": "host",
+ "desc": "Node to host the reverse proxy",
+ "disk": [
+ {
+ "backup": false,
+ "cache": "none",
+ "discard": "",
+ "format": "raw",
+ "id": 0,
+ "iothread": false,
+ "mbps": 0,
+ "mbps_rd": 0,
+ "mbps_rd_max": 0,
+ "mbps_wr": 0,
+ "mbps_wr_max": 0,
+ "replicate": false,
+ "size": "32G",
+ "ssd": null,
+ "storage": "proxmox",
+ "storage_type": "cephfs",
+ "type": "virtio"
+ }
+ ],
+ "disk_gb": null,
+ "force_create": false,
+ "full_clone": false,
+ "hastate": null,
+ "hotplug": "network,disk,usb",
+ "id": "branly/qemu/129",
+ "ipconfig0": "ip=192.168.130.20/24,gw=192.168.130.1",
+ "ipconfig1": "",
+ "ipconfig2": null,
+ "iso": null,
+ "kvm": true,
+ "mac": null,
+ "memory": 2048,
+ "name": "rp0",
+ "nameserver": "192.168.100.29",
+ "network": [
+ {
+ "bridge": "vmbr443",
+ "firewall": false,
+ "id": 0,
+ "link_down": false,
+ "macaddr": "4A:80:47:5D:DF:73",
+ "model": "virtio",
+ "queues": -1,
+ "rate": -1,
+ "tag": -1
+ }
+ ],
+ "nic": null,
+ "numa": false,
+ "onboot": true,
+ "os_network_config": null,
+ "os_type": "cloud-init",
+ "pool": null,
+ "preprovision": true,
+ "qemu_os": null,
+ "scsihw": null,
+ "searchdomain": "internal.staging.swh.network",
+ "serial": [],
+ "sockets": 1,
+ "ssh_forward_ip": null,
+ "ssh_host": "192.168.130.20",
+ "ssh_port": "22",
+ "ssh_private_key": null,
+ "ssh_user": "root",
+ "sshkeys": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDVKCfpeIMg7GS3Pk03ZAcBWAeDZ+AvWk2k/pPY0z8MJ3YAbqZkRtSK7yaDgJV6Gro7nn/TxdJLo2jEzzWvlC8d8AEzhZPy5Z/qfVVjqBTBM4H5+e+TItAHFfaY5+0WvIahxcfsfaq70MWfpJhszAah3ThJ4mqzYaw+dkr42+a7Gx3Ygpb/m2dpnFnxvXdcuAJYStmHKU5AWGWWM+Fm50/fdMqUfNd8MbKhkJt5ihXQmZWMOt7ls4N8i5NZWnS9YSWow8X/ENOEqCRN9TyRkc+pPS0w9DNi0BCsWvSRJOkyvQ6caEnKWlNoywCmM1AlIQD3k4RUgRWe0vqg/UKPpH3Z root@terraform",
+ "storage": null,
+ "storage_type": null,
+ "target_node": "branly",
+ "vcpus": 0,
+ "vga": [],
+ "vlan": -1,
+ "vmid": 129
+ },
+ "private": "bnVsbA=="
+ }
+ ]
+ },
{
"module": "module.scheduler0",
"mode": "managed",

File Metadata

Mime Type
text/plain
Expires
Nov 5 2024, 7:17 AM (8 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3223991

Event Timeline