Jump to content
XPEnology Community

VMM cannot create cluster


Gilu

Recommended Posts

Hi, im trying to create virtual machine om my xpenology installation but every time im running wizard i got something like "Cannot create the cluster" messag.

In /var/log/messages i have following output:

 

2018-01-22T13:38:01+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create_SYNO.CCC.Cluster_1_create[31376]: ccc/host.cpp:1991 Start to create cluster
2018-01-22T13:38:01+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create_SYNO.CCC.Cluster_1_create[31376]: ccc/host.cpp:1775 Start check before host init or modify etcd ip
2018-01-22T13:38:01+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/host.cpp:2002 OVS is running, skip register OVS
2018-01-22T13:38:01+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/host.cpp:2014 Cluster init start
2018-01-22T13:38:02+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/host.cpp:2688 ccc/host.cpp:CCCLocalhostCleanup:1366: Start to pause all services
2018-01-22T13:38:02+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-synovncrelayd ...[1]
2018-01-22T13:38:02+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-synohostcmdd ...[1]
2018-01-22T13:38:02+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-synohostcommd ...[1]
2018-01-22T13:38:02+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-synocccd ...[1]
2018-01-22T13:38:02+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-libvirtd ...[1]
2018-01-22T13:38:02+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-etcd_hyper ...[1]
2018-01-22T13:38:02+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-etcd ...[1]
2018-01-22T13:38:02+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-synocccstated ...[1]
2018-01-22T13:38:02+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-synocccstated ...[0]
2018-01-22T13:38:02+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-etcd ...[0]
2018-01-22T13:38:02+01:00 Karmelita_NAS synocccstated: synocccstated.cpp:101 start with empty data
2018-01-22T13:38:04+01:00 Karmelita_NAS dhclient: send_packet6: Network is unreachable
2018-01-22T13:38:04+01:00 Karmelita_NAS dhclient: dhc6: send_packet6() sent -1 of 32 bytes
2018-01-22T13:38:10+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/utils.cpp:190 Failed to get MyDS Account.
2018-01-22T13:38:10+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/host.cpp:537 Start to init host with id: f1588327-af5e-4ee1-ad4b-110ba2d627da
2018-01-22T13:38:10+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/utils.cpp:173 Failed to get first mac of DS.
2018-01-22T13:38:10+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/host.cpp:568 Failed to get the first mac address.
2018-01-22T13:38:10+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/host.cpp:2078 Failed to add host info to dashboard
2018-01-22T13:38:10+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/host.cpp:2187 Rollback create cluster
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/host.cpp:2688 ccc/host.cpp:CCCDBClusterCreate:2192: Start to pause all services
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-synovncrelayd ...[1]
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-synohostcmdd ...[1]
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-synohostcommd ...[1]
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-synocccd ...[1]
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-libvirtd ...[1]
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-etcd_hyper ...[1]
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-etcd ...[1]
2018-01-22T13:38:11+01:00 Karmelita_NAS [240351.908278] init: pkg-etcd main process (31415) killed by TERM signal
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/service.cpp:251 service pkg-synocccstated ...[1]
2018-01-22T13:38:11+01:00 Karmelita_NAS [240352.071895] init: pkg-synocccstated main process (31408) killed by TERM signal
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/host.cpp:1873 OVS is not enabled by virtualization, skip unregister
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: Cluster/cluster.cpp:291 Failed to create cluster, [401]
2018-01-22T13:38:11+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: Cluster/Cluster.cpp:64 Bad response [{"error":{"code":401},"httpd_restart":false,"success":false}]/ request [{"addr":"127.0.0.1","api":"SYNO.CCC.Cluster","method":"create","version":1,"volume_paths":["/volume1"]}]

What could be the problem? 

The cluster creation stops just after this screen:

image.thumb.png.d73ab635e746ca16a1b7edd921e850fc.png

And it appears no matter if i turn VSwitch on or off.

 

Any ideas?

Link to comment
Share on other sites

On 1/22/2018 at 7:58 PM, Gilu said:

