Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Promenade certificate generation failed #20

Open
Satyanarayanatalluri opened this issue Feb 22, 2018 · 0 comments
Open

Promenade certificate generation failed #20

Satyanarayanatalluri opened this issue Feb 22, 2018 · 0 comments

Comments

@Satyanarayanatalluri
Copy link

We are trying to deploy ucp and getting an error.

warnings:

2018-02-22 11:27:11,359 INFO - - - promenade.config:init [ 26] Rendering documents via Deckhand engine.
2018-02-22 11:27:18,782 WARNING - - - deckhand.engine.secrets_manager:substitute_all [188] Could not find substitution source document [deckhand/CertificateAuthority/v1] calico-etcd among the provided substitution_sources.
2018-02-22 11:27:18,823 WARNING - - - deckhand.engine.secrets_manager:substitute_all [188] Could not find substitution source document [deckhand/CertificateAuthority/v1] calico-etcd-peer among the provided substitution_sources.
2018-02-22 11:27:18,869 WARNING - - - deckhand.engine.secrets_manager:substitute_all [188] Could not find substitution source document [deckhand/Certificate/v1] calico-etcd-anchor among the provided substitution_sources.
2018-02-22 11:27:18,913 WARNING - - - deckhand.engine.secrets_manager:substitute_all [188] Could not find substitution source document [deckhand/CertificateKey/v1] calico-etcd-anchor among the provided substitution_sources.
2018-02-22 11:27:18,953 WARNING - - - deckhand.engine.secrets_manager:substitute_all [188] Could not find substitution source document [deckhand/Certificate/v1] calico-etcd-kubemaster among the provided substitution_sources.
2018-02-22 11:27:18,999 WARNING - - - deckhand.engine.secrets_manager:substitute_all [188] Could not find substitution source document [deckhand/CertificateKey/v1] calico-etcd-kubemaster among the provided substitution_sources.
2018-02-22 11:27:19,046 WARNING - - - deckhand.engine.secrets_manager:substitute_all [188] Could not find substitution source document [deckhand/Certificate/v1] calico-etcd-kubemaster-peer among the provided substitution_sources.
2018-02-22 11:27:19,089 WARNING - - - deckhand.engine.secrets_manager:substitute_all [188] Could not find substitution source document [deckhand/CertificateKey/v1] calico-etcd-kubemaster-peer among the provided substitution_sources.

Error message:
2018-02-22 11:27:22,494 INFO - - - promenade.config:init [ 30] Deckhand engine returned 25 documents.
Traceback (most recent call last):
File "/usr/local/bin/promenade", line 10, in
sys.exit(promenade())
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/opt/promenade/promenade/cli.py", line 62, in genereate_certs
g.generate(output_dir)
File "/opt/promenade/promenade/generator.py", line 88, in generate
additional_hosts=['etcd.kubernetes.promenade'])
File "/opt/promenade/promenade/generator.py", line 131, in gen_etcd_certificates
**service_args)
File "/opt/promenade/promenade/generator.py", line 169, in _gen_single_etcd
'certificate', member_name, ca=ca, cn=member_name, hosts=hosts)
File "/opt/promenade/promenade/generator.py", line 107, in gen
self.documents.extend(method(*args, **kwargs))
File "/opt/promenade/promenade/pki.py", line 69, in generate_certificate
'csr.json': self.csr(name=cn, groups=groups, hosts=hosts),
File "/opt/promenade/promenade/pki.py", line 90, in csr
} for g in groups],
File "/usr/local/lib/python3.6/json/init.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/usr/local/lib/python3.6/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/local/lib/python3.6/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/usr/local/lib/python3.6/json/encoder.py", line 180, in default
o.class.name)
**TypeError: Object of type 'StrictUndefined' is not JSON serializable

  • [[ 1 -ne 0 ]]
  • echo 'Promenade certificate generation failed.'
    Promenade certificate generation failed.**
  • exit
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant