-
Notifications
You must be signed in to change notification settings - Fork 38
02. Compute: Nova
AJ NOURI edited this page Feb 2, 2017
·
17 revisions
- (Keypair) From demo account, generate a public keypair named mypubkey1 for use with openstack instances
- (Flavor) From admin account, create a new flavor named m1.extra_tiny with
- RAM: 64mb
- Root disk size: 0
- cpu: 1
- Allow the tenant (project) "demo" to access the flavor
- Add new rules to the default security group "default" to allow access instances from internet through SSH, http and ICMP.
- Create a pair key with ssh-keygen (we want to have a keypair created outside of openstack). Now, add the created key with openstack with name "mykey1"
- This time, create a pair key directly with openstack and name it "mykey2"
- Provision the following instance
- image: cirros-0.3.4-x86_64-uec
- flavor: m1.tiny
- keypair: mykey1
- security group: default
- Log to the machine console using the keypair mykey1
- Make sure tenant demo have the following limits
- 15 backups
- 15 000 gigabytes
- 15 networks
- 15 subnets
- Make sure the user demo from tenant demo have the following limits
- 15 cpu cores 15
- floating ips
- Using p1_user1/openstack, check that project1 cannot create more instances
- Make sure that users in project1 can create 2 more instances
- Check that the new quotas is also applied for user=p1_user2,pass=openstack
- We want user=p2_user1,pass=openstack is able to create only 2 floating ips, but 5 floating ips for user=p2_user2,pass=openstack