[
https://issues.apache.org/jira/browse/CLOUDSTACK-9252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15127603#comment-15127603
]
ASF GitHub Bot commented on CLOUDSTACK-9252:
--------------------------------------------
Github user nvazquez commented on the pull request:
https://github.com/apache/cloudstack/pull/1361#issuecomment-178346694
@rafaelweingartner thanks for your reply!
I'm familiar to Spring, I've worked with it, I know how it works but I
wouldn't say I know it in depth. If you don't mind I would find your detailed
explanation really helpful for this feature and future tasks.
About bean injection in <code>TemplateServiceImpl</code>, I first tryied
<code>@Inject</code> annotation, but ACS couldn't start because it couldn't
find a bean of type <code>ImageStoreDetailsUtil</code>. I had the same issue
with <code>@Autowired</code> annotation. The only solution I could find was
adding bean in xml context file.
I agree with you about not extending <code>Manager</code> interface, I saw
it was always done like that and just followed the pattern. I will remove that
from <code>ImageStoreDetailsUtil</code>
I could start ACS but didn't fully test <code>Vmware*</code> classes. I
would try to get the context and then the bean from it as you suggested.
Thanks a lot for your help!
> Support configurable NFS version for Secondary Storage mounts
> -------------------------------------------------------------
>
> Key: CLOUDSTACK-9252
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9252
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: VMware
> Reporter: Nicolas Vazquez
>
> After starting secondary storage VM, secondary storage tries to be mounted
> but fails with error: {{Protocol family not supported}}
> It was found out that adding {{-o vers=X}} to mount command it would work,
> where {{X}} is the desired NFS version to use.
> If it is desired to mount a store with a specific NFS version, it has passed
> in {{image_store_details}} table for a store with id {{Y}} as a property:
> ||store_id||||name||value||
> |Y|nfs.version|X|
> Where X stands for NFS version
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)