Hi, I hope this is the right place to ask questions for SDC 7?

I just installed my first SDC 7 headnode. I am now here:
https://docs.joyent.com/sdc7/installing-sdc7/post-installation-configuration#CreatingCloudAPI

ran this command:

# sdcadm post-setup cloudapi
cloudapi0 zone created

Then I am suppose to:

"To enable image management in a local manta, you need to log into
the imgapi zone and run the imgapi-manta-setup that is found under
/opt/smartdc/imgapi/bin, passing in the URL for the manta you wish to use (ie,
the value of the MANTA_URL variable that you would use to access it)."

Being a linux guy I had to hunt around for the command:

"zlogin imgapi0"

which netted me:

zlogin: zone 'imgapi0' unknown


sooooo, I grep'd for '/opt/smartdc/imgapi/bin/imgapi-manta-setup' and found the 
zone

zlogin 1c647308-4651-48ba-b0d8-182924859547

[root@1c647308-4651-48ba-b0d8-182924859547 (EME106:imgapi0) ~]#

I guess the first question is, Shirley there has to be a better way. :)

Then I ran:

[root@1c647308-4651-48ba-b0d8-182924859547 (EME106:imgapi0) ~]# 
/opt/smartdc/imgapi/bin/imgapi-manta-setup FIRST-LB

and was greeted with the error:

{"name":"imgapi-manta-setup","hostname":"1c647308-4651-48ba-b0d8-182924859547","pid":49438,"level":30,"msg":"get
 \"sdc\" SAPI 
app","time":"2015-04-08T00:41:54.977Z","src":{"file":"/opt/smartdc/imgapi/bin/imgapi-manta-setup","line":467,"func":"async.series.mantaUrl"},"v":0}
{"name":"imgapi-manta-setup","hostname":"1c647308-4651-48ba-b0d8-182924859547","pid":49438,"level":30,"msg":"determine
 manta 
URL","time":"2015-04-08T00:41:55.225Z","src":{"file":"/opt/smartdc/imgapi/bin/imgapi-manta-setup","line":475,"func":"async.series.key"},"v":0}
{"name":"imgapi-manta-setup","hostname":"1c647308-4651-48ba-b0d8-182924859547","pid":49438,"level":30,"msg":"mantaUrl","time":"2015-04-08T00:41:55.243Z","src":{"file":"/opt/smartdc/imgapi/bin/imgapi-manta-setup","line":478},"v":0}
imgapi-manta-setup: error: Error: no "manta" application found
Error: no "manta" application found
    at /opt/smartdc/imgapi/bin/imgapi-manta-setup:143:29
    at /opt/smartdc/imgapi/node_modules/sdc-clients/lib/restifyclient.js:104:16
    at parseResponse 
(/opt/smartdc/imgapi/node_modules/sdc-clients/node_modules/restify/lib/clients/json_client.js:84:9)
    at IncomingMessage.done 
(/opt/smartdc/imgapi/node_modules/sdc-clients/node_modules/restify/lib/clients/string_client.js:151:17)
    at IncomingMessage.g (events.js:180:16)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)


If any one would be so kind as to point me in the right direction I would be
most thankful.


Thanks!


-al

keepalived




-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to