Hello,

Another Linux guy who just installed hist first SDC7 headnode here...

The part about custom images is optional and can be postponed IMHO, as you can 
begin to use SDC7 with the various images provided by joyent.

About the part "Image Management in a Local Manta", I guess it requires the 
setup of a local manta... So early in the process you may  have no choice but 
to install your custom image in the local storage of the head node..

Regards, Luc.


----- Mail original -----
De: "apg" <[email protected]>
À: [email protected]
Envoyé: Mercredi 8 Avril 2015 03:05:05
Objet: [smartos-discuss] SDC 7 head node install 

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/27034785-c3a8e30e
Modify Your Subscription: https://www.listbox.com/member/?&;
Powered by Listbox: http://www.listbox.com

_______________________________________________________________________
Le SITIV décline toute responsabilité quant au contenu de ce message. Ce
message et les pièces jointes qui y sont attachées sont confidentiels et
établis à  l'attention exclusive de leur destinataire. Si vous pensez l'avoir
reçu par erreur, merci de bien vouloir en aviser immédiatement l'expéditeur,
de ne pas l'utiliser sous quelque forme que ce soit et de le détruire
immédiatement. Toute divulgation, utilisation, diffusion ou reproduction du
message ou des informations qu'il contient doit être préalablement autorisée
par l'expéditeur.


-------------------------------------------
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