You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "gjosh91 (via GitHub)" <gi...@apache.org> on 2024/07/02 04:24:01 UTC

Re: [D] Not able to Add Host . KVM in Ubuntu. Dev code running in Mac. [cloudstack]

GitHub user gjosh91 edited a discussion: Not able to Add Host . KVM in Ubuntu. Dev code running in Mac.

Hi Community,

Need help stuck at adding Hosts through frontend .
I am in a bind and confused at this point . Please guide . This is my setup : 
I have setup my cloud Development environment in Mac M2. I have started the backend services (using IntelliJ) , deployed the Db and started the front end (Using VSCode) .
I would like to bring to your knowledge that I have not separately setup my cloudstack management server as it was my understanding that running the backend service will itself act as a management server. 
I have setup my cloudstack agent in the Ubuntu 22 machine . I have assigned the directories for NFS as mentioned in the official docs . I have also setup the KVM and checked if it is running. I have changed the configuration file for network managed by Netplan in my case . This is the network configuration file for your reference : 
/etc/netplan/01-network-manager-all.yaml 

network:
  version: 2
  renderer: NetworkManager
  ethernets:
    enp1s0:
      dhcp4: no
  vlans:
    enp1s0.200:
      id: 200
      link: enp1s0
  wifis:
    wlp2s0:
      dhcp4: false
      dhcp6: false
      access-points:
        "WIFISSID":  # Replace with your WiFi SSID
          password: "WIFIPASSWORD"  # Replace with your WiFi password

  bridges:
    cloudbr0:
      interfaces:
        - wlp2s0
      addresses:
        - 192.168.1.95/24
      routes:
        - to: default
          via: 192.168.1.1
      nameservers:
        addresses:
          - 8.8.8.8
          - 8.8.4.4
        search:
          - lab.example.org
      parameters:
        forward-delay: 0
        stp: false
        max-age: 1
    cloudbr1:
      interfaces:
        - enp1s0.200
      dhcp4: no
      parameters:
        forward-delay: 0
        stp: false
        max-age: 1


Now both the machines are able to ping each other. They are connected over a private Wifi network . I am able to ssh from Mac into Ubuntu .

My problem is occurring when I am adding Host . While adding Host I am inputting the <IP address of KVM Machine> . But it is giving Error 503 that no service resource found at http://ipaddress .

Please guide if I am missing something or doing something wrong. 
P.S. I am new to everything cloud and if you are thinking that I should already be knowing that and not mentioning it in your answer please do mention it .

GitHub link: https://github.com/apache/cloudstack/discussions/9319

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org