how to tag Packer builder nodes while building oracle image

35 views
Skip to first unread message

manju...@qubole.com

unread,
Feb 26, 2019, 1:19:14 AM2/26/19
to Packer
Hi All,

I am using packer version 1.0.0 ,  is there a way to tag the packer builder nodes with the tags.
With this packer version I am currently able to tag aws/azure/gcp images but not oracle.

is there a way tag packer builder nodes while creating oracle image.
I am using 'oracle-oci' builder to bake oracle ami.

Thanks!
Manjunath

Frank Dias

unread,
Feb 26, 2019, 4:56:04 PM2/26/19
to packe...@googlegroups.com
First, update your packer, you are on an old version. Currently on 1.3.4

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/0d98800c-a7da-42e4-a119-b9e2752b1d35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

manju...@qubole.com

unread,
Feb 27, 2019, 1:07:52 AM2/27/19
to Packer
Frank,

Thanks for replying !!
Sure I am aware of the fact that our packer version is old. Upgrading it to newer version is a big process in our organisation.
Provided, with this packer version (1.0.0) "tags" are supported for other cloud vendors (aws,azure, gcp). Is it supported for oracle as well ?
Getting below error :

1551080860,,ui,error,Failed to mapstructure Config: 1 error(s) occurred:\n\n* unknown configuration key: "metadata"
1551084512,,ui,error,Failed to mapstructure Config: 1 error(s) occurred:\n\n* unknown configuration key: "attributes"
1551084759,,ui,error,Failed to mapstructure Config: 1 error(s) occurred:\n\n* unknown configuration key: "tags"


Regards,
Manjunath

Frank Dias

unread,
Feb 27, 2019, 1:41:00 AM2/27/19
to packe...@googlegroups.com
Manjunath,

I am not familiar with that builder, but looking through source I did not find a reference to tags. I could have missed it as I did a quick look.

Frank

Frank Dias

unread,
Feb 27, 2019, 1:43:28 AM2/27/19
to packe...@googlegroups.com
I did find a reference in Aug 28 2018 about adding support for freeform tagging of images. So you will need to check on the version of the builder you are using then.

On Wed, Feb 27, 2019, 12:07 AM <manju...@qubole.com> wrote:

manju...@qubole.com

unread,
Feb 27, 2019, 4:40:25 AM2/27/19
to Packer
Frank,

Yes .. 

I think you referred this link https://github.com/hashicorp/packer/pull/6338 where it says this feature is available from v1.3.0 onwards in oracle.
can you please confirm on that  ?

Frank Dias

unread,
Feb 27, 2019, 9:03:27 AM2/27/19
to packe...@googlegroups.com
Sorry I did not use the oracle builder, maybe someone else might be better to answer your question.

Rickard von Essen

unread,
Feb 27, 2019, 10:07:06 AM2/27/19
to packe...@googlegroups.com

manju...@qubole.com

unread,
Feb 28, 2019, 12:53:37 AM2/28/19
to Packer
No Issues Frank !! Thanks for your replies.

Rickard,

Thanks for confirming !!
Reply all
Reply to author
Forward
0 new messages