You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Phillips (JIRA)" <ji...@apache.org> on 2014/04/15 20:56:43 UTC

[jira] [Updated] (JCLOUDS-120) Having no way to set keyPairName while using pallet to start openstack node

     [ https://issues.apache.org/jira/browse/JCLOUDS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Phillips updated JCLOUDS-120:
------------------------------------

    Fix Version/s:     (was: 1.7.2)
                   1.7.3

> Having no way to set keyPairName while using pallet to start openstack node
> ---------------------------------------------------------------------------
>
>                 Key: JCLOUDS-120
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-120
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>    Affects Versions: 1.5.10, 1.6.0
>         Environment: 1 Openstack Essex
> 2 Pallet 0.7.3
> 3 Ubuntu
>            Reporter: TangYong
>            Priority: Critical
>             Fix For: 1.7.3
>
>         Attachments: computer2.clj.patch
>
>
> a bug from org.jclouds.compute2.clj (jclouds-compute-xxx.jar)
> Needing to add "key-pair-name" into org.jclouds.compute2.clj
> Otherwize, the following will failed
> (use '[pallet.crate.automated-admin-user :only [automated-admin-user]])
> (pallet.core/converge
>   (pallet.core/group-spec "pallet-tang"
>    :count 1
>    :node-spec (pallet.core/node-spec
>                :image {:os-family :ubuntu :image-id
> "RegionOne/7cf21d93-d04a-4fb4-a09b-f546a9461726" :key-pair-name "key2"})
>   :phases {:bootstrap automated-admin-user})
>   :compute (pallet.configure/compute-service :openstack))
> Because
> org.jclouds.openstack.nova.v2_0.compute.options.NovaTemplateOptions has
> a method called "keyPairName(String)" and this method is used for
> setting "--key_name" option.
> Currently, only having the following:
>  (make-option-map
>       kw-memfn-1arg
>       [;; RunScriptOptions
>          :override-login-credentials
>          :override-login-user
>          :override-login-password :override-login-private-key
>          :override-authenticate-sudo
>          
>          :name-task :run-as-root :wrap-in-init-script :block-on-complete
>          :block-on-port
>        ;; TemplateOptions
>          :run-script :install-private-key :authorize-public-key :tags
>        ;; cloudstack
>          :security-group-id :network-id :network-ids :setup-static-nat
>          :ip-on-default-network :ips-to-networks
>        ;; ec2
>          :security-groups :user-data :block-device-mappings
>          :unmap-device-named
>        ;; cloudstack ec2
>          :key-pair
>        ;; aws-ec2
>          :placement-group :subnet-id :spot-price :spot-options
>        ;; cloudstack aws-ec2
>          :security-group-ids
>        ;; softlayer
>          :domain-name
>        ;; trmk-ecloud trmk-vcloudexpress
>          :ssh-key-fingerprint
>        ;; vcloud
>          :description :customization-script :ip-address-allocation-mode])
>     (make-option-map
> ...
> Among them, key-pair is not right method name while mapping into org.jclouds.openstack.nova.v2_0.compute.options.NovaTemplateOptions.



--
This message was sent by Atlassian JIRA
(v6.2#6252)