Skip to content
This repository was archived by the owner on Nov 29, 2017. It is now read-only.
This repository was archived by the owner on Nov 29, 2017. It is now read-only.

bosh-init fails at Parsing private key file '/home/.../ssh/firstbosh': asn1: structure error: superfluous leading zeros in length #278

@ghost

Description

Hi,

I am trying to deploy cloud foundry on openstack using bosh-init. It fails at

Deployment manifest: '/home/..../my-bosh/bosh-init.yml'
Deployment state: '/home/.../my-bosh/bosh-init-state.json'

Started validating
  Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)
  Validating release 'bosh'... Finished (00:00:22)
  Downloading release 'bosh-openstack-cpi'... Skipped [Found in local cache] (00:00:00)
  Validating release 'bosh-openstack-cpi'... Finished (00:00:02)
  Validating cpi release... Finished (00:00:00)
  Validating deployment manifest... Finished (00:00:00)
  Validating stemcell... Finished (00:01:04)
Finished validating (00:01:31)

Started installing CPI
  Compiling package 'ruby_openstack_cpi/84c20c88359d95e823178ff973ed1efaa1cec61b'... Finished (00:00:00)
  Compiling package 'bosh_openstack_cpi/fc4bc63ea33af8f753bd7dc0606f976135b69ac3'... Finished (00:00:00)
  Installing packages... Finished (00:00:14)
  Rendering job templates... Finished (00:00:03)
  Installing job 'openstack_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:18)

Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-openstack-kvm-ubuntu-trusty-go_agent/3143'... Skipped [Stemcell already uploaded] (00:00:00)

Started deploying
  Creating VM for instance 'bosh/0' from stemcell '7a19ac57-bcc5-49ad-bc86-3480e7cfb5d3'... Finished (00:01:27)
  Waiting for the agent on VM '40330128-3f8e-43a1-8ba9-ca79f468260e' to be ready... Failed (00:00:01)
Failed deploying (00:01:29)

Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)

Command 'deploy' failed:
  Deploying:
    Creating instance 'bosh/0':
      Waiting until instance is ready:
        Starting SSH tunnel:
          Parsing private key file '/home/.../ssh/firstbosh':
            asn1: structure error: superfluous leading zeros in length```

Does anybody know how to get rid of this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions