Rid commented on issue #10281:
URL: https://github.com/apache/cloudstack/issues/10281#issuecomment-2615716760

   ### /etc/cloudstack/monitorservice.json 
   ```json 
   {
     "config": 
"[ssh]:processname=sshd:servicename=ssh:pidfile=/var/run/sshd.pid:,",
     "excluded_health_checks": "gateways_check.py",
     "health_checks_advanced_run_interval": 10,
     "health_checks_basic_run_interval": 3,
     "health_checks_config": {
       "gateways": "gatewaysIps=169.254.0.1 x.x.x.222 ",
       "haproxyData": "",
       "portForwarding": "",
       "routerVersion": "templateVersion=Cloudstack Release 4.20.0.0 Fri Sep 27 
01:02:15 PM UTC 2024,scriptsVersion=14829be797d19c6d38e8c77efff9aeea\n",
       "systemThresholds": 
"minDiskNeeded=100.0,maxCpuUsage=100.0,maxMemoryUsage=100.0;",
       "virtualMachines": ""
     },
     "health_checks_enabled": true,
     "id": "monitorservice"
   }
   ``` 
   
   ### /etc/cloudstack/ips.json
   
   ```
   {
     "eth0": [
       {
         "add": true,
         "broadcast": "169.254.x.255",
         "cidr": "169.254.x.x/16",
         "device": "eth0",
         "gateway": "",
         "netmask": "255.255.0.0",
         "network": "169.254.0.0/16",
         "nic_dev_id": "0",
         "nw_type": "control",
         "one_to_one_nat": false,
         "public_ip": "169.254.x.x",
         "size": "16",
         "source_nat": false
       }
     ],
     "eth1": [
       {
         "add": true,
         "broadcast": "x.x.x.223",
         "cidr": "x.x.x.196/27",
         "device": "eth1",
         "first_i_p": true,
         "gateway": "x.x.x.222",
         "is_private_gateway": false,
         "mtu": "1500",
         "netmask": "255.255.255.224",
         "network": "x.x.x.192/27",
         "new_nic": false,
         "nic_dev_id": 1,
         "nw_type": "public",
         "one_to_one_nat": false,
         "public_ip": "x.x.x.196",
         "size": "27",
         "source_nat": true,
         "vif_mac_address": "1e:00:f7:00:ff:00"
       }
     ],
     "id": "ips"
   }
   ```
   
   ### ip a show
   ```
   1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
       link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
       inet 127.0.0.1/8 scope host lo
          valid_lft forever preferred_lft forever
   
   2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP 
group default qlen 1000
       link/ether 0e:00:a9:fe:9c:bd brd ff:ff:ff:ff:ff:ff
       altname enp0s3
       altname ens3
       inet 169.254.x.x/16 brd 169.254.x.255 scope global eth0
          valid_lft forever preferred_lft forever
   
   3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default 
qlen 1000
       link/ether 1e:00:f7:00:ff:00 brd ff:ff:ff:ff:ff:ff
       altname enp0s8
       altname ens8
       inet x.x.x.196/27 brd x.x.x.223 scope global eth1
          valid_lft forever preferred_lft forever
   ```
   
   ### /etc/cloudstack/cmdline.json
   ```json
   {
     "type": "cmdline",
     "cmd_line": {
       "vpccidr": "10.x.x.x/16",
       "domain": "mycloud.internal",
       "publicMtu": "1500",
       "dns1": "1.1.1.1",
       "dns2": "8.8.8.8",
       "template": "domP",
       "name": "r-29-VM",
       "authorized_key": "ZWNkc2Etc2hhMi1uaXN0cDI1NiBBQUFBRTJWalpITmhMWE...",
       "eth0ip": "169.254.x.x",
       "eth0mask": "255.255.0.0",
       "redundant_router": "1",
       "advert_int": "1",
       "router_id": "7",
       "router_password": "12149581094199833879[...]65351083090438",
       "redundant_state": "PRIMARY",
       "type": "vpcrouter",
       "disable_rp_filter": "true",
       "baremetalnotificationsecuritykey": 
"Hm9nj6Y3zYPPwj2saTdeRZNInwXpSPDbY7rjbj4Xkes-tSENX6O33uZ...",
       "baremetalnotificationapikey": 
"WAJz4lQ6Dx3ARNQnjVVafhjzS1CqYdFhOI0EZjVb5LGt1WOWufmi...",
       "host": "x.x.x.193",
       "port": "8080",
       "logrotatefrequency": "*:00:00",
       "source_nat_ip": "x.x.x.196"
     }
   }
   ```
   
   ### /var/log/cloud.log
   ```
   Mon Jan 27 12:01:01 PM UTC 2025 Starting guest services for kvm
   Mon Jan 27 12:01:06 PM UTC 2025 acpiphp and pci_hotplug module already 
compiled in
   Mon Jan 27 12:01:07 PM UTC 2025 Received a new non-empty cmdline file from 
qemu-guest-agent
   Mon Jan 27 12:01:07 PM UTC 2025 Booting from cloudstack, remove old 
configuration files in /etc/cloudstack/
   Mon Jan 27 12:01:18 PM UTC 2025 Applying iptables rules
   Mon Jan 27 12:01:18 PM UTC 2025 Setting up interface: eth0
   Mon Jan 27 12:01:18 PM UTC 2025 Set up route for management network:  via 
local gateway:  for device eth0 for hypervisor: kvm
   Mon Jan 27 12:01:19 PM UTC 2025 Executing cloud-early-config
   [...SNIP...]
   Mon Jan 27 12:01:35 PM UTC 2025 Patched scripts using 
/var/cache/cloud/cloud-scripts.tgz
   Mon Jan 27 12:01:36 PM UTC 2025 Bootstrapping systemvm appliance
   Mon Jan 27 12:01:38 PM UTC 2025 Configuring systemvm type=vpcrouter
   [...SNIP...]
   Mon Jan 27 12:01:46 PM UTC 2025 Finished setting up systemvm
   2025-01-27 12:01:47,103 INFO     update_config.py :: Processing incoming 
file => cmd_line.json
   2025-01-27 12:01:47,103 INFO     Processing JSON file cmd_line.json
   [...SNIP...]
   2025-01-27 12:01:48,487 INFO     Flush all IPv6 ACL rules
   2025-01-27 12:01:48,487 INFO     Executing: nft list tables ip6 | grep 
ip6_acl
   2025-01-27 12:01:48,503 ERROR    Command 'nft list tables ip6 | grep 
ip6_acl' returned non-zero exit status 1.
   [...SNIP...]
   2025-01-27 12:01:48,768 INFO     Router switched to backup mode
   2025-01-27 12:01:48,768 INFO     Executing: systemctl stop conntrackd
   [...SNIP...]
   2025-01-27 12:01:55,495 INFO     update_config.py :: Processing incoming 
file => ip_associations.json.d95e85ef-a0bb-4d55-9cbd-dc40ff5f089f
   2025-01-27 12:01:55,495 INFO     Processing JSON file 
ip_associations.json.d95e85ef-a0bb-4d55-9cbd-dc40ff5f089f
   [...SNIP...]
   2025-01-27 12:01:55,510 INFO     Address x.x.x.196/27 on device eth1 not 
configured
   2025-01-27 12:01:55,510 INFO     Configuring address x.x.x.196/27 on device 
eth1
   [...SNIP...]
   2025-01-27 12:01:55,553 ERROR    Command 'ip route add default via x.x.x.222 
table Table_eth1 proto static' returned non-zero exit status 2.
   [...SNIP...]
   2025-01-27 12:01:55,645 INFO     Router switched to backup mode
   2025-01-27 12:01:55,657 INFO     Executing: systemctl stop keepalived
   [...SNIP...]
   2025-01-27 12:01:56,448 INFO     Route state => BACKUP
   2025-01-27 12:01:56,452 INFO     ip route add default via x.x.x.222 table 
Table_eth1 proto static
   2025-01-27 12:01:56,456 ERROR    Command 'ip route add default via x.x.x.222 
table Table_eth1 proto static' returned non-zero exit status 2.
   [...SNIP...]
   2025-01-27 12:01:56,546 INFO     Router switched to backup mode
   2025-01-27 12:01:56,557 INFO     Service conntrackd stop
   2025-01-27 12:01:56,557 INFO     Executing: systemctl stop keepalived
   2025-01-27 12:01:56,566 INFO     Service keepalived stop
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to