Using maas+juju to deploy openstack,I can't run 02-maasdeploy.sh successfully.

zhangyuanyou zhangyuanyou at huawei.com
Sat Dec 5 02:35:23 UTC 2015


Hi  Artur Tyloch,
   I'm working on maas+juju to deploy openstack,now I edit the 02-maasdeploy.sh and excute it.
But this line "maas-deployer -c deployment.yaml -d --force" can't pass ,it always let me to input the password like this:

2015-12-04 17:45:54,032 DEBUG Executing: 'virt-install --connect qemu:///system --name opnfv-maas-intel --ram 4096 --vcpus 4 --disk vol=default/opnfv-maas-intel-root.img,format=qcow2,bus=virtio,io=native --disk vol=default/opnfv-maas-intel-seed.img,format=raw,bus=virtio,io=native --network bridge=brAdm,model=virtio --network bridge=brData,model=virtio --network bridge=brPublic,model=virtio --noautoconsole --vnc --import' stdin=''
2015-12-04 17:45:55,145 DEBUG Executing: 'virsh -c qemu:///system autostart opnfv-maas-intel' stdin=''
2015-12-04 17:45:55,162 DEBUG Waiting for MAAS vm to come up for ssh..
2015-12-04 17:45:55,163 DEBUG Using ip address specified: 192.168.212.140
2015-12-04 17:45:55,163 DEBUG Executing: 'ssh -i /root/.ssh/id_maas -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root at 192.168.212.140<mailto:root at 192.168.212.140> true' stdin=''
root at 192.168.212.140's<mailto:root at 192.168.212.140's> password:

I edited the file deployment.yaml like this:
demo-maas:
    maas:
        # Defines the general setup for the MAAS environment, including the
        # username and password for the host as well as the MAAS server.
        user: root
        password: root

        # Contains the virtual machine parameters for creating the MAAS virtual
        # server. Here you can configure the name of the virsh domain, the
        # parameters for how the network is attached.
        name: opnfv-maas-intel
        interfaces: ['bridge=brAdm,model=virtio','bridge=brData,model=virtio','bridge=brPublic,model=virtio']
        memory: 4096
        vcpus: 4
        arch: amd64
        pool: default
        disk_size: 160G

        # Apt http proxy setting(s)
        apt_http_proxy:

        apt_sources:
          - ppa:maas/stable
          - ppa:juju/stable

        # Virsh power settings
        # Specifies the uri and keys to use for virsh power control of the
        # juju virtual machine. If the uri is omitted, the value for the
        # --remote is used. If no power settings are desired, then do not
        # supply the virsh block.
        virsh:
            rsa_priv_key: /home/ubuntu/.ssh/id_rsa
            rsa_pub_key: /home/ubuntu/.ssh/id_rsa.pub
#            uri: qemu+ssh://ubuntu@10.4.1.1/system

        # Defines the IP Address that the configuration script will use to
        # to access the MAAS controller via SSH.
        ip_address: 192.168.212.140

Could you help me to resolve the question ? Any assistance is greatly appreciated.

Thanks.
Yuanyou


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20151205/e6379a87/attachment.html>


More information about the Juju mailing list