2018-01-22T13:38:04+01:00 Karmelita_NAS dhclient: send_packet6: Network is unreachable
2018-01-22T13:38:04+01:00 Karmelita_NAS dhclient: dhc6: send_packet6() sent -1 of 32 bytes
2018-01-22T13:38:10+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/utils.cpp:190 Failed to get MyDS Account.
2018-01-22T13:38:10+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/host.cpp:537 Start to init host with id: f1588327-af5e-4ee1-ad4b-110ba2d627da
2018-01-22T13:38:10+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/utils.cpp:173 Failed to get first mac of DS.
2018-01-22T13:38:10+01:00 Karmelita_NAS synoscgi_SYNO.Virtualization.Cluster_1_create[31376]: ccc/host.cpp:568 Failed to get the first mac 

 

The above logs are the ones of interest I think. DSM seems to be checking if you have a DS Account (i.e. a valid Serial number) and also checks for a MAC address. I can't say for sure but this look like Synology is using serial and mac validity prior creating the cluster. Maybe I'm wrong so if anyone want to chime in please do so.

Link to comment
Share on other sites

  • 2 months later...

Did anyone resolve this?  I'm moving from esxi hosted to baremetal but would like VMM to  enable local hosting of certain VMs that are integral to the safe shutdown of my homelab... I'm just playing with this and I'm getting teh same outputs; that it fails to get the first MAC.  I was using a generated MAC for the four NICs, but should I use the actual MAC of the quad 1GBe network card?  Do I need a corresponding serial and if so, how do you generate it based on the MAC rather than the other way around?

 

Thanks!

 

Chris

Link to comment
Share on other sites

  • 2 years later...
  • 5 months later...

Hi,

 

i've the same issue. 

 

Failed to get MyDS Account.
Start to init host with id: 21a71f7b-9592-4498-be9a-05cfac29d3e6
Failed to get first mac of DS.
Failed to get the first mac address.
Failed to add host info to dashboard
Rollback create cluster

 

 

mac address is ok for me 

 

3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP qlen 1000
    link/ether f4:8e:38:bb:c2:00 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::f68e:38ff:febb:c200/64 scope link
       valid_lft forever preferred_lft forever
4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master ovs-system state UP qlen 1000
    link/ether 00:10:18:14:30:21 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::210:18ff:fe14:3021/64 scope link
       valid_lft forever preferred_lft forever

 

set sn=A8ODN02468
set mac1=f48e38bbc200
set mac2=001018143021

 

for information the network cards are in LACP

if anyone can help me

 

thanks in advance

Edited by albebert
Link to comment
Share on other sites

  • 6 months later...
  • 4 months later...

Same issue. Install Virtual Machine Manager. Enabled "Open vSwitch" and "ARP Ignore". I hit next and it comes back with, "Failed to Create Cluster". I've removed it, rebooted and readded it. Still same thing. Looking for root solution. If I know how to read the logs to that - I would. Any idea if it's /var/logs/ ***something***?  I can post if so.

Link to comment
Share on other sites

Same issue. Install Virtual Machine Manager. Enabled "Open vSwitch" and "ARP Ignore". I hit next and it comes back with, "Failed to Create Cluster". I've removed it, rebooted and re-added it. Still same thing. Looking for root solution. If I know how to read the logs to that - I would. Any idea if it's /var/logs/[blahblah]?  I can post if so. 

Link to comment
Share on other sites

2 hours ago, Krysus said:

Same issue. Install Virtual Machine Manager. Enabled "Open vSwitch" and "ARP Ignore". I hit next and it comes back with, "Failed to Create Cluster". I've removed it, rebooted and re-added it. Still same thing. Looking for root solution. If I know how to read the logs to that - I would. Any idea if it's /var/logs/[blahblah]?  I can post if so. 

 

Found Solution (but couldn't edit my comment)

Same issue. Install Virtual Machine Manager. Enabled "Open vSwitch" and "ARP Ignore". I hit next and it comes back with, "Failed to Create Cluster". I've removed it, rebooted and re-added it. Still same thing. 

Solution for me was this. I checked my original IMG file I made. I didn't have the right MAC address. Made a backup of my IMG file (please do!) Updated the MAC address (using OFMount), Re-Created my USB boot. Booted. Had to find it with Synology Assistant. Showed "recoverable", asked to reboot. I did and Virtual Machine Manager now created the cluster no problem!

 

 

Edited by Krysus
  • Thanks 1
Link to comment
Share on other sites

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...