agilestacks / components

Stack components in Hub format
Apache License 2.0
8 stars 2 forks source link

EFS component on imported cluster #100

Closed ghost closed 6 years ago

ghost commented 6 years ago

Can not deploy EFS component on imported cluster (K8S or EKS)

2018/07/10 13:57:43 deploy ***efs*** (4/13)
2018/07/10 13:57:43 Parameters flattened (efs):
2018/07/10 13:57:43         :component.efs.name|efs => `${dns.domain}` (env:COMPONENT_NAME)
2018/07/10 13:57:43         :component.efs.subnet|efs => `${cloud.vpc.worker.subnet.id}` (env:TF_VAR_subnet)
2018/07/10 13:57:43         :component.efs.sgs|efs => `${cloud.vpc.master.sg.id},${cloud.vpc.worker.sg.id}` (env:TF_VAR_sgs)
2018/07/10 13:57:43         :component.efs.performanceMode|efs => `generalPurpose` (env:TF_VAR_performance_mode)
2018/07/10 13:57:43         :component.efs.cname.zone|efs => `i.${dns.domain}` (env:TF_VAR_cname_zone)
2018/07/10 13:57:43         :component.efs.cname.record|efs => `nfs` (env:TF_VAR_cname_record)
2018/07/10 13:57:43         :dns.domain|efs => `` (env:DOMAIN_NAME)
2018/07/10 13:57:43         :bin.terraform|efs => `terraform-v0.11` (env:terraform)
2018/07/10 13:57:43         :terraform.bucket.name|efs => `` (env:STATE_BUCKET)
2018/07/10 13:57:43         :terraform.bucket.region|efs => `` (env:STATE_REGION)
2018/07/10 13:57:43 --- component.efs.name|efs `${dns.domain}` => `iglyeks.igly1646690e87c.kubernetes.delivery`
2018/07/10 13:57:43 --- component.efs.subnet|efs `${cloud.vpc.worker.subnet.id}` => `(unknown)`
2018/07/10 13:57:43 --- component.efs.sgs|efs `${cloud.vpc.master.sg.id},${cloud.vpc.worker.sg.id}` => `(unknown),(unknown)`
2018/07/10 13:57:43 --- component.efs.cname.zone|efs `i.${dns.domain}` => `i.iglyeks.igly1646690e87c.kubernetes.delivery`
2018/07/10 13:57:43 Parameters expanded:
2018/07/10 13:57:43     component.name => `efs`
2018/07/10 13:57:43     component.efs.name => `iglyeks.igly1646690e87c.kubernetes.delivery` (env:COMPONENT_NAME)
2018/07/10 13:57:43     component.efs.subnet => `(unknown)` (env:TF_VAR_subnet)
2018/07/10 13:57:43     component.efs.sgs => `(unknown),(unknown)` (env:TF_VAR_sgs)
2018/07/10 13:57:43     component.efs.performanceMode => `generalPurpose` (env:TF_VAR_performance_mode)
2018/07/10 13:57:43     component.efs.cname.zone => `i.iglyeks.igly1646690e87c.kubernetes.delivery` (env:TF_VAR_cname_zone)
2018/07/10 13:57:43     component.efs.cname.record => `nfs` (env:TF_VAR_cname_record)
2018/07/10 13:57:43     dns.domain => `iglyeks.igly1646690e87c.kubernetes.delivery` (env:DOMAIN_NAME)
2018/07/10 13:57:43     bin.terraform => `terraform-v0.11` (env:terraform)
2018/07/10 13:57:43     terraform.bucket.name => `(unknown)` (env:STATE_BUCKET)
2018/07/10 13:57:43     terraform.bucket.region => `(unknown)` (env:STATE_REGION)
2018/07/10 13:57:43 Currently known stack parameters:
2018/07/10 13:57:43     cloud.availabilityZone => `eu-central-1a`
2018/07/10 13:57:43     cloud.awsAccountNumber => `957622438981`
2018/07/10 13:57:43     cloud.bucket => `files.iglyeks.igly1646690e87c.kubernetes.delivery`
2018/07/10 13:57:43     cloud.lockTable => `agilestacks.igly1646690e87c.kubernetes.delivery`
2018/07/10 13:57:43     cloud.lockTableArn => `arn:aws:dynamodb:us-east-2:973998981304:table/agilestacks.igly1646690e87c.kubernetes.delivery`
2018/07/10 13:57:43     cloud.provider => `aws`
2018/07/10 13:57:43     cloud.region => `eu-central-1`
2018/07/10 13:57:43     cloud.region|jenkins => `eu-central-1`
2018/07/10 13:57:43     cloud.region|jenkins-iam-role => `eu-central-1` (env:AWS_DEFAULT_REGION)
2018/07/10 13:57:43     cloud.s3BucketName => `agilestacks.igly1646690e87c.kubernetes.delivery`
2018/07/10 13:57:43     cloud.s3BucketRegion => `eu-central-1`
2018/07/10 13:57:43     cloud.sshKey => `agilestacks`
2018/07/10 13:57:43     component.efk.logRetention => `7`
2018/07/10 13:57:43     component.efk.memory => `2`
2018/07/10 13:57:43     component.efk.nodes => `3`
2018/07/10 13:57:43     component.efk.storage => `100`
2018/07/10 13:57:43     component.ingress.fqdn => `app.iglyeks.igly1646690e87c.kubernetes.delivery`
2018/07/10 13:57:43     component.ingress.protocol => `http`
2018/07/10 13:57:43     component.ingress.ssl.enabled => `false`
2018/07/10 13:57:43     component.ingress.ssl.protocol => `http`
2018/07/10 13:57:43     component.ingress.ssoFqdn => `apps.iglyeks.igly1646690e87c.kubernetes.delivery`
2018/07/10 13:57:43     component.ingress.ssoUrlPrefix => `apps`
2018/07/10 13:57:43     component.ingress.urlPrefix => `app`
2018/07/10 13:57:43     component.jenkins.instances => `jenkins`
2018/07/10 13:57:43     component.jenkins.namespaces => `applications`
2018/07/10 13:57:43     component.kubeflow.githubToken => ``
2018/07/10 13:57:43     component.mongodb.database|mongodb => `mongodb`
2018/07/10 13:57:43     component.mongodb.password|mongodb => `mongodb`
2018/07/10 13:57:43     component.mongodb.storageType|mongodb => `ebs`
2018/07/10 13:57:43     component.mongodb.user|mongodb => `mongodb`
2018/07/10 13:57:43     component.mongodb.volumeSize|mongodb => `8Gi`
2018/07/10 13:57:43     component.mongodb.volumeType|mongodb => `gp2`
2018/07/10 13:57:43     component.postgresql.database|postgresql => `postgres`
2018/07/10 13:57:43     component.postgresql.password|postgresql => `postgres`
2018/07/10 13:57:43     component.postgresql.storageType|postgresql => `ebs`
2018/07/10 13:57:43     component.postgresql.user|postgresql => `postgres`
2018/07/10 13:57:43     component.postgresql.volumeSize|postgresql => `8Gi`
2018/07/10 13:57:43     component.postgresql.volumeType|postgresql => `gp2`
2018/07/10 13:57:43     component.redis.ha.enabled => `false`
2018/07/10 13:57:43     component.redis.ha.master => `1`
2018/07/10 13:57:43     component.redis.ha.sentinel => `3`
2018/07/10 13:57:43     component.redis.ha.slave => `1`
2018/07/10 13:57:43     component.redis.usePassword => `false`
2018/07/10 13:57:43     component.redis.volume.size => `8`
2018/07/10 13:57:43     component.sysdig.agentTags => ``
2018/07/10 13:57:43     dns.baseDomain => `igly1646690e87c.kubernetes.delivery`
2018/07/10 13:57:43     dns.baseDomainZoneId => `Z185B4179OISR7`
2018/07/10 13:57:43     dns.domain => `iglyeks.igly1646690e87c.kubernetes.delivery`
2018/07/10 13:57:43     dns.name => `all-components`
2018/07/10 13:57:43     dns.parentDomainZoneId => `ZXCHKWDIQWHQM`
2018/07/10 13:57:43     hub.deploymentId => `5e8ded1f-95b7-4e80-b31c-a53a8bb84473` (env:DEPLOYMENT_ID)
2018/07/10 13:57:43     hub.stackName => `all-components` (env:STACK_NAME)
2018/07/10 13:57:43     kubernetes.api.caCert => `-----BEGIN CERTIFICATE-----\nMIICyDCCAbCgAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl\ncm5ld...`
2018/07/10 13:57:43     kubernetes.api.clientCert => ``
2018/07/10 13:57:43     kubernetes.api.clientKey => ``
2018/07/10 13:57:43     kubernetes.api.endpoint => `7E93F66E516B7F1E7B0D5A1F2E4BDA90.sk1.us-east-1.eks.amazonaws.com`
2018/07/10 13:57:43     kubernetes.eks.cluster => `iglyeks`
2018/07/10 13:57:43     kubernetes.flavor => `eks`
2018/07/10 13:57:43 Currently known outputs:
2018/07/10 13:57:43     postgresql-pgweb:component.pgweb.url => `http://postgresql-pgweb.apps.iglyeks.igly1646690e87c.kubernetes.delivery`
2018/07/10 13:57:43     postgresql-pgweb:hub.components.postgresql-pgweb.git.clean => `not calculated`
2018/07/10 13:57:43     postgresql-pgweb:hub.components.postgresql-pgweb.git.ref => `refs/heads/master 8baf331`
2018/07/10 13:57:43     postgresql:component.postgresql.host => `postgresql-postgresql.postgresql.svc.cluster.local`
2018/07/10 13:57:43     postgresql:component.postgresql.port => `5432`
2018/07/10 13:57:43     postgresql:component.postgresql.user => `postgres`
2018/07/10 13:57:43     postgresql:hub.components.postgresql.git.clean => `not calculated`
2018/07/10 13:57:43     postgresql:hub.components.postgresql.git.ref => `refs/heads/master 8baf331`
2018/07/10 13:57:43 Component `efs` failed to deploy
2018/07/10 13:57:43 WARN: Component `efs` parameters expansion failed:
    Parameter `component.efs.sgs|efs` value `${cloud.vpc.master.sg.id},${cloud.vpc.worker.sg.id}` refer to unknown substitution `cloud.vpc.master.sg.id` at depth 0
    Parameter `component.efs.sgs|efs` value `${cloud.vpc.master.sg.id},${cloud.vpc.worker.sg.id}` refer to unknown substitution `cloud.vpc.worker.sg.id` at depth 0
    Parameter `component.efs.subnet|efs` value `${cloud.vpc.worker.subnet.id}` refer to unknown substitution `cloud.vpc.worker.subnet.id` at depth 0
    Parameter `terraform.bucket.name|efs` value cannot be derived from stack parameters nor outputs
    Parameter `terraform.bucket.region|efs` value cannot be derived from stack parameters nor outputs
akranga commented 6 years ago

Adapter stack must provice source for: