Itzikr
Enthusiast
Enthusiast

Getting "Unable to create file share" error

Hi

i created a share folder , modified it's permission to "everyone" - > full control and copied the appstack to it

but for some reason, when i try to create the share i get that error.. "Unable to create file share"

anything that i missed?

Itzik Reich
0 Kudos
4 Replies
Jason_Marshall
VMware Employee
VMware Employee

Have you looked at the log to see what the specific error is? just go to the same URL as horizonadmin but go to :3443/log.

Also any firewall?

And sounds cliche but have you tried rebooting the OVA?

0 Kudos
Lyghtnin
Enthusiast
Enthusiast

I'm getting the same thing so if you get a fix, please post. Here are my logs:

[2016-04-28 19:51:24 UTC] P14055R64 INFO Started POST "/xms/file_shares" for 127.0.0.1 at 2016-04-28 15:51:24 -0400

[2016-04-28 19:51:24 UTC] P14055R64 INFO Processing by Xms::FileSharesController#create as JSON

[2016-04-28 19:51:24 UTC] P14055R64 INFO Parameters: {"data"=>{"id"=>"1461873084418", "name"=>"Appstacks", "virtual"=>"true", "physical"=>"false", "policies"=>"false", "auto_import"=>"true", "type"=>"FileShare", "status"=>"pending", "status_message"=>"", "path"=>"\\\\ws2k12-uem9\\Applications\\", "local_path"=>"", "hypervisor_ids"=>{"0"=>"1"}, "last_sync"=>"2016-04-28T19:51:24.418Z"}}

[2016-04-28 19:51:24 UTC] P14055R64 INFO Creating directory: "/mnt/wem/__ws2k12_uem9_Applications_"

[2016-04-28 19:51:24 UTC] P14055R64 ERROR Unable to mount file share because: error 1, could not resolve file share address.

[2016-04-28 19:51:24 UTC] P14055R64 ERROR Unable to create file share "//ws2k12-uem9/Applications/"

[2016-04-28 19:51:24 UTC] P14055R64 INFO Completed 400 Bad Request in 248.7ms (Views: 1.1ms | ActiveRecord: 2.6ms)

[2016-04-28 19:51:24 UTC] P14055R64 INFO

0 Kudos
Lyghtnin
Enthusiast
Enthusiast

I realized I didn't have the server where the share was, in DNS so I've added it and it's still not working and the share has Everyone Full Control

[2016-04-28 19:59:19 UTC] P14055R129 INFO Started POST "/xms/file_shares" for 127.0.0.1 at 2016-04-28 15:59:19 -0400

[2016-04-28 19:59:19 UTC] P14055R129 INFO Processing by Xms::FileSharesController#create as JSON

[2016-04-28 19:59:19 UTC] P14055R129 INFO Parameters: {"data"=>{"id"=>"1461873559648", "name"=>"AppVols_Appstacks", "virtual"=>"true", "physical"=>"false", "policies"=>"false", "auto_import"=>"true", "type"=>"FileShare", "status"=>"pending", "status_message"=>"", "path"=>"\\\\ws2k12-uem9\\applications\\", "local_path"=>"", "hypervisor_ids"=>{"0"=>"1"}, "last_sync"=>"2016-04-28T19:59:19.648Z"}}

[2016-04-28 19:59:19 UTC] P14055R129 INFO Creating directory: "/mnt/wem/__ws2k12_uem9_applications_"

[2016-04-28 19:59:20 UTC] P14055R129 ERROR Unable to mount file share because of permission: error 32, File share must be in the given domains.

[2016-04-28 19:59:20 UTC] P14055R129 ERROR Unable to create file share "//ws2k12-uem9/applications/"

[2016-04-28 19:59:20 UTC] P14055R129 INFO Completed 400 Bad Request in 468.2ms (Views: 1.1ms | ActiveRecord: 2.3ms)

[2016-04-28 19:59:20 UTC] P14055R129 INFO

0 Kudos
Itzikr
Enthusiast
Enthusiast

Hi,

the solution was the remove the domain\ in the AD authentication and just put the username itself, once i did it, it started working..

Itzik Reich
0 Kudos