<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Kaz,<br>
<br>
Thanks for responding.<br>
<br>
I found my mistake the Designate Resource requires that the name
provided be a FQDN<br>
<br>
I was just passing in the name.<br>
<br>
I should look like this<br>
<br>
instance_record:<br>
type: OS::Designate::Record<br>
properties:<br>
data: { get_attr: [ instance, first_address ] }<br>
description: { get_attr: [instance, name] }<br>
domain: { get_param: dns_zone }<br>
name: { list_join: ['.', [{ get_attr: [instance, name] }, {
get_param: dns_zone }]] }<br>
type: "A"<br>
<br>
Thanks <br>
<br>
Lance<br>
<br>
<div class="moz-cite-prefix">On 22.07.17 07:46, Kaz Shinohara wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAD1ca+EhA1KdBP7v_of_4qPEh1PWziy158tyS3+4YNF-cJm4vQ@mail.gmail.com">
<div dir="auto">
<div>Hi Lance,
<div dir="auto"><br>
</div>
<div dir="auto">Just a quick question, have you tried
"depends_on" ?</div>
<div dir="auto">Also looks the error what you got indicates
your posted properties for "instance_record" includes not
supported one.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Regards,</div>
<div dir="auto">Kaz</div>
<br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Jul 22, 2017 1:19 AM, "Lance
Haig" <<a href="mailto:lance@haigmail.com"
moz-do-not-send="true">lance@haigmail.com</a>> wrote:<br
type="attribution">
<blockquote class="quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
<br>
I have the following instance code<br>
<br>
server1:<br>
type: OS::Nova::Server<br>
properties:<br>
name: Server1<br>
image: { get_param: image }<br>
flavor: { get_param: flavor }<br>
key_name: { get_param: key_name }<br>
networks:<br>
- port: { get_resource: server1_port }<br>
<br>
<br>
and I am trying to create a DNS record from the output
of the Instance.<br>
<br>
instance_record:<br>
type: OS::Designate::Record<br>
properties:<br>
data: { get_attr: [ instance, first_address ] }<br>
description: { get_attr: [instance, name] }<br>
domain: { get_param: dns_zone }<br>
name: { get_attr: [instance, name] }<br>
type: "A"<br>
<br>
For some reason it is giving me an error<br>
<br>
resources.instance_stack: Went to status CREATE_FAILED
due to "BadRequest: resources.instance_record: Provided
object does not match schema"<br>
<br>
Is it possible to use the output from Nova Server to
populate the DNS record?<br>
<br>
<br>
Regards<br>
<br>
Lance<br>
<br>
<br>
______________________________<wbr>_________________<br>
Mailing list: <a
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
Post to : <a
href="mailto:openstack@lists.openstack.org"
target="_blank" moz-do-not-send="true">openstack@lists.openstack.org</a><br>
Unsubscribe : <a
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>